class EnumSignalSourceChooser<E extends Enum<E>,F extends Enum<F>> extends IntSignalSourceChooser.OfEnumInt<E> implements EnumSignalSource<F>
IntSignalSourceChooser.OfEnum<E extends Enum<E>>, IntSignalSourceChooser.OfEnumInt<E extends Enum<E>>, IntSignalSourceChooser.OfInt
Constructor and Description |
---|
EnumSignalSourceChooser(EnumSignalSource<E> selector,
EnumSignalSource<F>... cases) |
Modifier and Type | Method and Description |
---|---|
Class<F> |
getEnumClass() |
choose, compileConvertToInt, getCases, getSelector
compileDefaultValue, getAsInt
alwaysThrow, compileDataFlow, compileOrDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
box, choose, choose, choose, chooseBoolean, chooseDouble, chooseEnum, chooseFloat, chooseInt, chooseLong, constant, of, stored
abs, add, choose, choose, choose, choose, clock, compileDataFlow, compileMainSignalSource, delayed, delayed, delayedFeedback, delayedFeedback, divide, equal, getAsInt, getConstantAsInt, getValueClass, greaterOrEqual, greaterThan, guard, hasConstantAsInt, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, positive, power, probe, publishStoredValueVariable, relateWith, sampleAndHold, subtract, zero, zipWith
compileDataFlowTo, hasDataFlowIO
@SafeVarargs public EnumSignalSourceChooser(EnumSignalSource<E> selector, EnumSignalSource<F>... cases)
public Class<F> getEnumClass()
getEnumClass
in interface EnumSignalSource<F extends Enum<F>>