public class SimpleContainerIdentity extends Object implements ContainerIdentity
| Constructor and Description |
|---|
SimpleContainerIdentity(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object identity)
Differentiate two identities.
|
String |
getId() |
int |
hashCode()
Allows quick verification to check is two identities are different.
|
String |
toString() |
public SimpleContainerIdentity(String id)
id - the container idpublic String getId()
public boolean equals(Object identity)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2004–2015 Github. All rights reserved.