|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.work.util.AbstractBounded<N>
N - Any type of Number.public abstract class AbstractBounded<N extends Comparable<N>>
A bounded number object whose bounds values cannot be modified
| Constructor Summary | |
|---|---|
AbstractBounded(N lower,
N initValue,
N upper,
boolean lowerStrict,
boolean upperStrict)
Creates a new Bounded object. |
|
| Method Summary | |
|---|---|
N |
getLowerBound()
Returns the lower limit of the object. |
N |
getUpperBound()
Returns the upper limit of the object. |
N |
getValue()
Returns the value. |
boolean |
isLowerBoundStrict()
Does the value have to be strictly greater than the lower bound? |
boolean |
isUpperBoundStrict()
Does the value have to be strictly lower than the upper bound? |
void |
setValue(N v)
Set the value v as the value of the Bounded Object. |
abstract void |
setValue(String s)
Sets the value of the Bounded object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBounded(N lower,
N initValue,
N upper,
boolean lowerStrict,
boolean upperStrict)
lower - The lower bound value.initValue - The initial value.upper - The upper bound value.lowerStrict - True means that the value cannot be equal to the lower bound.upperStrict - True means that the value cannot be equal to the upper bound.| Method Detail |
|---|
public N getUpperBound()
public N getLowerBound()
public boolean isUpperBoundStrict()
public boolean isLowerBoundStrict()
public N getValue()
Bounded object.public void setValue(N v)
v as the value of the Bounded Object.
v - the value to be set.public abstract void setValue(String s)
Bounded object.
s - will be converted to the value type of the Bounded object.
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||