edu.udo.cs.yale.example
Class StratifiedPartitionBuilder.ExampleIndex

java.lang.Object
  extended by edu.udo.cs.yale.example.StratifiedPartitionBuilder.ExampleIndex
All Implemented Interfaces:
java.lang.Comparable<StratifiedPartitionBuilder.ExampleIndex>
Enclosing class:
StratifiedPartitionBuilder

private static class StratifiedPartitionBuilder.ExampleIndex
extends java.lang.Object
implements java.lang.Comparable<StratifiedPartitionBuilder.ExampleIndex>

Helper class for sorting according to class values.


Field Summary
(package private)  double classIndex
           
(package private)  int exampleIndex
           
 
Constructor Summary
StratifiedPartitionBuilder.ExampleIndex(int exampleIndex, double classIndex)
           
 
Method Summary
 int compareTo(StratifiedPartitionBuilder.ExampleIndex e)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exampleIndex

int exampleIndex

classIndex

double classIndex
Constructor Detail

StratifiedPartitionBuilder.ExampleIndex

public StratifiedPartitionBuilder.ExampleIndex(int exampleIndex,
                                               double classIndex)
Method Detail

compareTo

public int compareTo(StratifiedPartitionBuilder.ExampleIndex e)
Specified by:
compareTo in interface java.lang.Comparable<StratifiedPartitionBuilder.ExampleIndex>

toString

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


Copyright © 2001-2006