byte b = 0;
int a = b++;
System.out.print(a);
// :: is a new operator included in Java 8 that is used to
// refer a method of an existing class. Comes in useful when using optionals:
Optional<Soundcard> soundcard = ...;
soundcard.ifPresent(System.out::println);
byte b = 0;
int a = b++;
System.out.print(a);
// :: is a new operator included in Java 8 that is used to
// refer a method of an existing class. Comes in useful when using optionals:
Optional<Soundcard> soundcard = ...;
soundcard.ifPresent(System.out::println);