Modifier and Type | Method and Description |
---|---|
void |
add(Vote source) |
void |
clear() |
Votes |
copy()
This methods returns a shallow copy of the current object.
|
Vote |
getByOwnerId(long id) |
boolean |
isEmpty() |
boolean |
isNotEmpty() |
java.util.Iterator<Vote> |
iterator() |
void |
remove(Vote vote) |
int |
size() |
java.util.List<Vote> |
toList() |
public void add(Vote source)
log
- public void clear()
public Votes copy()
public Vote getByOwnerId(long id)
index
- public boolean isEmpty()
public boolean isNotEmpty()
public java.util.Iterator<Vote> iterator()
iterator
in interface java.lang.Iterable<Vote>
public void remove(Vote vote)
id
- public int size()
public java.util.List<Vote> toList()