00001 /* 00002 * To change this template, choose Tools | Templates 00003 * and open the template in the editor. 00004 */ 00005 00006 package example1; 00007 00013 public class MyContainer<T> { 00015 private T content; 00016 00021 public T getContent() { 00022 return content; 00023 } 00024 00029 public void setContent(T content) { 00030 this.content = content; 00031 } 00032 00033 00038 public MyContainer(T content) { 00039 this.content = content; 00040 } 00041 00045 public MyContainer() { 00046 } 00047 00048 }