public class Password extends Object
| Constructor and Description |
|---|
Password(char[] value)
Constructor
|
Password(String value)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Securely clears the password value.
|
boolean |
compareTo(String password) |
char[] |
getValue()
Determines the password value.
|
public Password(char[] value)
value - The password valueNullPointerException - Value is nullpublic Password(String value)
value - The password valueNullPointerException - Value is nullpublic char[] getValue()
public void clear()
public boolean compareTo(String password)
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.