public class ConnectionKey extends Object
Modifier and Type | Field and Description |
---|---|
private String |
name
the name of user.
|
private String |
pass
the password of user.
|
Constructor and Description |
---|
ConnectionKey(String name,
String pass)
Creates a new ConnectionKey object for user's name and password.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
private String name
private String pass
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.hashCode()
Copyright © 2019 ScalAgent D.T.. All rights reserved.