protected static class SelectMapGenotype.SelectBounds<O,P> extends java.lang.Object implements Bounds<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<O> |
list |
protected java.util.Map<O,java.util.List<P>> |
map |
Constructor and Description |
---|
SelectBounds(java.util.List<O> list,
java.util.Map<O,java.util.List<P>> map) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLowerBound(int index)
Returns the lower bound for the
i -th element. |
java.lang.Integer |
getUpperBound(int index)
Returns the upper bound for the
i -th element. |
protected java.util.List<O> list
public java.lang.Integer getLowerBound(int index)
Bounds
i
-th element.getLowerBound
in interface Bounds<java.lang.Integer>
index
- the i
-th elementi
-th elementpublic java.lang.Integer getUpperBound(int index)
Bounds
i
-th element.getUpperBound
in interface Bounds<java.lang.Integer>
index
- the i
-th elementi
-th element