
public class PrincipalComparator extends Object implements Comparator<Principal>, Serializable
| Constructor and Description |
|---|
PrincipalComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Principal o1,
Principal o2)
Compares two Principal objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic PrincipalComparator()
public int compare(Principal o1, Principal o2)
compare in interface Comparator<Principal>o1 - the first Principalo2 - the second PrincipalComparator.compare(Object, Object)Copyright © 2001-2016 The Apache Software Foundation. All rights reserved.