org.jboss.metatype.api.types.helpers
Class IntegerComparator

java.lang.Object
  extended by org.jboss.metatype.api.types.helpers.IntegerComparator
All Implemented Interfaces:
Comparator<Integer>

public class IntegerComparator
extends Object
implements Comparator<Integer>

Integer comparator.

Author:
Ales Justin

Field Summary
static Comparator<Integer> INSTANCE
           
 
Constructor Summary
IntegerComparator()
           
 
Method Summary
 int compare(Integer o1, Integer o2)
           
 
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
 

Field Detail

INSTANCE

public static final Comparator<Integer> INSTANCE
Constructor Detail

IntegerComparator

public IntegerComparator()
Method Detail

compare

public int compare(Integer o1,
                   Integer o2)
Specified by:
compare in interface Comparator<Integer>


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.