|
ST-Developer Java Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<T>
com.steptools.stdev.keystone.AggregatePrimitive<Integer>
com.steptools.stdev.keystone.AggregateInteger
public abstract class AggregateInteger
Aggregate of Integer values
| Field Summary |
|---|
| Fields inherited from class com.steptools.stdev.keystone.AggregatePrimitive |
|---|
size |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
AggregateInteger()
Create an aggregate of EXPRESS REAL numbers |
|
AggregateInteger(int init_size)
Create an aggregate of EXPRESS REAL with the given capacity. |
|
| Method Summary | |
|---|---|
boolean |
add(int value)
Insert an element into the Aggregate at the end of the aggregate |
boolean |
add(Integer value)
Insert an element into the Aggregate at the end of the aggregate |
void |
add(int index,
int value)
Insert an element into the Aggregate at a specified index |
void |
add(int index,
Integer value)
Insert an element into the Aggregate at a specified index |
void |
addObject(int index,
Object element)
Insert a value at a specified index |
void |
addObject(Object element)
Insert a value to the end of the aggregate |
protected Object |
createBuffer(int sz)
Create a Java array of the type of the aggregate with the spefified size. |
Integer |
get(int idx)
Get the element at a particular element |
protected Object |
getBuffer()
Get the buffer object. |
protected int |
getCapacity()
Get the length of the buffer. |
int |
getValue(int idx)
Get the value at a specified index |
int |
set(int index,
int value)
Set a value at a specified index |
Integer |
set(int index,
Integer value)
Set a value at a specified index |
void |
setObject(int index,
Object element)
Set the value at a specified index |
| Methods inherited from class com.steptools.stdev.keystone.AggregatePrimitive |
|---|
checkIndex, clone, size, trimToSize, updateCapacity |
| Methods inherited from class java.util.AbstractList |
|---|
addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.steptools.stdev.Instance |
|---|
domain |
| Methods inherited from interface java.util.List |
|---|
addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, subList, toArray, toArray |
| Constructor Detail |
|---|
public AggregateInteger(int init_size)
init_size - initial size of the buffer to usepublic AggregateInteger()
| Method Detail |
|---|
protected Object getBuffer()
AggregatePrimitive
getBuffer in class AggregatePrimitive<Integer>protected Object createBuffer(int sz)
AggregatePrimitive
createBuffer in class AggregatePrimitive<Integer>sz - The requested size of the buffer.
protected int getCapacity()
AggregatePrimitive
getCapacity in class AggregatePrimitive<Integer>public int getValue(int idx)
idx - the element to get.
public Integer get(int idx)
get in interface List<Integer>get in class AbstractList<Integer>idx - Index to get the value at.
public int set(int index,
int value)
index - of the element to setvalue - the value to to be stored at the specified location.
public Integer set(int index,
Integer value)
set in interface List<Integer>set in class AbstractList<Integer>index - of the element to setvalue - the value to to be stored at the specified location.
public void setObject(int index,
Object element)
index - The index in set.element - The value to set.
public void add(int index,
int value)
index - of the element to setvalue - the value to to be stored at the specified location.
public void add(int index,
Integer value)
add in interface List<Integer>add in class AbstractList<Integer>index - of the element to setvalue - the value to to be stored at the specified location.
public void addObject(int index,
Object element)
index - The index in set.element - The value to set.public boolean add(int value)
value - the value to to be stored at the specified location.public boolean add(Integer value)
add in interface Collection<Integer>add in interface List<Integer>add in class AbstractList<Integer>value - the value to to be stored at the specified location.public void addObject(Object element)
element - The value to set.
|
ST-Developer Java Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||