rcf.core.util.groups
Interface TripleInterface<A,B,C>
- All Superinterfaces:
- ImmutablePairInterface<A,B>, ImmutableSingletonInterface<A>, ImmutableTripleInterface<A,B,C>, PairInterface<A,B>, SingletonInterface<A>
- All Known Implementing Classes:
- Triple
@Revision(value="$Revision: 1.9 $",
date="$Date: 2006/11/09 02:10:10 $",
tag="$Name: $")
public interface TripleInterface<A,B,C>- extends ImmutableTripleInterface<A,B,C>, PairInterface<A,B>
TODO: Javadoc
Contains methods for mutating the first, second and third elements in a pair
object, which can be virtualized. By using this interface, we can allow
classes to act as triples, without requiring them to inherit from the
Triple class.
- Version:
- $Revision: 1.9 $
- Author:
- Greg Gibeling
|
Method Summary |
void |
set(A a,
B b,
C c)
TODO: Javadoc |
A |
setA(A a)
TODO: Javadoc
Set the first element of this triple. |
B |
setB(B b)
TODO: Javadoc
Set the second element of this triple. |
C |
setC(C c)
TODO: Javadoc
Set the third element of this triple. |
setA
A setA(A a)
- TODO: Javadoc
Set the first element of this triple.
- Specified by:
setA in interface PairInterface<A,B>
- Parameters:
a - The new first element of this triple.
- Returns:
- The old first element on this triple.
- See Also:
SingletonInterface.set(Object)
setB
B setB(B b)
- TODO: Javadoc
Set the second element of this triple.
- Specified by:
setB in interface PairInterface<A,B>
- Parameters:
b - The new second element of this triple.
- Returns:
- The old second element on this triple.
- See Also:
PairInterface.setB(Object)
setC
C setC(C c)
- TODO: Javadoc
Set the third element of this triple.
- Parameters:
c - The new third element of this triple.
- Returns:
- The old third element on this triple.
set
void set(A a,
B b,
C c)
- TODO: Javadoc
- Parameters:
a - b - c -