Class IdentityWrapper<T>
java.lang.Object
jdk.jpackage.internal.util.IdentityWrapper<T>
- Type Parameters:
T- the type of the wrapped value
Object wrapper implementing
Object.equals(Object) such that it
returns true only when the argument is another instance of this class
wrapping the same object.
The class guarantees that Object.equals(Object) and
Object.hashCode() methods of the wrapped object will never be called
inside of the class methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()toString()value()static <T> IdentityWrapper<T> wrapIdentity(T v)
-
Constructor Details
-
IdentityWrapper
-
-
Method Details
-
value
-
hashCode
-
equals
-
toString
-
wrapIdentity
-