rcf.core.util.groups
Class ImmutableSingleton.Accessor<A>
java.lang.Object
rcf.core.util.groups.ImmutableSingleton<rcf.core.util.accessor.Accessor<? super A>>
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
|
Constructor Summary |
ImmutableSingleton.Accessor(rcf.core.util.accessor.Accessor<? super A> _a)
TODO: Javadoc
Construct a singleton accessor from an accessor. |
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.
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>>