|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Vector
com.sybase.collections.NullableBinaryList
public class NullableBinaryList
A list of nullable byte array elements.
Field Summary |
---|
Fields inherited from class java.util.Vector |
---|
capacityIncrement, elementCount, elementData |
Constructor Summary | |
---|---|
NullableBinaryList(int capacity)
Initializes a new instance of the NullableBinaryList class that is empty and has the specified initial capacity. |
Method Summary | |
---|---|
int |
add(byte[] x)
Adds the specified byte[] to the end of this list, increasing its size by one. |
NullableBinaryList |
addThis(byte[] item)
Sybase internal use only. |
static NullableBinaryList |
fromJSON(java.lang.Object array)
Sybase internal use only. |
byte[] |
getByIndex(int index)
Gets the byte[] element at the specified index. |
void |
insert(int index,
byte[] x)
Inserts the specified byte[] in this list at the specified index. |
byte[] |
item(int index)
Returns the element at the specified index. |
void |
remove(byte[] x)
Removes the first occurrence of the argument from this list. |
NullableBinaryList |
slice(int skip,
int take)
Returns a new list by copying the specified number of elements from the specified index |
static JsonArray |
toJSON(NullableBinaryList _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 NullableBinaryList(int capacity)
capacity
- The initial number of elements that the NullableBinaryList can contain.Method Detail |
---|
public byte[] getByIndex(int index)
byte[]
element at the specified index.
index
- The zero-based index of the byte[]
to find.
byte[]
.public int add(byte[] x)
byte[]
to the end of this list, increasing its size by one.
x
- The byte[]
to add
byte[]
public void insert(int index, byte[] x)
byte[]
in this list at the specified index.
index
- Where to insertx
- The byte[]
to insertpublic void remove(byte[] x)
x
- The byte[]
to remove.public NullableBinaryList addThis(byte[] item)
public byte[] item(int index)
index
- Where to find the element.
public NullableBinaryList slice(int skip, int take)
skip
- The index to copy fromtake
- The number of elements to copy
public static NullableBinaryList fromJSON(java.lang.Object array)
public static JsonArray toJSON(NullableBinaryList _list)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |