Class ImmutableStack.Empty<A>
java.lang.Object
com.jnape.palatable.lambda.internal.ImmutableStack<A>
com.jnape.palatable.lambda.internal.ImmutableStack.Empty<A>
- All Implemented Interfaces:
Iterable<A>
- Enclosing class:
ImmutableStack<A>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ImmutableStack
empty, isEmpty, iterator, pushMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Empty
private Empty()
-
-
Method Details
-
head
- Specified by:
headin classImmutableStack<A>
-
tail
- Specified by:
tailin classImmutableStack<A>
-