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. |
java.lang.Object[] |
alloc(int size)
Allocate the storage array of type Boolean. |
java.lang.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, addElementsIfAbsent, addIdentical, arrayCopy, clear, contains, containsIdentical, extend, indexOf, insertElementAt, inUse, makeRoomFor, remove, removeElementAt, setArray, setCapacity, toList, toString, trim |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BooleanArray
public BooleanArray()
alloc
public java.lang.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 java.lang.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-2014 Ariba, Inc. All Rights Reserved.