org.deegree_impl.model.resources
Class WeakHashSet.WeakElement

java.lang.Object
  extended byjava.lang.ref.Reference
      extended byjava.lang.ref.WeakReference
          extended byorg.deegree_impl.model.resources.WeakHashSet.WeakElement
Enclosing class:
WeakHashSet

private final class WeakHashSet.WeakElement
extends java.lang.ref.WeakReference

A weak reference to an element.

Version:
1.0
Author:
Martin Desruisseaux

Nested Class Summary
 
Nested classes inherited from class java.lang.ref.Reference
 
Field Summary
(package private)  int index
          Index for this element in WeakHashSet.table.
(package private)  WeakHashSet.WeakElement next
          The next entry, or null if there is none.
 
Fields inherited from class java.lang.ref.Reference
 
Constructor Summary
(package private) WeakHashSet.WeakElement(java.lang.Object obj, WeakHashSet.WeakElement next, int index)
          Construct a new weak reference.
 
Method Summary
 void clear()
          Clear the reference.
 
Methods inherited from class java.lang.ref.Reference
enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

WeakHashSet.WeakElement next
The next entry, or null if there is none.


index

int index
Index for this element in WeakHashSet.table. This index must be updated at every WeakHashSet.rehash(boolean) call.

Constructor Detail

WeakHashSet.WeakElement

WeakHashSet.WeakElement(java.lang.Object obj,
                        WeakHashSet.WeakElement next,
                        int index)
Construct a new weak reference.

Method Detail

clear

public void clear()
Clear the reference.