public enum BitPattern extends java.lang.Enum<BitPattern> implements BitPatternGenerator
Enum Constant and Description |
---|
ALTERNATING |
MINUS_ONES |
ONES |
PILOT |
PREDEFINED |
RANDOM |
SINGLE_ONE |
ZEROS |
Modifier and Type | Method and Description |
---|---|
DigitalSignal |
getOutput(int i) |
int |
getTriggerPeriod() |
java.lang.String |
toString() |
static BitPattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BitPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BitPattern RANDOM
public static final BitPattern PREDEFINED
public static final BitPattern ONES
public static final BitPattern MINUS_ONES
public static final BitPattern ALTERNATING
public static final BitPattern SINGLE_ONE
public static final BitPattern ZEROS
public static final BitPattern PILOT
public static BitPattern[] values()
for (BitPattern c : BitPattern.values()) System.out.println(c);
public static BitPattern valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<BitPattern>
public DigitalSignal getOutput(int i)
getOutput
in interface BitPatternGenerator
public int getTriggerPeriod()
getTriggerPeriod
in interface BitPatternGenerator