GP.Attributes
Class Range
java.lang.Object
|
+--GP.Attributes.Range
- Direct Known Subclasses:
- Blue, Green, Height, Red, Width
- public class Range
- extends java.lang.Object
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Range
public Range(double lowerBound,
double upperBound)
Range
public Range(Value lowerBound,
Value upperBound)
Range
public Range(double upperBound)
Range
public Range(Range range)
Copy
public Range Copy()
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
GetUpperBound
public double GetUpperBound()
GetLowerBound
public double GetLowerBound()
Contains
public boolean Contains(double d)
Contains
public boolean Contains(Value d)
GetRandomNumberWithin
public double GetRandomNumberWithin()
DoForEach
public void DoForEach(Action action)
DoForEach
public void DoForEach(Action action,
double increment)