rcf.core.util.groups
Class ImmutableSingleton.Accessor<A>

java.lang.Object
  extended by rcf.core.util.groups.ImmutableSingleton<rcf.core.util.accessor.Accessor<? super A>>
      extended by rcf.core.util.groups.ImmutableSingleton.Accessor<A>
Type Parameters:
A - The type of the content element in each singleton.
All Implemented Interfaces:
rcf.core.util.accessor.Accessor<ImmutableSingletonInterface<A>>, ImmutableSingletonInterface<rcf.core.util.accessor.Accessor<? super A>>
Enclosing class:
ImmutableSingleton<A>

public static class ImmutableSingleton.Accessor<A>
extends ImmutableSingleton<rcf.core.util.accessor.Accessor<? super A>>
implements rcf.core.util.accessor.Accessor<ImmutableSingletonInterface<A>>

TODO: Javadoc Wrap an accessor to form an accessor which will operate over singletons. This class is also a singleton allowing easy access to the accessor it is wrapping.

Version:
$Revision: 1.27 $
Author:
Greg Gibeling

Nested Class Summary
 
Nested classes/interfaces inherited from class rcf.core.util.groups.ImmutableSingleton
ImmutableSingleton.Accessor<A>, ImmutableSingleton.Iterable<A>, ImmutableSingleton.Iterator<A>
 
Field Summary
 
Fields inherited from class rcf.core.util.groups.ImmutableSingleton
a
 
Constructor Summary
ImmutableSingleton.Accessor(rcf.core.util.accessor.Accessor<? super A> _a)
          TODO: Javadoc Construct a singleton accessor from an accessor.
 
Method Summary
 boolean equals(ImmutableSingletonInterface<A> arg0, ImmutableSingletonInterface<A> arg1)
           
 int hashCode(ImmutableSingletonInterface<A> arg0)
           
 String toString(ImmutableSingletonInterface<A> arg0)
           
 
Methods inherited from class rcf.core.util.groups.ImmutableSingleton
equals, get, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImmutableSingleton.Accessor

public ImmutableSingleton.Accessor(rcf.core.util.accessor.Accessor<? super A> _a)
TODO: Javadoc Construct a singleton accessor from an accessor.

Parameters:
_a - The accessor object which is to be wrapped.
Method Detail

equals

public boolean equals(ImmutableSingletonInterface<A> arg0,
                      ImmutableSingletonInterface<A> arg1)
Specified by:
equals in interface rcf.core.util.accessor.Accessor<ImmutableSingletonInterface<A>>

hashCode

public int hashCode(ImmutableSingletonInterface<A> arg0)
Specified by:
hashCode in interface rcf.core.util.accessor.Accessor<ImmutableSingletonInterface<A>>

toString

public String toString(ImmutableSingletonInterface<A> arg0)
Specified by:
toString in interface rcf.core.util.accessor.Accessor<ImmutableSingletonInterface<A>>