GNDMS 0.6.0
RESTful verison of GNDMS
Public Member Functions | Private Attributes

de.zib.gndms.common.stuff.util.Product< A, B > Class Reference

A simple implementation of a product type AxB. More...

List of all members.

Public Member Functions

 Product (final A first, final B second)
 Constructs a product element (a,b) in AxB.
final A getFirst ()
 Returns the first element of a product.
final B getSecond ()
 Returns the second element of a product.
final void setFirst (final A first)
 Sets the first element of a product.
final void setSecond (final B second)
 Sets the second element of a product.

Private Attributes

a
 The first entry.
b
 The second entry.

Detailed Description

A simple implementation of a product type AxB.

Parameters:
<A>The type of the first entry
<B>The type of the second entry
Author:
Ulrike Golas

Constructor & Destructor Documentation

de.zib.gndms.common.stuff.util.Product< A, B >.Product ( final A  first,
final B  second 
)

Constructs a product element (a,b) in AxB.

Parameters:
firstThe first entry.
secondThe second entry.

Member Function Documentation

final A de.zib.gndms.common.stuff.util.Product< A, B >.getFirst ( )

Returns the first element of a product.

Returns:
The first entry.
final B de.zib.gndms.common.stuff.util.Product< A, B >.getSecond ( )

Returns the second element of a product.

Returns:
The second entry.
final void de.zib.gndms.common.stuff.util.Product< A, B >.setFirst ( final A  first)

Sets the first element of a product.

Parameters:
firstThe first entry.
final void de.zib.gndms.common.stuff.util.Product< A, B >.setSecond ( final B  second)

Sets the second element of a product.

Parameters:
secondThe second entry.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations