T - @Immutable public final class Wrapper<T> extends Object implements Immutable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static <T> Wrapper<T> |
of(T array) |
static <T> Wrapper<T> |
of(T value,
ToIntFunction<? super T> hashFunction,
BiPredicate<? super T,? super T> equalsFunction) |
static <T> Wrapper<T> |
of(T value,
ToIntFunction<? super T> hashFunction,
BiPredicate<? super T,? super T> equalsFunction,
Function<? super T,String> toStringFunction) |
String |
toString() |
T |
value() |
public static <T> Wrapper<T> of(T array)
T - array - public static <T> Wrapper<T> of(T value, ToIntFunction<? super T> hashFunction, BiPredicate<? super T,? super T> equalsFunction)
T - value - hashFunction - equalsFunction - public static <T> Wrapper<T> of(T value, ToIntFunction<? super T> hashFunction, BiPredicate<? super T,? super T> equalsFunction, Function<? super T,String> toStringFunction)
T - value - hashFunction - equalsFunction - toStringFunction - public T value()
public boolean equals(Object obj)
Copyright © 2021. All rights reserved.