|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ShortIterable
A type-specific Iterable
that strengthens that specification of Iterable.iterator()
.
Warning: Java will let you write “colon” for
statements with primitive-type
loop variables; however, what is (unfortunately) really happening is that at each iteration an
unboxing (and, in the case of fastutil
type-specific data structures, a boxing) will be performed. Watch out.
Iterable
Method Summary | |
---|---|
ShortIterator |
iterator()
Returns a type-specific iterator. |
Method Detail |
---|
ShortIterator iterator()
Iterable.iterator()
.
iterator
in interface Iterable<Short>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |