public static final class IdCredentials.Helpers extends Object
Object.equals(Object) and Object.hashCode() that implementations of
this class must use as the basis for equality tests and as the hash code.| Constructor and Description |
|---|
Helpers() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
equals(IdCredentials self,
Object o)
Standard
Object.equals(Object) implementation. |
static String |
fixEmptyId(String id)
Returns either the id or a generated new id if the supplied id is missing.
|
static int |
hashCode(IdCredentials self)
The standard
Object.hashCode() implementation. |
public static boolean equals(IdCredentials self, Object o)
Object.equals(Object) implementation.self - the this reference.o - the other object.public static int hashCode(IdCredentials self)
Object.hashCode() implementation.self - the this reference.Copyright © 2016–2017. All rights reserved.