public final class SwitchData extends Object
| Constructor and Description |
|---|
SwitchData() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int n,
Label lbl)
Add a label
|
void |
addTableCase(int index,
long where) |
void |
addTableDefault(long where) |
Label |
get(int n)
Get a label
|
Label |
get(Integer n)
Get a label
|
boolean |
getDefault() |
Label |
getDefaultLabel()
Get the default label
|
void |
initTableCase() |
Enumeration<Integer> |
sortedKeys()
Return the keys of this enumaration sorted in ascending order
|
long |
whereCase(Object key) |
public Label get(int n)
public void add(int n,
Label lbl)
public Label getDefaultLabel()
public Enumeration<Integer> sortedKeys()
public void initTableCase()
public void addTableCase(int index,
long where)
public void addTableDefault(long where)
public long whereCase(Object key)
public boolean getDefault()
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.