Package com.comphenix.protocol.wrappers
Class BukkitConverters.IgnoreNullConverter<TType>
java.lang.Object
com.comphenix.protocol.wrappers.BukkitConverters.IgnoreNullConverter<TType>
- Type Parameters:
TType- - type that can be converted.
- All Implemented Interfaces:
EquivalentConverter<TType>
- Enclosing class:
BukkitConverters
@Deprecated
public abstract static class BukkitConverters.IgnoreNullConverter<TType>
extends Object
implements EquivalentConverter<TType>
Deprecated.
Represents a typical equivalence converter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.final ObjectgetGeneric(TType specific) Deprecated.Retrieve a copy of the generic type from a specific type.abstract ObjectgetGenericValue(TType specific) Deprecated.Retrieve a copy of the actual generic value.final TTypegetSpecific(Object generic) Deprecated.Retrieve a copy of the specific type using an instance of the generic type.abstract TTypegetSpecificValue(Object generic) Deprecated.Retrieve a copy of the specific type using an instance of the generic type.inthashCode()Deprecated.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.comphenix.protocol.reflect.EquivalentConverter
getSpecificType
-
Constructor Details
-
IgnoreNullConverter
public IgnoreNullConverter()Deprecated.
-
-
Method Details
-
getGeneric
Deprecated.Description copied from interface:EquivalentConverterRetrieve a copy of the generic type from a specific type.This is usually a native net.minecraft.server type in Minecraft.
- Specified by:
getGenericin interfaceEquivalentConverter<TType>- Parameters:
specific- - the specific type we need to copy.- Returns:
- A copy of the specific type.
-
getGenericValue
Deprecated.Retrieve a copy of the actual generic value.- Parameters:
specific- - the specific type-- Returns:
- A copy of the specific type.
-
getSpecific
Deprecated.Description copied from interface:EquivalentConverterRetrieve a copy of the specific type using an instance of the generic type.This is usually a wrapper type in the Bukkit API or ProtocolLib API.
- Specified by:
getSpecificin interfaceEquivalentConverter<TType>- Parameters:
generic- - the generic type.- Returns:
- The new specific type.
-
getSpecificValue
Deprecated.Retrieve a copy of the specific type using an instance of the generic type.- Parameters:
generic- - generic type.- Returns:
- A copy of the specific type.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-
Converters.ignoreNull(EquivalentConverter)