org.kinsources.kiwa.kidarep
Class Collaborators
java.lang.Object
org.kinsources.kiwa.kidarep.Collaborators
- All Implemented Interfaces:
- java.lang.Iterable<Collaborator>
public class Collaborators
- extends java.lang.Object
- implements java.lang.Iterable<Collaborator>
The Collaborators
class represents a dataset collaborator.
- Author:
- christian.momon@devinsy.fr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collaborators
public Collaborators()
Collaborators
public Collaborators(int initialCapacity)
add
public Collaborator add(Collaborator source)
addAll
public void addAll(Collaborators source)
- Parameters:
source
-
clear
public void clear()
copy
public Collaborators copy()
- This methods returns a shallow copy of the current object.
- Returns:
- a shallow copy of the current object.
getByAccountId
public Collaborator getByAccountId(long id)
- Parameters:
id
-
- Returns:
getByAccountId
public Collaborator getByAccountId(java.lang.String id)
- Parameters:
id
-
- Returns:
getByIndex
public Collaborator getByIndex(int index)
- Parameters:
id
-
- Returns:
isEmpty
public boolean isEmpty()
- Returns:
isNotEmpty
public boolean isNotEmpty()
- Returns:
iterator
public java.util.Iterator<Collaborator> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<Collaborator>
- Returns:
remove
public void remove(Collaborator account)
- Parameters:
id
-
reverse
public Collaborators reverse()
- Returns:
size
public int size()
- Returns:
sortByFullName
public Collaborators sortByFullName()
- Returns:
sortById
public Collaborators sortById()
- Returns:
sortByLastName
public Collaborators sortByLastName()
- Returns: