public static class DefaultFeatureReferenceSelection.SelectionData extends Object implements Cloneable
Constructor and Description |
---|
SelectionData() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(FeatureReference reference) |
void |
clear() |
Object |
clone()
Creates a copy of the object.
|
boolean |
contains(FeatureReference reference) |
Set |
getSelected() |
int |
getSize() |
long |
getTotalSize() |
boolean |
isReversed() |
boolean |
remove(FeatureReference reference) |
void |
setReversed(boolean reversed) |
void |
setSelected(Set selected) |
void |
setTotalSize(long totalSize) |
public Set getSelected()
public void setSelected(Set selected)
selected
- the selected to setpublic boolean isReversed()
public void setReversed(boolean reversed)
reversed
- the reversed to setpublic long getTotalSize()
public void setTotalSize(long totalSize)
totalSize
- the totalSize to setpublic boolean add(FeatureReference reference)
public boolean remove(FeatureReference reference)
public void clear()
public boolean contains(FeatureReference reference)
public int getSize()
public Object clone() throws CloneNotSupportedException
Cloneable
clone
in class Object
CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.