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

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

public class ByteComparator
extends Object
implements Comparator<Byte>

Byte comparator.

Author:
Ales Justin

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

ByteComparator

public ByteComparator()
Method Detail

compare

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


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