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 int
compareTo(UserAuthenticationData.Type o)
boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Type
public Type(java.lang.String type)
Creates a new Type.- Parameters:
type
- the type
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public int compareTo(UserAuthenticationData.Type o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<UserAuthenticationData.Type>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- The hash code.
- Since:
- 2.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- The type.
- Since:
- 2.0
-
-