Package me.hsgamer.topper.query.holder
Class HolderQuery<K,V,H extends DataHolder<K,V>,A>
java.lang.Object
me.hsgamer.topper.query.simple.SimpleQuery<A,HolderQuery.Context<K,V,H>>
me.hsgamer.topper.query.holder.HolderQuery<K,V,H,A>
- All Implemented Interfaces:
BiFunction<A,,String, QueryResult> Query<A>
public abstract class HolderQuery<K,V,H extends DataHolder<K,V>,A>
extends SimpleQuery<A,HolderQuery.Context<K,V,H>>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHolderQuery.Context<K,V, H extends DataHolder<K, V>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<HolderQuery.Context<K, V, H>> getContext(@NotNull String query) protected abstract @NotNull SimpleQueryDisplay<K, V> getDisplay(H holder) protected booleanMethods inherited from class me.hsgamer.topper.query.simple.SimpleQuery
apply, registerAction, registerActorActionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
HolderQuery
protected HolderQuery()
-
-
Method Details
-
getHolder
-
getDisplay
-
isSingleHolder
protected boolean isSingleHolder() -
getKey
-
getContext
- Specified by:
getContextin classSimpleQuery<A,HolderQuery.Context<K, V, H extends DataHolder<K, V>>>
-