Package ch.njol.skript.classes
Class ChainedConverter<F,M,T>
java.lang.Object
ch.njol.skript.classes.ChainedConverter<F,M,T>
- Type Parameters:
F
- same as Converter's(from) M
- the middle type, i.e. the type the first converter converts to and the second converter comverts from.T
- same as Converter's(to)
- All Implemented Interfaces:
Converter<F,
T>
Deprecated.
Used to chain convertes to build a single converter. This is automatically created when a new converter is added.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.njol.skript.classes.Converter
Converter.ConverterInfo<F,
T>, Converter.ConverterUtils -
Field Summary
Fields inherited from interface ch.njol.skript.classes.Converter
NO_CHAINING, NO_COMMAND_ARGUMENTS, NO_LEFT_CHAINING, NO_RIGHT_CHAINING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Converts an object from the given to the desired type.static <F,
M, T> ChainedConverter <F, M, T> newInstance
(Converter<? super F, ?> first, Converter<?, ? extends T> second) Deprecated.toString()
Deprecated.
-
Constructor Details
-
Method Details
-
newInstance
public static <F,M, ChainedConverter<F,T> M, newInstanceT> (Converter<? super F, ?> first, Converter<?, ? extends T> second) Deprecated. -
convert
Deprecated.Description copied from interface:Converter
Converts an object from the given to the desired type. -
toString
Deprecated.
-
Converter