net.sf.staccatocommons.defs.partial
Interface FirstAware<A>

Type Parameters:
A -
All Known Subinterfaces:
Tuple2<A,B>, Tuple3<A,B,C>, Tuple4<A,B,C,D>

public interface FirstAware<A>

Interface for accessing the first element of a tuple

Author:
flbulgarelli

Method Summary
 A _0()
          Synonym for first()
 A first()
          Answers the first component
 

Method Detail

first

A first()
Answers the first component

Returns:
the first component

_0

A _0()
Synonym for first()

Returns:
first()


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads