drcl.util.scalar
Class LongVector
java.lang.Object
|
+--drcl.DrclObj
|
+--drcl.util.scalar.LongVector
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
- public class LongVector
- extends DrclObj
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LongVector
public LongVector()
LongVector
public LongVector(int initSize,
int increment)
addValue
public void addValue(long d)
insertValueAt
public void insertValueAt(long d,
int index)
removeValueAt
public void removeValueAt(int index)
removeValue
public void removeValue(long val)
setValueAt
public void setValueAt(long d,
int pos)
getValueAt
public long getValueAt(int i)
indexOf
public int indexOf(long value_)
- Returns the index of the first occurance.
setSize
public void setSize(int newSize)
size
public int size()
getLongs
public long[] getLongs()
duplicate
public void duplicate(java.lang.Object source_)
- Description copied from class:
DrclObj
- opies the content of the
source_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
- Overrides:
duplicate in class DrclObj
removeAll
public void removeAll()
toString
public java.lang.String toString()
- Overrides:
toString in class DrclObj
Copyright © 2001 - DRCL, OSU ~ Back to JavaSim Home ~