public class Password
extends java.lang.Object
Constructor and Description |
---|
Password(char[] value)
Constructor
|
Password(java.lang.String value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Securely clears the password value.
|
boolean |
compareTo(java.lang.String password) |
char[] |
getValue()
Determines the password value.
|
public Password(char[] value)
value
- The password valuejava.lang.NullPointerException
- Value is nullpublic Password(java.lang.String value)
value
- The password valuejava.lang.NullPointerException
- Value is null