Public Member Functions | |
ModuleElement (int first, int last) throws IllegalArgumentException | |
Constructor takes the first and last channel of the element. | |
int | getFirst () |
First channel contained (0->1535). | |
int | getLast () |
Last channel contained (0->1535). | |
int | getNChannels () |
| |
boolean | isChannel () |
| |
boolean | isChip () |
| |
boolean | isLink () |
| |
boolean | isModule () |
| |
boolean | equals (Object e2) |
explicit equality operator
| |
boolean | superset (ModuleElement e2) |
| |
boolean | subset (ModuleElement e2) |
| |
boolean | overlaps (ModuleElement e2) |
| |
String | getClassName () |
void | write (OStream s, ObjectManager o) throws java.io.IOException |
Static Public Member Functions | |
ModuleElement | chip (int chip) |
Creates a ModuleElement that represents a chip. | |
ModuleElement | channel (int channel) |
Creates a ModuleElement that represents a channel. | |
ModuleElement | link (int link) |
Creates a ModuleElement that represents a link. | |
ModuleElement | module () |
Creates a ModuleElement that represents a module. | |
ModuleElement | read (IStream s, ObjectManager o) throws java.io.IOException |
|
Constructor takes the first and last channel of the element. 0,127 for chip 0 link 0, or perhaps 768, 895 for chip 0 link 1.
|
|
Creates a ModuleElement that represents a channel.
|
|
Creates a ModuleElement that represents a chip.
|
|
Creates a ModuleElement that represents a link.
|