| 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 org. unsigned short item is a
member of this list.
|
| public boolean | equals(Object
the object to be compared for equality with this list obj)Overrides java. Implements java. |
| public Object | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | |
| public short | item(int
index into the collection. index)Implements org. indexth item in the collection.
|
| public int | size()
Implements abstract java. Implements java. |
| 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 org. 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 Object 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 org. The number of | |
| item | back to summary |
|---|---|
| public short item(int index) throws XSException Implements org. Doc from org. 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
| |