com.rapidminer.gui.plotter
Class WeightIndex

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

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

The weight index is used by several plotters to keep track of weights for specific data table indices.

Author:
Ingo Mierswa

Constructor Summary
WeightIndex(int index, double weight)
           
 
Method Summary
 int compareTo(WeightIndex wi)
           
 boolean equals(java.lang.Object o)
           
 int getIndex()
           
 double getWeight()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightIndex

public WeightIndex(int index,
                   double weight)
Method Detail

getIndex

public int getIndex()

getWeight

public double getWeight()

compareTo

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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2001-2009 by Rapid-I