public class Collections extends java.lang.Object implements java.lang.Iterable<Collection>
Collections
class represents an account collection.Constructor and Description |
---|
Collections() |
Collections(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
Collection |
add(Collection source) |
void |
addAll(Collections source) |
void |
clear() |
Collections |
copy()
This methods returns a shallow copy of the current object.
|
Collections |
findCollectionsWith(Dataset criteria) |
Collection |
getByIndex(int index) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Collection> |
iterator() |
long |
lastId() |
void |
remove(Collection account) |
Collections |
reverse() |
int |
size() |
Collections |
sortById() |
public Collections()
public Collections(int initialCapacity)
public Collection add(Collection source)
public void addAll(Collections source)
source
- public void clear()
public Collections copy()
public Collections findCollectionsWith(Dataset criteria)
criteria
- public Collection getByIndex(int index)
id
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Collection> iterator()
iterator
in interface java.lang.Iterable<Collection>
public long lastId()
public void remove(Collection account)
id
- public Collections reverse()
public int size()
public Collections sortById()