public class ListIntAcceptor extends AbstractIntAcceptor<List<Integer>>
Acceptor that creates a List from a sequence of integer values. This can be useful as the last
item in a pipeline that creates Unicode code points.| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INITIAL_CAPACITY |
| Constructor and Description |
|---|
ListIntAcceptor() |
ListIntAcceptor(int initialCapacity) |
ListIntAcceptor(List<Integer> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInt(int value)
Accept an
int, after closed check and test for end of data. |
List<Integer> |
getResult()
Get the result of the acceptor.
|
int |
getSize() |
accept, acceptclose, isClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, acceptflush, isClosed, isComplete, safeClosecloseandThenpublic static final int DEFAULT_INITIAL_CAPACITY
public ListIntAcceptor(int initialCapacity)
public ListIntAcceptor()
public void acceptInt(int value)
AbstractIntAcceptorint, after closed check and test for end of data. Implementing classes must supply an
implementation of this method.acceptInt in class AbstractIntAcceptor<List<Integer>>value - the input valuepublic List<Integer> getResult()
BaseAcceptorpublic int getSize()
Copyright © 2025. All rights reserved.