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

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

public class ShortComparator
extends Object
implements Comparator<Short>

Short comparator.

Author:
Ales Justin

Field Summary
static Comparator<Short> INSTANCE
           
 
Constructor Summary
ShortComparator()
           
 
Method Summary
 int compare(Short o1, Short 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<Short> INSTANCE
Constructor Detail

ShortComparator

public ShortComparator()
Method Detail

compare

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


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