|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Vector
com.sybase.collections.NullableLongList
public class NullableLongList
A list of Long
elements.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Constructor Summary | |
---|---|
NullableLongList(int capacity)
Initializes a new instance of the NullableLongList class that is empty and has the specified initial capacity. |
Method Summary | |
---|---|
int |
add(java.lang.Long x)
Adds the specified Long to the end of this list, increasing its size by one. |
NullableLongList |
addThis(java.lang.Long item)
Sybase internal use only. |
static NullableLongList |
fromJSON(java.lang.Object array)
Sybase internal use only. |
java.lang.Long |
getByIndex(int index)
Gets the Long element at the specified index. |
void |
insert(int index,
java.lang.Long x)
Inserts the specified Long in this list at the specified index. |
java.lang.Long |
item(int index)
Returns the element at the specified index. |
void |
remove(java.lang.Long x)
Removes the first occurrence of the argument from this list. |
NullableLongList |
slice(int skip,
int take)
Returns a new list by copying the specified number of elements from the specified index |
static JsonArray |
toJSON(NullableLongList _list)
Sybase internal use only. |
Methods inherited from class java.util.Vector |
---|
addElement, capacity, contains, copyInto, elementAt, elements, ensureCapacity, firstElement, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, removeAllElements, removeElement, removeElementAt, setElementAt, setSize, size, toString, trimToSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NullableLongList(int capacity)
capacity
- The initial number of elements that the NullableLongList can contain.Method Detail |
---|
public java.lang.Long getByIndex(int index)
Long
element at the specified index.
index
- The zero-based index of the Long
to find.
Long
.public int add(java.lang.Long x)
Long
to the end of this list, increasing its size by one.
x
- The Long
to add
Long
public void insert(int index, java.lang.Long x)
Long
in this list at the specified index.
index
- Where to insertx
- The Long
to insertpublic void remove(java.lang.Long x)
x
- The Long
to remove.public NullableLongList addThis(java.lang.Long item)
public java.lang.Long item(int index)
index
- Where to find the element.
public NullableLongList slice(int skip, int take)
skip
- The index to copy fromtake
- The number of elements to copy
public static NullableLongList fromJSON(java.lang.Object array)
public static JsonArray toJSON(NullableLongList _list)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |