| java.lang.Object org.cougaar.planning.ldm.plan.AspectValue org.cougaar.planning.ldm.plan.TypedAspectValue org.cougaar.planning.ldm.plan.AspectRate
AspectRate | public class AspectRate extends TypedAspectValue (Code) | | An AspectValue represented by a rate measure
|
Constructor Summary | |
protected | AspectRate(int type, Rate new_rate_value) |
AspectRate | protected AspectRate(int type, Rate new_rate_value)(Code) | | |
doubleValue | final public double doubleValue()(Code) | | return the common-unit value of the rate.
|
floatValue | final public float floatValue()(Code) | | return the common-unit value of the rate.
|
getRateValue | final public Rate getRateValue()(Code) | | The rate value of the aspect.
|
intValue | final public int intValue()(Code) | | return the common-unit value of the rate.
|
longValue | final public long longValue()(Code) | | return the common-unit value of the rate.
|
newAspectRate | final public static AspectRate newAspectRate(int type, Rate r)(Code) | | Non-preferred alias for #create(int, Rate).
|
Methods inherited from org.cougaar.planning.ldm.plan.TypedAspectValue | final public int getType()(Code)(Java Doc)
|
Methods inherited from org.cougaar.planning.ldm.plan.AspectValue | public static String aspectTypeToString(int aspectType)(Code)(Java Doc) public static AspectValue[] clone(AspectValue[] avs)(Code)(Java Doc) abstract public double doubleValue()(Code)(Java Doc) public AspectValue dupAspectValue(double newvalue)(Code)(Java Doc) public AspectValue dupAspectValue(float newvalue)(Code)(Java Doc) public AspectValue dupAspectValue(long newvalue)(Code)(Java Doc) public AspectValue dupAspectValue(int newvalue)(Code)(Java Doc) public boolean equals(Object v)(Code)(Java Doc) public static boolean equals(AspectValue[] avs1, AspectValue[] avs2)(Code)(Java Doc) abstract public float floatValue()(Code)(Java Doc) public int getAspectType()(Code)(Java Doc) abstract public int getType()(Code)(Java Doc) public double getValue()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) abstract public int intValue()(Code)(Java Doc) public boolean isBetween(AspectValue low, AspectValue hi)(Code)(Java Doc) public boolean isGreaterThan(AspectValue v)(Code)(Java Doc) public boolean isLessThan(AspectValue v)(Code)(Java Doc) abstract public long longValue()(Code)(Java Doc) public double minus(AspectValue v)(Code)(Java Doc) public boolean nearlyEquals(Object o)(Code)(Java Doc) public static boolean nearlyEquals(AspectValue[] avs1, AspectValue[] avs2)(Code)(Java Doc) final public static AspectValue newAspectValue(int type, long value)(Code)(Java Doc) final public static AspectValue newAspectValue(int type, double value)(Code)(Java Doc) final public static AspectValue newAspectValue(int type, float value)(Code)(Java Doc) final public static AspectValue newAspectValue(int type, int value)(Code)(Java Doc) final public static AspectValue newAspectValue(int type, Object o)(Code)(Java Doc) final public static AspectValue newAspectValue(AspectType.Factory type, Object o)(Code)(Java Doc) final public static AspectValue newAspectValue(AspectType.Factory type, long value)(Code)(Java Doc) final public static AspectValue newAspectValue(AspectType.Factory type, double value)(Code)(Java Doc) final public static AspectValue newAspectValue(AspectType.Factory type, float value)(Code)(Java Doc) final public static AspectValue newAspectValue(AspectType.Factory type, int value)(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|