Package org.apache.commons.vfs2
Class UserAuthenticationData.Type
- java.lang.Object
-
- org.apache.commons.vfs2.UserAuthenticationData.Type
-
- All Implemented Interfaces:
java.lang.Comparable<UserAuthenticationData.Type>
- Enclosing class:
- UserAuthenticationData
public static class UserAuthenticationData.Type extends java.lang.Object implements java.lang.Comparable<UserAuthenticationData.Type>
Represents a user authentication item.
-
-
Constructor Summary
Constructors Constructor Description Type(java.lang.String type)Creates a new Type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(UserAuthenticationData.Type o)booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
Type
public Type(java.lang.String type)
Creates a new Type.- Parameters:
type- the type
-
-
Method Detail
-
compareTo
public int compareTo(UserAuthenticationData.Type o)
- Specified by:
compareToin interfacejava.lang.Comparable<UserAuthenticationData.Type>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- Returns:
- The hash code.
- Since:
- 2.0
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- The type.
- Since:
- 2.0
-
-