com.rapidminer.gui.plotter
Class NameValue

java.lang.Object
  extended by com.rapidminer.gui.plotter.NameValue
All Implemented Interfaces:
java.lang.Comparable<NameValue>

public class NameValue
extends java.lang.Object
implements java.lang.Comparable<NameValue>

A helper class for keeping values and names together sortable.

Author:
Ingo Mierswa

Constructor Summary
NameValue(java.lang.String name, double value)
           
 
Method Summary
 int compareTo(NameValue o)
           
 java.lang.String getName()
           
 double getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValue

public NameValue(java.lang.String name,
                 double value)
Method Detail

compareTo

public int compareTo(NameValue o)
Specified by:
compareTo in interface java.lang.Comparable<NameValue>

getName

public java.lang.String getName()

getValue

public double getValue()


Copyright © 2001-2009 by Rapid-I