org.kinsources.kiwa.accounts
Class AccountIdIndex
java.lang.Object
org.kinsources.kiwa.accounts.AccountIdIndex
- All Implemented Interfaces:
- java.lang.Iterable<Account>
public class AccountIdIndex
- extends java.lang.Object
- implements java.lang.Iterable<Account>
The IdAccountIndex
class represents an account index.
- Author:
- christian.momon@devinsy.fr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountIdIndex
public AccountIdIndex()
clear
public void clear()
getById
public Account getById(long value)
- Parameters:
id
-
- Returns:
isEmpty
public boolean isEmpty()
- Returns:
isNotEmpty
public boolean isNotEmpty()
- Returns:
iterator
public java.util.Iterator<Account> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<Account>
- Returns:
keys
public java.util.Set<java.lang.Long> keys()
- Returns:
put
public Account put(Account source)
rebuild
public void rebuild(Accounts source)
- Parameters:
source
-
size
public int size()
- Returns: