Java Doc for DataValue.java in  » Science » Cougaar12_4 » org » cougaar » qos » qrs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.qos.qrs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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  DataValueNO_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)
    

Method Summary
public  booleancontentsEquals(DataValue candidate)
    
public  booleanequals(DataValue candidate)
    
public  booleangetBooleanValue()
    
public  bytegetByteValue()
    
public  chargetCharValue()
    
public  org.cougaar.qos.ResourceStatus.DataValuegetCorbaValue()
    
public  doublegetCredibility()
    
public  doublegetDoubleValue()
    
public  floatgetFloatValue()
    
public  longgetHalflife()
    
public  intgetIntValue()
    
public  longgetLongValue()
    
public  StringgetProvenance()
    
public  ObjectgetRawValue()
    
public  shortgetShortValue()
    
public  StringgetStringValue()
    
public  longgetTimestamp()
    
public  StringgetUnits()
    
public static  DataValuemaxCredibility(DataValue[] values)
     Returns the value with the hightest credibility.
public static  DataValuemostCredible(DataValue d1, DataValue d2)
    
public  DataValuenewCredibility(double new_credibility)
    
public  DataValuenewDataValue(Object raw)
    
public  StringtoString()
    

Field Detail
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.




Constructor Detail
DataValue
public DataValue(DataValue value)(Code)



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(org.cougaar.qos.ResourceStatus.DataValue value)(Code)



DataValue
public DataValue(Object 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(String value)(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)




Method Detail
contentsEquals
public boolean contentsEquals(DataValue candidate)(Code)



equals
public boolean equals(DataValue candidate)(Code)



getBooleanValue
public boolean getBooleanValue()(Code)



getByteValue
public byte getByteValue()(Code)



getCharValue
public char getCharValue()(Code)



getCorbaValue
public org.cougaar.qos.ResourceStatus.DataValue getCorbaValue()(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)



getProvenance
public String getProvenance()(Code)



getRawValue
public Object getRawValue()(Code)



getShortValue
public short getShortValue()(Code)



getStringValue
public String getStringValue()(Code)



getTimestamp
public long getTimestamp()(Code)



getUnits
public String getUnits()(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).



mostCredible
public static DataValue mostCredible(DataValue d1, DataValue d2)(Code)



newCredibility
public DataValue newCredibility(double new_credibility)(Code)



newDataValue
public DataValue newDataValue(Object raw)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.