org.kinsources.kiwa.kidarep
Class CollectionIdIndex

java.lang.Object
  extended by org.kinsources.kiwa.kidarep.CollectionIdIndex
All Implemented Interfaces:
java.lang.Iterable<Collection>

public class CollectionIdIndex
extends java.lang.Object
implements java.lang.Iterable<Collection>

The IdAccountIndex class represents an account index.

Author:
christian.momon@devinsy.fr

Constructor Summary
CollectionIdIndex()
           
 
Method Summary
 void clear()
           
 Collection getById(long value)
           
 boolean isEmpty()
           
 boolean isNotEmpty()
           
 java.util.Iterator<Collection> iterator()
           
 java.util.Set<java.lang.Long> keys()
           
 Collection put(Collection source)
           
 void rebuild(Collections source)
           
 void remove(Collection collection)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionIdIndex

public CollectionIdIndex()
Method Detail

clear

public void clear()

getById

public Collection getById(long value)
Parameters:
id -
Returns:

isEmpty

public boolean isEmpty()
Returns:

isNotEmpty

public boolean isNotEmpty()
Returns:

iterator

public java.util.Iterator<Collection> iterator()
Specified by:
iterator in interface java.lang.Iterable<Collection>
Returns:

keys

public java.util.Set<java.lang.Long> keys()
Returns:

put

public Collection put(Collection source)

rebuild

public void rebuild(Collections source)
Parameters:
source -

remove

public void remove(Collection collection)
Parameters:
wire -

size

public int size()
Returns: