ariba.util.core
Class BooleanArray
java.lang.Object
ariba.util.core.DynamicArray
ariba.util.core.BooleanArray
public class BooleanArray
- extends DynamicArray
A DynamicArray of Booleans
- See Also:
DynamicArray
|
Method Summary |
void |
add(boolean val)
Add an element to the array. |
void |
addElement(boolean val)
Add an element to the array. |
Object[] |
alloc(int size)
Allocate the storage array of type Boolean. |
Boolean[] |
array()
Typesafe access to the storage array |
| Methods inherited from class ariba.util.core.DynamicArray |
add, add, addAll, addAll, addAll, addElement, addElementIfAbsent, addElements, addElements, addIdentical, arrayCopy, clear, contains, containsIdentical, extend, indexOf, insertElementAt, inUse, makeRoomFor, remove, removeElementAt, setArray, setCapacity, toList, toString, trim |
BooleanArray
public BooleanArray()
alloc
public Object[] alloc(int size)
- Allocate the storage array of type Boolean.
- Specified by:
alloc in class DynamicArray
- Parameters:
size - The size of the array to allocate
- Returns:
- The allocated array
array
public final Boolean[] array()
- Typesafe access to the storage array
- Returns:
- the Boolean[] array currently in use by this
object. It is not copied.
addElement
public void addElement(boolean val)
- Add an element to the array.
- Parameters:
val - boolean representing the element to add
add
public void add(boolean val)
- Add an element to the array.
- Parameters:
val - boolean representing the element to add
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.