ariba.util.core
Class FileArray

java.lang.Object
  extended by ariba.util.core.DynamicArray
      extended by ariba.util.core.FileArray

public class FileArray
extends DynamicArray

A DynamicArray of Files


Field Summary
 
Fields inherited from class ariba.util.core.DynamicArray
array, inUse
 
Constructor Summary
FileArray()
           
 
Method Summary
 java.lang.Object[] alloc(int size)
          Allocate the storage array.
 java.io.File[] array()
           
 boolean containsIdentical(java.lang.Object x)
          Check if the array contains an object.
 void setArray(java.io.File[] array)
          array had better be of the right type or the next call to array() will cause a ClassCastException
 
Methods inherited from class ariba.util.core.DynamicArray
add, add, addAll, addAll, addAll, addElement, addElementIfAbsent, addElements, addElements, addElementsIfAbsent, addIdentical, arrayCopy, clear, contains, 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
 

Constructor Detail

FileArray

public FileArray()
Method Detail

alloc

public java.lang.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 java.io.File[] array()

setArray

public void setArray(java.io.File[] array)
array had better be of the right type or the next call to array() will cause a ClassCastException


containsIdentical

public boolean containsIdentical(java.lang.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-2014 Ariba, Inc. All Rights Reserved.