org.apache.xml.security.stax.ext
Class ComparableType<T extends ComparableType>

java.lang.Object
  extended by org.apache.xml.security.stax.ext.ComparableType<T>
All Implemented Interfaces:
Comparable<T>
Direct Known Subclasses:
SecurityEventConstants.Event, SecurityTokenConstants.KeyIdentifier, SecurityTokenConstants.KeyUsage, SecurityTokenConstants.TokenType, SecurityTokenConstants.TokenUsage, XMLSecurityConstants.Action, XMLSecurityConstants.AlgorithmUsage

public abstract class ComparableType<T extends ComparableType>
extends Object
implements Comparable<T>

Version:
$Revision: $ $Date: $
Author:
$Author: $

Constructor Summary
ComparableType(String name)
           
 
Method Summary
 int compareTo(T o)
           
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComparableType

public ComparableType(String name)
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(T o)
Specified by:
compareTo in interface Comparable<T extends ComparableType>


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.