org.apache.ecs.storage
Class Array
java.lang.Object
|
+--org.apache.ecs.storage.Array
- All Implemented Interfaces:
- java.util.Enumeration, java.io.Serializable
- public class Array
- extends java.lang.Object
- implements java.util.Enumeration, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
current
private int current
size
private int size
grow
private int grow
place
private int place
elements
private java.lang.Object[] elements
tmpElements
private java.lang.Object[] tmpElements
Array
public Array()
Array
public Array(int size)
Array
public Array(int size,
int grow)
init
private void init()
nextElement
public java.lang.Object nextElement()
throws java.util.NoSuchElementException
- Specified by:
nextElement
in interface java.util.Enumeration
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface java.util.Enumeration
setSize
public void setSize(int size)
getCurrentSize
public int getCurrentSize()
rehash
public void rehash()
setGrow
public void setGrow(int grow)
grow
public void grow()
add
public void add(java.lang.Object o)
add
public void add(int location,
java.lang.Object o)
remove
public void remove(int location)
location
public int location(java.lang.Object o)
throws NoSuchObjectException
get
public java.lang.Object get(int location)
elements
public java.util.Enumeration elements()
Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.