@Override public Iterator<Item> iterator() { return Iterators.unmodifiableIterator(items.iterator()); }
@Override public Iterator<ShardRouting> iterator() { return Iterators.unmodifiableIterator(shards.iterator()); }
@Override public Iterator<Site> iterator() { return (region == null) ? Iterators.unmodifiableIterator(sites.iterator()) : new RegionIterator(); }
@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()); }
@Override public Iterator<Term> iterator() { return Iterators.unmodifiableIterator(list.iterator()); }
@Override public Iterator<Part> iterator() { return Iterators.unmodifiableIterator(parts.iterator()); }