Some material for a java class I'm holding