for Java