Module com.cryptoalgo.oursql.oursql
Package com.cryptoalgo.codable
Interface Encoder<T extends Enum<T>>
- Type Parameters:
T
- Enum of keys to key data with
- All Known Implementing Classes:
PreferencesEncoder
public interface Encoder<T extends Enum<T>>
An interface that will be implemented by a
encoder to allow encoding
Encodable
classes.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve an instance of aKeyedEncodingContainer
to be used to encode keyed data
-
Method Details
-
container
KeyedEncodingContainer<T> container()Retrieve an instance of aKeyedEncodingContainer
to be used to encode keyed data- Returns:
- An instance of a
KeyedEncodingContainer
-