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