Package eu.bandm.sig.adlib2
Class EnumSignalSourceChooser<E extends Enum<E>,F extends Enum<F>>
java.lang.Object
eu.bandm.sig.adlib2.AbstractSignalSourceChooser
eu.bandm.sig.adlib2.IntSignalSourceChooser
eu.bandm.sig.adlib2.IntSignalSourceChooser.OfInt
eu.bandm.sig.adlib2.IntSignalSourceChooser.OfEnumInt<E>
eu.bandm.sig.adlib2.EnumSignalSourceChooser<E,F>
- All Implemented Interfaces:
AbstractSignalSource
,CompilableDataFlow
,EnumSignalSource<F>
,IntSignalSource
,IntSupplier
class EnumSignalSourceChooser<E extends Enum<E>,F extends Enum<F>>
extends IntSignalSourceChooser.OfEnumInt<E>
implements EnumSignalSource<F>
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.sig.adlib2.IntSignalSourceChooser
IntSignalSourceChooser.OfEnum<E extends Enum<E>>, IntSignalSourceChooser.OfEnumInt<E extends Enum<E>>, IntSignalSourceChooser.OfInt
-
Constructor Summary
ConstructorDescriptionEnumSignalSourceChooser
(EnumSignalSource<E> selector, EnumSignalSource<F>... cases) -
Method Summary
Methods inherited from class eu.bandm.sig.adlib2.IntSignalSourceChooser.OfInt
choose, compileConvertToInt, getCases, getSelector
Methods inherited from class eu.bandm.sig.adlib2.IntSignalSourceChooser
compileDefaultValue, getAsInt
Methods inherited from class eu.bandm.sig.adlib2.AbstractSignalSourceChooser
alwaysThrow, compileDataFlow, compileOrDefault
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib2.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIO
Methods inherited from interface eu.bandm.sig.adlib2.EnumSignalSource
box, choose, chooseBoolean, chooseDouble, chooseEnum, chooseFloat, chooseInt, chooseLong, stored
Methods inherited from interface eu.bandm.sig.adlib2.IntSignalSource
abs, add, asInt, compileDataFlow, compileMainSignalSource, DEBUG, delayed, delayed, 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
-
Constructor Details
-
EnumSignalSourceChooser
@SafeVarargs public EnumSignalSourceChooser(EnumSignalSource<E> selector, EnumSignalSource<F>... cases)
-
-
Method Details
-
getEnumClass
- Specified by:
getEnumClass
in interfaceEnumSignalSource<E extends Enum<E>>
-