public class LongAttribute extends Object implements 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 |
toString() |
public LongAttribute(Long value)
value
- Double to encapsulatepublic String toString()
public Long getValue()
public int hashCode()
public boolean equals(Object oth)
public int compareTo(Term other)
compareTo
in interface Comparable<Term>
Copyright © 2018 University of California, Santa Cruz. All rights reserved.