|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface Sequence<T>
Interface for collections that contain a head value and a tail containing the remainder of the sequence.
Method Summary | |
---|---|
T |
getHead()
Accesses the first value in the Sequence. |
Sequence<T> |
getTail()
Accesses the rest of the Sequence. |
boolean |
isEmpty()
Determines if this is the end of the Sequence. |
Method Detail |
---|
boolean isEmpty()
T getHead()
@Nonnull Sequence<T> getTail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |