Interface Adapter<T>
- Type Parameters:
T
- the type of the wrapped value
- All Superinterfaces:
ConfigurationSerializable
- All Known Implementing Classes:
BigDecimal
,BigInteger
,DateTime.Date
,DateTime.Duration
,DateTime.HijrahDate
,DateTime.Instant
,DateTime.JapaneseDate
,DateTime.LocalDate
,DateTime.LocalDateTime
,DateTime.LocalTime
,DateTime.MinguoDate
,DateTime.OffsetDateTime
,DateTime.OffsetTime
,DateTime.Period
,DateTime.ThaiBuddhistDate
,DateTime.Year
,DateTime.YearMonth
,DateTime.ZonedDateTime
,Enum
,JavaCollection
,JavaMap
,Primitives.Boolean
,Primitives.Byte
,Primitives.Character
,Primitives.Double
,Primitives.Float
,Primitives.Integer
,Primitives.Long
,Primitives.Short
,ScalaCollection.ScalaSeq
,ScalaCollection.ScalaSet
,ScalaMap
,UUID
Represents a wrapper for types that dont implement ConfigurationSerializable
by themselves.
This class is used by RuntimeConversions
to deserialize underlying objects.
-
Method Summary
Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
Method Details
-
getValue
T getValue()Get the value that is wrapped by this adapter.- Returns:
- the value
-