Class MethodHandleValueCreateHandle<T>
- java.lang.Object
-
- org.hibernate.search.util.common.reflect.impl.MethodHandleValueCreateHandle<T>
-
- All Implemented Interfaces:
Function<Object[],T>,ValueCreateHandle<T>
public final class MethodHandleValueCreateHandle<T> extends Object implements ValueCreateHandle<T>
-
-
Constructor Summary
Constructors Constructor Description MethodHandleValueCreateHandle(Member member, MethodHandle delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(Object... arguments)booleanequals(Object obj)inthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.util.common.reflect.spi.ValueCreateHandle
apply
-
-
-
-
Constructor Detail
-
MethodHandleValueCreateHandle
public MethodHandleValueCreateHandle(Member member, MethodHandle delegate)
-
-
Method Detail
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceValueCreateHandle<T>- Overrides:
hashCodein classObject
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceValueCreateHandle<T>- Overrides:
equalsin classObject- Returns:
trueifobjis aValueCreateHandlereferencing the exact same value accessor: same API (java.lang.invoke or java.lang.reflect), same element (same field or method), ...
-
create
public T create(Object... arguments)
- Specified by:
createin interfaceValueCreateHandle<T>
-
-