Enum Class FpgaId
- All Implemented Interfaces:
Serializable
,Comparable<FpgaId>
,Constable
The FPGAs that manage inter-board links.
- Author:
- Christian-B
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
BOTTOM
The FGPA link that connects to the bottom and bottom right chips. -
LEFT
The FGPA link that connects to the left and top left chips. -
TOP_RIGHT
The FGPA link that connects to the top and right chips.
-
-
Field Details
-
id
public final int idThe physical ID for this link.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
byId
Obtain the enum from the ID.- Parameters:
id
- The physical ID for the FPGA link.- Returns:
- The ID as an enum
- Throws:
ArrayIndexOutOfBoundsException
- Thrown if the ID is outside the known range.
-