public class Collaborators extends java.lang.Object implements java.lang.Iterable<Collaborator>
Collaborators class represents a dataset collaborator.| Constructor and Description |
|---|
Collaborators() |
Collaborators(int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
Collaborator |
add(Collaborator source) |
void |
addAll(Collaborators source) |
void |
clear() |
Collaborators |
copy()
This methods returns a shallow copy of the current object.
|
Collaborator |
getByAccountId(long id) |
Collaborator |
getByAccountId(java.lang.String id) |
Collaborator |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Collaborator> |
iterator() |
void |
remove(Collaborator account) |
Collaborators |
reverse() |
int |
size() |
Collaborators |
sortByFullName() |
Collaborators |
sortById() |
Collaborators |
sortByLastName() |
public Collaborators()
public Collaborators(int initialCapacity)
public Collaborator add(Collaborator source)
public void addAll(Collaborators source)
source - public void clear()
public Collaborators copy()
public Collaborator getByAccountId(long id)
id - public Collaborator getByAccountId(java.lang.String id)
id - public Collaborator getByIndex(int index)
id - public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Collaborator> iterator()
iterator in interface java.lang.Iterable<Collaborator>public void remove(Collaborator account)
id - public Collaborators reverse()
public int size()
public Collaborators sortByFullName()
public Collaborators sortById()
public Collaborators sortByLastName()