public class AngleVetoParameters
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
AngleVetoParameters() |
Modifier and Type | Method and Description |
---|---|
void |
addVeto(AngleVeto angleVeto)
Add a veto to the list.
|
AngleVetoParameters |
clone() |
AngleVeto |
getVeto(int index)
Get an angle veto from the list
|
int |
getVetoCount()
Get a count of the number of angle vetoes in the list
|
boolean |
removeVeto(AngleVeto angleVeto)
Remove a veto from the list.
|
void |
removeVeto(int index)
Remove a veto from the list
|
void |
replaceVeto(int index,
AngleVeto newOne)
Replace a veto in the list at given index.
|
public static final long serialVersionUID
public int getVetoCount()
public AngleVeto getVeto(int index)
index
- index of veto to retreive.public void addVeto(AngleVeto angleVeto)
angleVeto
- new angle vetopublic void removeVeto(int index)
index
- index of veto to removepublic boolean removeVeto(AngleVeto angleVeto)
angleVeto
- reference to veto to removepublic void replaceVeto(int index, AngleVeto newOne)
index
- index of veto to replacenewOne
- new vetopublic AngleVetoParameters clone()
clone
in class java.lang.Object