public final class GenericValue<G extends GenericDefinition<S>,S extends Good> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericValue.Builder<T extends GenericDefinition<S>,S extends Good> |
| Modifier and Type | Method and Description |
|---|---|
Bundle<S> |
anyConsistentBundle() |
boolean |
equals(Object o) |
int |
getId() |
com.google.common.collect.ImmutableMap<G,Integer> |
getQuantities() |
int |
getQuantity(G definition) |
int |
getSize() |
int |
getTotalQuantity() |
BigDecimal |
getValue() |
int |
hashCode() |
Iterator<XORValue<S>> |
plainXorIterator()
An iterator over all XORValues consistent with this XOR-Q (XOR with quantities) instance
|
String |
toString() |
public int getQuantity(G definition)
public BigDecimal getValue()
public int getTotalQuantity()
public Iterator<XORValue<S>> plainXorIterator()
public int getSize()
public int getId()
Copyright © 2018. All rights reserved.