Package org.skriptlang.skript.util
Interface ViewProvider<T>
- Type Parameters:
T
- The type being viewed.
- All Known Subinterfaces:
Localizer
,Skript
,SkriptAddon
,SyntaxRegistry
- All Known Implementing Classes:
SkriptAddon
@Experimental
public interface ViewProvider<T>
For objects that can provide an unmodifiable view of themselves.
An unmodifiable view means that the object may only be used in a read-only manner (its values may not be changed).
Since it is a view, it will reflect any changes made to the object it was created from.
-
Method Summary
-
Method Details
-
unmodifiableView
Constructs an unmodifiable view ofthis
.- Returns:
- An unmodifiable view of
this
.
-