@Override
 public Iterator<Item> iterator() {
   return Iterators.unmodifiableIterator(items.iterator());
 }
示例#2
0
 @Override
 public Iterator<ShardRouting> iterator() {
   return Iterators.unmodifiableIterator(shards.iterator());
 }
 @Override
 public Iterator<Site> iterator() {
   return (region == null)
       ? Iterators.unmodifiableIterator(sites.iterator())
       : new RegionIterator();
 }
示例#4
0
 @Override
 public Iterator<RoutingNode> iterator() {
   return Iterators.unmodifiableIterator(nodesToShards.values().iterator());
 }
 @Override
 public Iterator<WaveletContainer> iterator() {
   return Iterators.unmodifiableIterator(
       Iterables.concat(localWavelets.values(), remoteWavelets.values()).iterator());
 }
 @Override
 public UnmodifiableIterator<DocumentMapper> iterator() {
   return Iterators.unmodifiableIterator(mappers.values().iterator());
 }
 /**
  * Iterates over the available conventions. No particular ordering is specified and conventions
  * may exist in the system not provided by this factory that aren't included as part of this
  * enumeration.
  *
  * @return the available conventions, not {@code null}
  */
 public Iterator<BusinessDayConvention> enumerateAvailableBusinessDayConventions() {
   return Iterators.unmodifiableIterator(_conventions.iterator());
 }
 @SuppressWarnings("unchecked")
 @Override
 public Iterator<E> iterator() {
   // Safe because the returned Iterator is made unmodifiable
   return (Iterator<E>) Iterators.unmodifiableIterator(delegate.iterator());
 }
示例#9
0
 @Override
 public Iterator<Term> iterator() {
   return Iterators.unmodifiableIterator(list.iterator());
 }
示例#10
0
 @Override
 public Iterator<Part> iterator() {
   return Iterators.unmodifiableIterator(parts.iterator());
 }