Skip navigation links
oracle.security.jps.service.policystore.info
Class OpssDouble
java.lang.Object
oracle.security.jps.service.policystore.info.DataType
oracle.security.jps.service.policystore.info.OpssDouble
- All Implemented Interfaces:
- ExpressionComponent
-
public class OpssDouble
- extends DataType
Represents a double as defined by http://www.w3.org/2001/XMLSchema#double.
Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType |
DataType.TYPE |
Field Summary |
static java.lang.String |
INF
|
static java.lang.String |
NEG_INF
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INF
public static final java.lang.String INF
-
- See Also:
- Constant Field Values
NEG_INF
public static final java.lang.String NEG_INF
-
- See Also:
- Constant Field Values
OpssDouble
public OpssDouble(double d)
OpssDouble
public OpssDouble(java.lang.Double d)
OpssDouble
public OpssDouble(java.lang.String str)
getValue
public java.lang.Double getValue()
- Description copied from class:
DataType
- Returns an object representing real value of this data type. For example, OpssInteger.getValue will return an Integer object.
-
- Specified by:
getValue
in class DataType
-
- Returns:
- value of this object as Double
getType
public final DataType.TYPE getType()
- Description copied from class:
DataType
- For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
-
- Specified by:
getType
in class DataType
-
- Returns:
- Data Type of this object, always TYPE.DOUBLE
toString
public java.lang.String toString()
-
- Specified by:
toString
in class DataType
valueOf
public static OpssDouble valueOf(java.lang.String str)
throws java.lang.IllegalArgumentException
-
- Throws:
java.lang.IllegalArgumentException
compare
public static int compare(OpssDouble d1,
OpssDouble d2)
- Compares two OpssDouble objects. Returns -1 if d1 is smaller than d2, 0 if the two are equal and 1 if d1 is greater than d2
equals
public final boolean equals(java.lang.Object that)
- Description copied from class:
DataType
- Override java method for accurate list and hashtable lookups.
-
- Specified by:
equals
in class DataType
hashCode
public final int hashCode()
-
- Specified by:
hashCode
in class DataType
getComponentType
public ExpressionComponent.Type getComponentType()
- Description copied from interface:
ExpressionComponent
- Returns type of the component.
-
- Returns:
isValid
public boolean isValid()
Skip navigation links
Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.