List of usage examples for java.util ServiceLoader toString
public String toString()
From source file:Main.java
public static void main(String[] args) { ServiceLoader<JavaCompiler> compilers = ServiceLoader.load(JavaCompiler.class); System.out.println(compilers.toString()); for (JavaCompiler compiler : compilers) System.out.println(compiler); }
From source file:EnumAlternateJavaCompilers.java
public static void main(String[] args) { ServiceLoader<JavaCompiler> compilers; compilers = ServiceLoader.load(JavaCompiler.class); System.out.println(compilers.toString()); for (JavaCompiler compiler : compilers) System.out.println(compiler); }