Samples of my Java code