OnJava8-Examples icon indicating copy to clipboard operation
OnJava8-Examples copied to clipboard

Code Examples for the book "On Java 8"

Results 18 OnJava8-Examples issues
Sort by recently updated
recently updated
newest added

Hello, BruceEckel! When I run the code in Intellij IDEA will generate errors. But you have saying that append the root directory to the classpath will take it. So, How...

Switch label 'Tank t && ( // [1] t.type() == Type.TOXIC && t.level().percent()...' is unreachable

Added extra info about code🍉

public static String string1() { Random random = new Random(47); StringBuilder result = new StringBuilder("["); for (int i = 0; i < 25; i++) { result.append(random.nextInt(100)); result.append(","); } // This...

Since the current gradle build only supports openjdk15 and below, in order to run all examples, the most direct approach users can take would be to: A) Install openjdk 15...

After changes in commit 0edda160671ea991224c81422a8ec7a2d2049322 interface Algorithm was no longer implemented anywhere in there code, therefore can be safely removed.

when I use the command .\gradlew run, I get the follow error: FAILURE: Build failed with an exception. * Where: Build file 'I:\code\Java\OnJava8-Examples-master\build.gradle' line: 21 * What went wrong: A...