Package gnu.trove.iterator
Interface TIterator
- All Known Subinterfaces:
TAdvancingIterator,TByteByteIterator,TByteCharIterator,TByteDoubleIterator,TByteFloatIterator,TByteIntIterator,TByteIterator,TByteLongIterator,TByteObjectIterator<V>,TByteShortIterator,TCharByteIterator,TCharCharIterator,TCharDoubleIterator,TCharFloatIterator,TCharIntIterator,TCharIterator,TCharLongIterator,TCharObjectIterator<V>,TCharShortIterator,TDoubleByteIterator,TDoubleCharIterator,TDoubleDoubleIterator,TDoubleFloatIterator,TDoubleIntIterator,TDoubleIterator,TDoubleLongIterator,TDoubleObjectIterator<V>,TDoubleShortIterator,TFloatByteIterator,TFloatCharIterator,TFloatDoubleIterator,TFloatFloatIterator,TFloatIntIterator,TFloatIterator,TFloatLongIterator,TFloatObjectIterator<V>,TFloatShortIterator,TIntByteIterator,TIntCharIterator,TIntDoubleIterator,TIntFloatIterator,TIntIntIterator,TIntIterator,TIntLongIterator,TIntObjectIterator<V>,TIntShortIterator,TLongByteIterator,TLongCharIterator,TLongDoubleIterator,TLongFloatIterator,TLongIntIterator,TLongIterator,TLongLongIterator,TLongObjectIterator<V>,TLongShortIterator,TObjectByteIterator<K>,TObjectCharIterator<K>,TObjectDoubleIterator<K>,TObjectFloatIterator<K>,TObjectIntIterator<K>,TObjectLongIterator<K>,TObjectShortIterator<K>,TPrimitiveIterator,TShortByteIterator,TShortCharIterator,TShortDoubleIterator,TShortFloatIterator,TShortIntIterator,TShortIterator,TShortLongIterator,TShortObjectIterator<V>,TShortShortIterator
- All Known Implementing Classes:
THashIterator,THashPrimitiveIterator,TObjectHashIterator
public interface TIterator
Common interface for all iterators used in Trove.
-
Method Summary
-
Method Details
-
hasNext
boolean hasNext()Returns true if the iterator can be advanced past its current location.- Returns:
- a
booleanvalue
-
remove
void remove()Removes the last entry returned by the iterator. The result of invoking this method more than once for a single entry is undefined and can leave the underlying data structure in a confused state.
-