Class IdentityUtils.Wrapper<E>
- java.lang.Object
-
- com.hybris.cockpitng.core.util.impl.IdentityUtils.Wrapper<E>
-
- Type Parameters:
E- wrapped element's type
- Enclosing class:
- IdentityUtils
public static class IdentityUtils.Wrapper<E> extends java.lang.ObjectAn object that wraps any other in the way, thatequals(Object)andhashCode()depends only on wrapped object's instance.In other words two wrappers are considered as equal only if they wrap the same instance.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)EgetElement()inthashCode()
-