E
- Type of the element to encode.C
- Type of the coding format.public interface Decoder<E,C>
Modifier and Type | Method and Description |
---|---|
E |
decode(C code)
Decodes a code to reconstruct the original entity.
|
E decode(C code) throws IllegalArgumentException
code
- Code representing an entity.IllegalArgumentException
- If code
does not have the
appropriate format.Copyright © 2016. All Rights Reserved.