public final class LoginInfo extends Object implements Comparable<LoginInfo>
Constructor and Description |
---|
LoginInfo(String host,
int port,
String user,
char[] password)
Creates an Immutable instance of a LoginInfo from given 4-tuple.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LoginInfo that) |
boolean |
equals(Object other) |
String |
getHost() |
char[] |
getPassword() |
int |
getPort() |
String |
getUser() |
int |
hashCode() |
String |
toString() |
public LoginInfo(String host, int port, String user, char[] password)
host
- String representing hostport
- integer representing portuser
- String representing userpassword
- String representing passwordIllegalArgumentException
- if parameter contract is violatedCopyright © 2020. All rights reserved.