Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.jps.service.policystore.info
Class OpssDouble

java.lang.Object
  extended by oracle.security.jps.service.policystore.info.DataType
      extended by 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 Class Summary

 

Nested classes/interfaces inherited from class oracle.security.jps.service.policystore.info.DataType
DataType.TYPE

 

Nested classes/interfaces inherited from interface oracle.security.jps.service.policystore.info.ExpressionComponent
ExpressionComponent.Type

 

Field Summary
static java.lang.String INF
           
static java.lang.String NEG_INF
           

 

Constructor Summary
OpssDouble(double d)
           
OpssDouble(java.lang.Double d)
           
OpssDouble(java.lang.String str)
           

 

Method Summary
static int compare(OpssDouble d1, OpssDouble d2)
          Compares two OpssDouble objects.
 boolean equals(java.lang.Object that)
          Override java method for accurate list and hashtable lookups.
 ExpressionComponent.Type getComponentType()
          Returns type of the component.
 DataType.TYPE getType()
          For all concrete subclasses, this method is required so that function evaluators at runtime don't need to keep doing instanceof
 java.lang.Double getValue()
          Returns an object representing real value of this data type.
 int hashCode()
           
 boolean isValid()
           
 java.lang.String toString()
           
static OpssDouble valueOf(java.lang.String str)
           

 

Methods inherited from class oracle.security.jps.service.policystore.info.DataType
getDataTypeObjectFromString, getDataTypeObjectFromString, getTypeClassFromClassName, getTypeFromClass

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

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

Constructor Detail

OpssDouble

public OpssDouble(double d)

OpssDouble

public OpssDouble(java.lang.Double d)

OpssDouble

public OpssDouble(java.lang.String str)

Method Detail

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

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.