| java.lang.Object org.cougaar.qos.qrs.DataValue
DataValue | public class DataValue implements Constants,java.io.Serializable(Code) | | A simple struct-like class used to represent the values manipulated by the
various DataScope/DataFormula objects.
|
Field Summary | |
final public static DataValue | NO_VALUE Standard instance of a value without any specific credibility. |
Constructor Summary | |
public | DataValue(DataValue value) | public | DataValue(Object value, double credibility, String units, String provenance, long timestamp, long halflife) | public | DataValue(double value, double credibility, String units, String provenance) | public | DataValue(long value, double credibility, String units, String provenance) | public | DataValue(char value, double credibility, String units, String provenance) | public | DataValue(boolean value, double credibility, String units, String provenance) | public | DataValue(org.cougaar.qos.ResourceStatus.DataValue value) | public | DataValue(Object value, double credibility, String units, String provenance) | public | DataValue() Use value of 0.0 and default credibility (from Constants). | public | DataValue(double value, double credibility) | public | DataValue(double value) | public | DataValue(long value, double credibility) | public | DataValue(long value) | public | DataValue(String value, double credibility) | public | DataValue(String value) | public | DataValue(char value, double credibility) | public | DataValue(char value) | public | DataValue(boolean value, double credibility) | public | DataValue(boolean value) |
NO_VALUE | final public static DataValue NO_VALUE(Code) | | Standard instance of a value without any specific credibility. This may
move into the Constants interface later.
|
DataValue | public DataValue(Object value, double credibility, String units, String provenance, long timestamp, long halflife)(Code) | | |
DataValue | public DataValue(double value, double credibility, String units, String provenance)(Code) | | |
DataValue | public DataValue(long value, double credibility, String units, String provenance)(Code) | | |
DataValue | public DataValue(char value, double credibility, String units, String provenance)(Code) | | |
DataValue | public DataValue(boolean value, double credibility, String units, String provenance)(Code) | | |
DataValue | public DataValue()(Code) | | Use value of 0.0 and default credibility (from Constants).
|
DataValue | public DataValue(double value, double credibility)(Code) | | |
DataValue | public DataValue(double value)(Code) | | |
DataValue | public DataValue(long value, double credibility)(Code) | | |
DataValue | public DataValue(long value)(Code) | | |
DataValue | public DataValue(String value, double credibility)(Code) | | |
DataValue | public DataValue(char value, double credibility)(Code) | | |
DataValue | public DataValue(char value)(Code) | | |
DataValue | public DataValue(boolean value, double credibility)(Code) | | |
DataValue | public DataValue(boolean value)(Code) | | |
getBooleanValue | public boolean getBooleanValue()(Code) | | |
getByteValue | public byte getByteValue()(Code) | | |
getCharValue | public char getCharValue()(Code) | | |
getCredibility | public double getCredibility()(Code) | | |
getDoubleValue | public double getDoubleValue()(Code) | | |
getFloatValue | public float getFloatValue()(Code) | | |
getHalflife | public long getHalflife()(Code) | | |
getIntValue | public int getIntValue()(Code) | | |
getLongValue | public long getLongValue()(Code) | | |
getShortValue | public short getShortValue()(Code) | | |
getTimestamp | public long getTimestamp()(Code) | | |
maxCredibility | public static DataValue maxCredibility(DataValue[] values)(Code) | | Returns the value with the hightest credibility. If the max credibilitry
is common to several values, returns the last one (order is significant).
|
newCredibility | public DataValue newCredibility(double new_credibility)(Code) | | |
|
|