rcf.core.util.groups
Class ImmutablePair.Accessor<A,B>
java.lang.Object
rcf.core.util.groups.ImmutableSingleton<A>
rcf.core.util.groups.ImmutablePair<rcf.core.util.accessor.Accessor<? super A>,rcf.core.util.accessor.Accessor<? super B>>
rcf.core.util.groups.ImmutablePair.Accessor<A,B>
- Type Parameters:
A - The type of the first entry in each pair.B - The type of the second entry in each pair.
- All Implemented Interfaces:
- rcf.core.util.accessor.Accessor<ImmutablePairInterface<A,B>>, ImmutablePairInterface<rcf.core.util.accessor.Accessor<? super A>,rcf.core.util.accessor.Accessor<? super B>>, ImmutableSingletonInterface<rcf.core.util.accessor.Accessor<? super A>>
- Enclosing class:
- ImmutablePair<A,B>
public static class ImmutablePair.Accessor<A,B>
- extends ImmutablePair<rcf.core.util.accessor.Accessor<? super A>,rcf.core.util.accessor.Accessor<? super B>>
- implements rcf.core.util.accessor.Accessor<ImmutablePairInterface<A,B>>
TODO: Javadoc
Binds a pair of accessors to form a pair accessor. This class is also a
pair itself, allowing easy access to the element accessors which it uses.
- Version:
- $Revision: 1.29 $
- Author:
- Greg Gibeling
|
Constructor Summary |
ImmutablePair.Accessor(rcf.core.util.accessor.Accessor<? super A> _a,
rcf.core.util.accessor.Accessor<? super B> _b)
TODO: Javadoc
Construct a pair accessor from the two element accessors |
ImmutablePair.Accessor
public ImmutablePair.Accessor(rcf.core.util.accessor.Accessor<? super A> _a,
rcf.core.util.accessor.Accessor<? super B> _b)
- TODO: Javadoc
Construct a pair accessor from the two element accessors
- Parameters:
_a - The A type accessor._b - The B type accessor.
equals
public boolean equals(ImmutablePairInterface<A,B> arg0,
ImmutablePairInterface<A,B> arg1)
- Specified by:
equals in interface rcf.core.util.accessor.Accessor<ImmutablePairInterface<A,B>>
hashCode
public int hashCode(ImmutablePairInterface<A,B> arg0)
- Specified by:
hashCode in interface rcf.core.util.accessor.Accessor<ImmutablePairInterface<A,B>>
toString
public String toString(ImmutablePairInterface<A,B> arg0)
- Specified by:
toString in interface rcf.core.util.accessor.Accessor<ImmutablePairInterface<A,B>>