Class ImmutableQueue.NonEmpty<A>
java.lang.Object
com.jnape.palatable.lambda.internal.ImmutableQueue<A>
com.jnape.palatable.lambda.internal.ImmutableQueue.NonEmpty<A>
- All Implemented Interfaces:
Iterable<A>
- Enclosing class:
ImmutableQueue<A>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
NonEmpty
(ImmutableStack<A> outbound, ImmutableStack<A> inbound) -
Method Summary
Methods inherited from class com.jnape.palatable.lambda.internal.ImmutableQueue
empty, isEmpty, iterator, singleton
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
outbound
-
inbound
-
-
Constructor Details
-
NonEmpty
-
-
Method Details
-
pushFront
- Specified by:
pushFront
in classImmutableQueue<A>
-
pushBack
- Specified by:
pushBack
in classImmutableQueue<A>
-
concat
- Specified by:
concat
in classImmutableQueue<A>
-
head
- Specified by:
head
in classImmutableQueue<A>
-
tail
- Specified by:
tail
in classImmutableQueue<A>
-