Class sortTest.testElem

java.lang.Object
  |
  +--sortTest.testElem
Enclosing class:
sortTest

private class sortTest.testElem
extends java.lang.Object

Test data structure: index is the array index and val is the data element.

An array of testElem objects can be sorted by value and than rearranged back into the original order by sorting by index.


Field Summary
 int index
           
 double val
           
 
Constructor Summary
(package private) sortTest.testElem(int i)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

index

public int index

val

public double val
Constructor Detail

sortTest.testElem

sortTest.testElem(int i)