public class Unit
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
Unit(java.lang.String name,
double modelValue) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
double |
getModelValue() |
java.lang.String |
getName() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public double getModelValue()
public java.lang.String getName()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable