The Meta-Environment API

shared
Class SharedObjectFactory.Segment.EntryWithID

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<SharedObject>
          extended by shared.SharedObjectFactory.Segment.Entry
              extended by shared.SharedObjectFactory.Segment.EntryWithID
Enclosing class:
SharedObjectFactory.Segment

private static class SharedObjectFactory.Segment.EntryWithID
extends SharedObjectFactory.Segment.Entry

A bucket entry for a shared object with a unique identifier.

Author:
Arnold Lankamp

Field Summary
 int id
           
 
Fields inherited from class shared.SharedObjectFactory.Segment.Entry
hash, next
 
Constructor Summary
SharedObjectFactory.Segment.EntryWithID(SharedObjectFactory.Segment.Entry next, SharedObjectWithID sharedObjectWithID, int hash, int id)
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

public final int id
Constructor Detail

SharedObjectFactory.Segment.EntryWithID

public SharedObjectFactory.Segment.EntryWithID(SharedObjectFactory.Segment.Entry next,
                                               SharedObjectWithID sharedObjectWithID,
                                               int hash,
                                               int id)
Constructor.

Parameters:
next - The next entry in the bucket.
sharedObjectWithID - The shared object.
hash - The hash that is associated with the given shared object.
id - The unique identifier.

The Meta-Environment API