COMPACTED JAVA SOURCE EXAPLES