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