it.unibo.cs.USI.tools
Class MappingValuePair

java.lang.Object
  extended by it.unibo.cs.USI.tools.MappingValuePair

public class MappingValuePair
extends java.lang.Object

Version:
Beta Jun 3, 2005 1:20:48 AM
Author:
Matteo Magnani

Field Summary
private  int mapping
           
private  double value
           
 
Constructor Summary
MappingValuePair(int mapping, double value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getMapping()
           
 double getValue()
           
 void setMapping(int mapping)
           
 void setValue(double value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mapping

private int mapping

value

private double value
Constructor Detail

MappingValuePair

public MappingValuePair(int mapping,
                        double value)
Parameters:
mapping -
value -
Method Detail

getMapping

public int getMapping()
Returns:
Returns the mapping.

setMapping

public void setMapping(int mapping)
Parameters:
mapping - The mapping to set.

getValue

public double getValue()
Returns:
Returns the value.

setValue

public void setValue(double value)
Parameters:
value - The value to set.

equals

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object