Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
* Anything implementing this (or convertible to this) can be used by the {@link ch.njol.skript.conditions.CondContains}
* conditions.
*
* @param <Type> the type of objects that this container can check for containment.
* This represents the expected type of elements that the container
* is designed to hold or work with.
* When calling {@link #contains(Object)}, the parameter should be of this type,
* or safely castable to it.
* Implementations may use {@link #isSafeToCheck(Object)} to verify
* that an object is a suitable candidate before performing a containment check.
*
* @see AnyProvider
*/
@FunctionalInterface
Expand Down