my Java class