Payload - The payload type.public final class StackSink<Payload> extends AbstractStackSink<Payload>
CollectionSink is an AbstractStackSink that performs no
additional actions.| Constructor and Description |
|---|
StackSink(Nullity nullity,
Stack<Payload> stack)
Creates a new
StackSink. |
StackSink(Stack<Payload> stack)
|
doAdd, getStackadd, addAll, addAll, equals, getNullity, hashCode, onAdded, toStringpublic StackSink(Stack<Payload> stack) throws IllegalArgumentException
stack - The Stack to be used.IllegalArgumentException - If the given Stack is null.public StackSink(Nullity nullity, Stack<Payload> stack) throws IllegalArgumentException
StackSink.nullity - The Nullity to be used.stack - The Stack to be used.IllegalArgumentException - If the given Nullity is null or if the
given Stack is null.Copyright © 2016–2017 Markenwerk – Gesellschaft für markenbildende Maßnahmen mbH. All rights reserved.