public class boks { T data; public boks(T data){ this.data = data; } public void setElement(T newData){ data = newData; } public T getElement(){ return data; } }