com.bea.security.entitlements.admin.rbac
Class SubjectComparator

java.lang.Object
  extended bycom.bea.security.entitlements.admin.rbac.SubjectComparator
All Implemented Interfaces:
java.util.Comparator

public class SubjectComparator
extends java.lang.Object
implements java.util.Comparator

Class used to compare if two users or Groups


Constructor Summary
SubjectComparator()
           
 
Method Summary
 int compare(java.lang.Object arg0, java.lang.Object arg1)
          Subjects of type "USER" or "GROUP" to compare
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

SubjectComparator

public SubjectComparator()
Method Detail

compare

public int compare(java.lang.Object arg0,
                   java.lang.Object arg1)
Subjects of type "USER" or "GROUP" to compare

Specified by:
compare in interface java.util.Comparator
Parameters:
arg0 - subject or group
arg1 - subject or group
Returns:
true if same, false otherwise


Copyright © 2007 BEA Systems Inc. All Rights Reserved.