public class QuantityList<V>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<V> |
items |
(package private) java.util.HashMap<V,java.lang.Double> |
quantityHM |
Constructor and Description |
---|
QuantityList() |
Modifier and Type | Method and Description |
---|---|
void |
add(V v,
double d) |
java.util.ArrayList<V> |
getItems() |
java.lang.Object[] |
getObjectItemArray() |
double |
getQuantity(V v) |
double |
getQuantityNonGeneric(java.lang.Object obj) |
double[] |
getValueArray() |
int |
size() |
java.util.ArrayList<V> items
java.util.HashMap<V,java.lang.Double> quantityHM
public void add(V v, double d)
public java.util.ArrayList<V> getItems()
public double getQuantity(V v)
public double getQuantityNonGeneric(java.lang.Object obj)
public java.lang.Object[] getObjectItemArray()
public double[] getValueArray()
public int size()
Copyright © 2013. All Rights Reserved.