ariba.util.core
Class StringArray
java.lang.Object
ariba.util.core.DynamicArray
ariba.util.core.StringArray
public class StringArray
- extends DynamicArray
A DynamicArray of Strings
- See Also:
DynamicArray
| Methods inherited from class ariba.util.core.DynamicArray |
add, add, addAll, addAll, addAll, addElement, addElementIfAbsent, addElements, addElements, addIdentical, arrayCopy, clear, contains, extend, indexOf, insertElementAt, inUse, makeRoomFor, remove, removeElementAt, setArray, setCapacity, toList, toString, trim |
StringArray
public StringArray()
alloc
public Object[] alloc(int size)
- Description copied from class:
DynamicArray
- Allocate the storage array.
Subclasses should override this, allocating an array of the correct type.
- Specified by:
alloc in class DynamicArray
- Parameters:
size - The size of the array to allocate
- Returns:
- The allocated array
array
public final String[] array()
- Typesafe access to the storage array
- Returns:
- the String[] array currently in use by this
object. It is not copied.
setArray
public void setArray(String[] array)
containsIdentical
public boolean containsIdentical(Object x)
- Description copied from class:
DynamicArray
- Check if the array contains an object.
The == operator is used to compare objects
- Overrides:
containsIdentical in class DynamicArray
- Parameters:
x - the object to check for
- Returns:
- true if the object is in the array
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.