com.metsci.glimpse.util
Class PrimitiveVector
java.lang.Object
com.metsci.glimpse.util.PrimitiveVector
- Direct Known Subclasses:
- PrimitiveVector.Double, PrimitiveVector.Float, PrimitiveVector.Integer, PrimitiveVector.Long
public abstract class PrimitiveVector
- extends java.lang.Object
A collection of classes for storing a growable array of primitives
including double
, float
,
integer
, and long
primitives.
A newly constructed PrimitiveVector
begins with an
underlying storage array of 10 elements (the size may be overridden
by using the appropriate constructor). Whenever its space is
exhausted, the underlying array will grow by a factor of 2 the next
time an element is added. The underlying array may grow by at most
50,000 when it expands.
- Author:
- osborn
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrimitiveVector
public PrimitiveVector()
Copyright © 2012 Metron, Inc.. All Rights Reserved.