mas.agentsHempelsSofa.algorithms
Class GeneralAlgorithms.SortObject

java.lang.Object
  extended by mas.agentsHempelsSofa.algorithms.GeneralAlgorithms.SortObject
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>
Enclosing class:
GeneralAlgorithms

public static class GeneralAlgorithms.SortObject
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>


Field Summary
 java.lang.Object data
           
 
Constructor Summary
GeneralAlgorithms.SortObject(java.lang.Object data, int key)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

public java.lang.Object data
Constructor Detail

GeneralAlgorithms.SortObject

public GeneralAlgorithms.SortObject(java.lang.Object data,
                                    int key)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.Object>


Copyright © 2012. All Rights Reserved.