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


Constructor Summary
Range(double upperBound)
           
Range(double lowerBound, double upperBound)
           
Range(Range range)
           
Range(Value lowerBound, Value upperBound)
           
 
Method Summary
 boolean Contains(double d)
           
 boolean Contains(Value d)
           
 Range Copy()
           
 void DoForEach(Action action)
           
 void DoForEach(Action action, double increment)
           
 boolean equals(java.lang.Object other)
           
 double GetLowerBound()
           
 double GetRandomNumberWithin()
           
 double GetUpperBound()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(double lowerBound,
             double upperBound)

Range

public Range(Value lowerBound,
             Value upperBound)

Range

public Range(double upperBound)

Range

public Range(Range range)
Method Detail

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)