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

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

public class NamedComparator
extends Object
implements Comparator<Name>

Named comparator.

Author:
Ales Justin

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

NamedComparator

public NamedComparator()
Method Detail

compare

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


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