T
- Object typepublic abstract class AbstractIdentifier<T> extends Object implements Identifier
Identifier
backed by an immutable object. Subclasses have no control over hashCode()
and equals(Object)
, hence they should not add any fields.Constructor and Description |
---|
AbstractIdentifier(T value) |
public AbstractIdentifier(T value)
public final T getValue()
public final int hashCode()
hashCode
in interface Identifier
hashCode
in class Object
public final boolean equals(Object obj)
equals
in interface Identifier
equals
in class Object
public final @NonNull String toString()
toString
in interface Identifier
toString
in class Object
Copyright © 2019 OpenDaylight. All rights reserved.