|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
de.dfki.mycbr.core.casebase.Attribute
de.dfki.mycbr.core.casebase.SimpleAttribute
de.dfki.mycbr.core.casebase.DoubleAttribute
public final class DoubleAttribute
Represents integers in query/cases. To avoid unnecessary objects, objects of this class should only be created by integer ranges. For a fixed integer # description, the integer attributes will then be referenced.
| Method Summary | |
|---|---|
int |
compareTo(DoubleAttribute o)
Compares this attribute to the given one. |
double |
getValue()
Returns the numeric value of this attribute. |
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value. |
| Methods inherited from class de.dfki.mycbr.core.casebase.SimpleAttribute |
|---|
getAttributeDesc, getDesc, getExpType, getName, setDesc |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public double getValue()
public int compareTo(DoubleAttribute o)
compareTo in interface java.lang.Comparable<DoubleAttribute>o - the attribute which should be compared to this
public java.lang.String getValueAsString()
Attribute
getValueAsString in class Attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||