| Modifier and Type | Field and Description |
|---|---|
| public static final ShortListImpl | EMPTY_LIST
An immutable empty list. |
| private final short[] | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | ShortListImpl(short[]
the data array array, int the number of elements length)Construct an XSObjectList implementation |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if this list contains theunsigned short
item.unsigned short whose presence in this list
is to be tested.Implements com. Checks if the |
| public boolean | equals(Object obj)
Overrides java. Implements java. Compares the specified object with this list for equality. |
| public Short | get(int index)
Implements abstract java. Implements java. Returns the element at the specified position in this list. |
| public int | getLength()
Implements com. The number of |
| public short | item(int index)
Implements com. Returns the |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this list. |
| EMPTY_LIST | back to summary |
|---|---|
| public static final ShortListImpl EMPTY_LIST An immutable empty list. | |
| fArray | back to summary |
|---|---|
| private final short[] fArray | |
| fLength | back to summary |
|---|---|
| private final int fLength | |
| ShortListImpl | back to summary |
|---|---|
| public ShortListImpl(short[] array, int length) Construct an XSObjectList implementation
| |
| contains | back to summary |
|---|---|
| public boolean contains(short item) Implements com. Checks if the
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares the specified object with this list for equality. Returns
| |
| get | back to summary |
|---|---|
| public Short get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list. | |
| getLength | back to summary |
|---|---|
| public int getLength() Implements com. The number of | |
| item | back to summary |
|---|---|
| public short item(int index) throws XSException Implements com. Doc from com. Returns the
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than | |