- Type Parameters:
From
- the encoded typeTo
- the decoded type
- All Superinterfaces:
Decoder<From,
To>
A compound decoder is used in a CompositeDecoder
to decode particular
types of objects.
- Since:
- 1.0
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
-
Method Details
-
canDecode
Determines whether the decoder can decode the type represented by the specified class.
- Type Parameters:
T
- the type of the object to decode- Parameters:
type
- the class of the object to decode- Returns:
- true if the decoder can decode the type, false otherwise
-
canDecode
Determines whether the decoder can decode the specified type.
- Parameters:
type
- the type of the object to decode- Returns:
- true if the decoder can decode the type, false otherwise
-