easik.sketch.attribute
Class DataTypeSorter

java.lang.Object
  extended by easik.sketch.attribute.DataTypeSorter
All Implemented Interfaces:
java.util.Comparator

public class DataTypeSorter
extends java.lang.Object
implements java.util.Comparator

Class used to sort data types array

Since:
2006-08-21 Kevin Green
Version:
2006-08-21 Kevin Green
Author:
Kevin Green 2006

Constructor Summary
DataTypeSorter()
          Default constructor
 
Method Summary
 int compare(java.lang.Object objA, java.lang.Object objB)
          Compairs objects and return negative, zero, positive based on if they are to be before, same, or after each other
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

DataTypeSorter

public DataTypeSorter()
Default constructor

Method Detail

compare

public int compare(java.lang.Object objA,
                   java.lang.Object objB)
Compairs objects and return negative, zero, positive based on if they are to be before, same, or after each other

Specified by:
compare in interface java.util.Comparator
Parameters:
objA - The first object
objB - The second object
Returns:
-1, 0, 1 if they are to be before, same, or after each other