wt.fc.collections
Class AbstractWTList.ConnectCache

java.lang.Object
  extended bywt.fc.collections.AbstractWTList.ConnectCache
Enclosing class:
AbstractWTList

private class AbstractWTList.ConnectCache
extends Object

Used to optimize the indexOf call required by connect.


Field Summary
private  Map cache
           
private  int expectedModcout
           
 
Constructor Summary
(package private) AbstractWTList.ConnectCache()
           
 
Method Summary
private  void add(int idx, WTReference r)
           
private  int indexOf(WTReference r)
           
private  void init()
           
private  void set(WTReference old_ref, WTReference new_ref)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedModcout

private int expectedModcout

cache

private final Map cache
Constructor Detail

AbstractWTList.ConnectCache

AbstractWTList.ConnectCache()
Method Detail

add

private void add(int idx,
                 WTReference r)

set

private void set(WTReference old_ref,
                 WTReference new_ref)

indexOf

private int indexOf(WTReference r)

init

private void init()