example1.example1.MyContainer< T > Class Reference

List of all members.

Public Member Functions

T getContent ()
void setContent (T content)
 MyContainer (T content)
 MyContainer ()

Private Attributes

T content


Detailed Description

Container class contains some object.
Parameters:
T Objecttype
Author:
Rico

Definition at line 13 of file MyContainer.java.


Member Function Documentation

T example1.example1.MyContainer< T >.getContent (  ) 

returns the content.

Returns:
contained object

Definition at line 21 of file MyContainer.java.

void example1.example1.MyContainer< T >.setContent ( T  content  ) 

set a new content.

Parameters:
content object to be contained

Definition at line 29 of file MyContainer.java.

example1.example1.MyContainer< T >.MyContainer ( T  content  ) 

creates a new container with inition content

Parameters:
content initial content

Definition at line 38 of file MyContainer.java.

example1.example1.MyContainer< T >.MyContainer (  ) 

creates a new empty container

Definition at line 45 of file MyContainer.java.


Member Data Documentation

T example1.example1.MyContainer< T >.content [private]

contained object

Definition at line 15 of file MyContainer.java.


The documentation for this class was generated from the following file:

Generated on Sat Feb 16 18:02:45 2008 for HHB by  doxygen 1.5.5