public interface SequenceCodec<T>
Modifier and Type | Method and Description |
---|---|
boolean |
areOutcomesCompatible(java.lang.String[] outcomes)
Checks if the outcomes of the model are compatible with the codec.
|
SequenceValidator<T> |
createSequenceValidator()
Creates a sequence validator which can validate a sequence of outcomes.
|
Span[] |
decode(java.util.List<T> c)
Decodes a sequence T objects into Span objects.
|
T[] |
encode(Span[] names,
int length)
Encodes Span objects into a sequence of T objects.
|
Span[] decode(java.util.List<T> c)
c
- T[] encode(Span[] names, int length)
names
- length
- SequenceValidator<T> createSequenceValidator()
boolean areOutcomesCompatible(java.lang.String[] outcomes)
outcomes
- all possible model outcomesCopyright © 2010 - 2020 Adobe. All Rights Reserved