public class UserPass
extends java.lang.Object
Constructor and Description |
---|
UserPass(java.lang.String username,
char[] password)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
char[] |
getPassword()
Returns the password.
|
java.lang.String |
getUsername()
Returns the username.
|
int |
hashCode() |
public UserPass(java.lang.String username, char[] password)
username
- user namepassword
- passwordpublic java.lang.String getUsername()
public char[] getPassword()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object