Method Summary |
|
public static String | aspectTypeToString(int aspectType) This should be in AspectType, but that's an interface and can't
have methods. |
public static AspectValue[] | clone(AspectValue[] avs) Clone an array of AspectValue. |
abstract public double | doubleValue() The value of the aspect as a double. |
public AspectValue | dupAspectValue(double newvalue) factory for possibly creating a new AspectValue with the same type
but a different value. |
public AspectValue | dupAspectValue(float newvalue) |
public AspectValue | dupAspectValue(long newvalue) |
public AspectValue | dupAspectValue(int newvalue) |
public boolean | equals(Object v) |
public static boolean | equals(AspectValue[] avs1, AspectValue[] avs2) Compare two arrays of AspectValues. |
abstract public float | floatValue() |
public int | getAspectType() |
abstract public int | getType() |
public double | getValue() Non-preferred alias for #doubleValue(). |
public int | hashCode() |
abstract public int | intValue() |
public boolean | isBetween(AspectValue low, AspectValue hi) |
public boolean | isGreaterThan(AspectValue v) |
public boolean | isLessThan(AspectValue v) |
abstract public long | longValue() |
public double | minus(AspectValue v) |
public boolean | nearlyEquals(Object o) |
public static boolean | nearlyEquals(AspectValue[] avs1, AspectValue[] avs2) |
final public static AspectValue | newAspectValue(int type, long value) |
final public static AspectValue | newAspectValue(int type, double value) |
final public static AspectValue | newAspectValue(int type, float value) |
final public static AspectValue | newAspectValue(int type, int value) |
final public static AspectValue | newAspectValue(int type, Object o) |
final public static AspectValue | newAspectValue(AspectType.Factory type, Object o) |
final public static AspectValue | newAspectValue(AspectType.Factory type, long value) |
final public static AspectValue | newAspectValue(AspectType.Factory type, double value) |
final public static AspectValue | newAspectValue(AspectType.Factory type, float value) |
final public static AspectValue | newAspectValue(AspectType.Factory type, int value) |
public String | toString() |