Package gnu.lists
Class VoidConsumer
java.lang.Object
gnu.lists.FilterConsumer
gnu.lists.VoidConsumer
- All Implemented Interfaces:
Consumer,XConsumer,Appendable,Consumer<Object>,DoubleConsumer,IntConsumer,LongConsumer
A Consumer that does nothing.
-
Field Summary
FieldsFields inherited from class gnu.lists.FilterConsumer
attributeType, base, inAttribute, skipping -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VoidConsumerbooleanignoring()True if consumer is ignoring rest of element.static VoidConsumerMethods inherited from class gnu.lists.FilterConsumer
append, append, append, beforeContent, beforeNode, beginEntity, endAttribute, endDocument, endElement, endEntity, startAttribute, startDocument, startElement, write, write, write, write, writeBoolean, writeCDATA, writeComment, writeDouble, writeFloat, writeInt, writeLong, writeObject, writeProcessingInstructionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.DoubleConsumer
andThenMethods inherited from interface java.util.function.IntConsumer
andThenMethods inherited from interface java.util.function.LongConsumer
andThen
-
Field Details
-
instance
-
-
Constructor Details
-
VoidConsumer
public VoidConsumer() -
VoidConsumer
-
-
Method Details
-
getInstance
-
make
-
ignoring
public boolean ignoring()True if consumer is ignoring rest of element. The producer can use this information to skip ahead.- Specified by:
ignoringin interfaceConsumer- Overrides:
ignoringin classFilterConsumer
-