|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecthydroScalingAPI.tools.Pair
public class Pair
An auxiliary object composed by two properties. It allows to sort a group of this objects using property1
| Field Summary | |
|---|---|
float |
property1
The master property |
float |
property2
The secondary property |
| Constructor Summary | |
|---|---|
Pair(float a,
float b)
Creates a new instance of Pair |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
The compareTo implementation for the Pair object |
static void |
main(java.lang.String[] args)
Tests for the class |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float property1
public float property2
| Constructor Detail |
|---|
public Pair(float a,
float b)
a - The value to assign to the master propertyb - The value to assign to the secondary property| Method Detail |
|---|
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - The object to be compared against
public static void main(java.lang.String[] args)
args - the command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.