Interface for Java