BrightSide Workbench Full Report + Source Code
org.turro.dossier.www.WorthPair Class Reference
Inheritance diagram for org.turro.dossier.www.WorthPair:
Collaboration diagram for org.turro.dossier.www.WorthPair:

Public Member Functions

 WorthPair (double value, String color)
 
double getValue ()
 
String getColor ()
 
int compareTo (WorthPair o)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 27 of file WorthPair.java.

Constructor & Destructor Documentation

◆ WorthPair()

org.turro.dossier.www.WorthPair.WorthPair ( double  value,
String  color 
)

Definition at line 32 of file WorthPair.java.

32  {
33  this.value = value;
34  this.color = color;
35  }

Member Function Documentation

◆ compareTo()

int org.turro.dossier.www.WorthPair.compareTo ( WorthPair  o)

Definition at line 46 of file WorthPair.java.

46  {
47  return CompareUtil.compare(value, o.value);
48  }

◆ getColor()

String org.turro.dossier.www.WorthPair.getColor ( )

Definition at line 41 of file WorthPair.java.

41  {
42  return color;
43  }

◆ getValue()

double org.turro.dossier.www.WorthPair.getValue ( )

Definition at line 37 of file WorthPair.java.

37  {
38  return value;
39  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: