de.uni_paderborn.fujaba.fsa.unparse
Class WeakKey

java.lang.Object
  extended byjava.lang.ref.Reference
      extended byjava.lang.ref.WeakReference
          extended byde.uni_paderborn.fujaba.fsa.unparse.WeakKey

public class WeakKey
extends java.lang.ref.WeakReference

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.8 $
Author:
$Author: lowende $

Nested Class Summary
private static class WeakKey.MapEntry
          No comment provided by developer, please add a comment to improve documentation.
static class WeakKey.ReferenceIterator
          No comment provided by developer, please add a comment to improve documentation.
 
Nested classes inherited from class java.lang.ref.Reference
 
Field Summary
private  int hash
          Hashcode of key, stored here since the key may be tossed by the GC
private  java.util.Set set
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class java.lang.ref.Reference
 
Constructor Summary
private WeakKey(java.lang.Object k, java.util.Set set)
          Constructor for class WeakKey
private WeakKey(java.lang.Object k, java.util.Set set, java.lang.ref.ReferenceQueue q)
          Constructor for class WeakKey
 
Method Summary
static WeakKey create(java.lang.Object k, java.util.Set set)
          No comment provided by developer, please add a comment to improve documentation.
static WeakKey create(java.lang.Object k, java.util.Set set, java.lang.ref.ReferenceQueue q)
          No comment provided by developer, please add a comment to improve documentation.
 boolean equals(java.lang.Object o)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Set getSet()
          Get the set attribute of the WeakKey object
 int hashCode()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash

private final int hash
Hashcode of key, stored here since the key may be tossed by the GC


set

private final java.util.Set set
No comment provided by developer, please add a comment to improve documentation.

Constructor Detail

WeakKey

private WeakKey(java.lang.Object k,
                java.util.Set set)
Constructor for class WeakKey

Parameters:
k - No description provided
set - No description provided

WeakKey

private WeakKey(java.lang.Object k,
                java.util.Set set,
                java.lang.ref.ReferenceQueue q)
Constructor for class WeakKey

Parameters:
k - No description provided
set - No description provided
q - No description provided
Method Detail

create

public static WeakKey create(java.lang.Object k,
                             java.util.Set set)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
k - No description provided
set - No description provided
Returns:
No description provided

create

public static WeakKey create(java.lang.Object k,
                             java.util.Set set,
                             java.lang.ref.ReferenceQueue q)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
k - No description provided
set - No description provided
q - No description provided
Returns:
No description provided

equals

public boolean equals(java.lang.Object o)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
o - No description provided
Returns:
No description provided

hashCode

public int hashCode()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getSet

public java.util.Set getSet()
Get the set attribute of the WeakKey object

Returns:
The set value