org.kinsources.kiwa.actulog
Class WireIdIndex

java.lang.Object
  extended by org.kinsources.kiwa.actulog.WireIdIndex
All Implemented Interfaces:
java.lang.Iterable<Wire>

public class WireIdIndex
extends java.lang.Object
implements java.lang.Iterable<Wire>

The IdAccountIndex class represents an account index.

Author:
christian.momon@devinsy.fr

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

Constructor Detail

WireIdIndex

public WireIdIndex()
Method Detail

getById

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

isEmpty

public boolean isEmpty()
Returns:

isNotEmpty

public boolean isNotEmpty()
Returns:

iterator

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

keys

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

put

public Wire put(Wire source)

rebuild

public void rebuild(Wires source)
Parameters:
source -

remove

public void remove(Wire wire)
Parameters:
wire -

size

public int size()
Returns: