- All Implemented Interfaces:
Iterable<A>
public abstract class ImmutableStack<A>
extends Object
implements Iterable<A>
Internal API. Use at your own peril.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ImmutableStack
public ImmutableStack()
-
Method Details
-
-
head
public abstract Maybe<A> head()
-
-
isEmpty
public final boolean isEmpty()
-
-