org.ximtec.igesture.util
Class BigDecimalVector
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<BigDecimal>
org.ximtec.igesture.util.BigDecimalVector
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<BigDecimal>, Collection<BigDecimal>, List<BigDecimal>, RandomAccess
public class BigDecimalVector
- extends ArrayList<BigDecimal>
Implements a vector of BigDecimal values and provides some basic functionality.
- Version:
- 1.0, Oct 2008
- Author:
- Ueli Kurmann, ueli.kurmann@bbv.ch, Beat Signer, signer@inf.ethz.ch
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
BigDecimalVector
public BigDecimalVector(int size)
- Constructs a new double vector.
- Parameters:
size - the initial size of the double vector.
toBigDecimalArray
public BigDecimal[] toBigDecimalArray()
- Returns a double array of the vector's content.
- Returns:
- a double array of the vector's content.
toString
public String toString()
- Overrides:
toString in class AbstractCollection<BigDecimal>
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.