org.cytoscape.work.util
Class BoundedInteger
java.lang.Object
org.cytoscape.work.util.AbstractBounded<Integer>
org.cytoscape.work.util.BoundedInteger
public final class BoundedInteger
- extends AbstractBounded<Integer>
An Integer object which has low and up bounds.
Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Method Summary |
void |
setValue(String s)
Set a new value to the BoundedInteger object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundedInteger
public BoundedInteger(Integer lower,
Integer initValue,
Integer upper,
boolean lowerStrict,
boolean upperStrict)
- Creates a new Bounded Integer object.
- Parameters:
lower
- The lower bound value.initValue
- Initial of default value for the Integerupper
- The upper bound valuelowerStrict
- True means that the value cannot be equal to the lower boundupperStrict
- True means that the value cannot be equal to the upper bound
setValue
public void setValue(String s)
- Set a new value to the BoundedInteger object
- Specified by:
setValue
in class AbstractBounded<Integer>
- Parameters:
s
- String converted into Integer
Copyright 2011 Cytoscape Consortium. All rights reserved.