E
- The type of item to be used.final class ItemWrapper<E>
extends java.lang.Object
Constructor and Description |
---|
ItemWrapper(E item,
java.util.function.Function<E,java.lang.String> toString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
(package private) E |
getItem() |
int |
hashCode() |
java.lang.String |
toString() |
E getItem()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object