public class DoubleAttribute extends Attribute
Attribute
that encapsulates a Double.Constructor and Description |
---|
DoubleAttribute(Double value)
Constructs a Double attribute from a Double
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Term other) |
boolean |
equals(Object oth)
A DoubleAttribute is equal to another Object if that Object is a DoubleAttribute
and their values are equal.
|
Double |
getValue() |
int |
hashCode() |
String |
rawToString()
Get a string representation of the internal constant value.
|
public DoubleAttribute(Double value)
value
- Double to encapsulatepublic String rawToString()
Constant
rawToString
in class Constant
public Double getValue()
public int hashCode()
public boolean equals(Object oth)
public int compareTo(Term other)
Copyright © 2020 University of California, Santa Cruz. All rights reserved.