Skip to content

Latest commit

 

History

History
 
 

ocp-upgrade-java8

Folders and files

ocp-upgrade-java8

#####These are preparation materials for the Oracle's "Upgrade to Java SE 8 Programmer" exam (1Z1-810).

####Exam topics:

#####1. Lambda Expressions

#####2. Using Built in Lambda Types

Functional interface Function descriptor Primitive specializations
Predicate<T> T -> boolean IntPredicate, LongPredicate, DoublePredicate
Consumer<T> T -> void IntConsumer, LongConsumer, DoubleConsumer
Function<T, R> T -> R IntFunction, IntToDoubleFunction, IntToLongFunction, LongFunction, LongToDoubleFunction, LongToIntFunction, DoubleFunction, ToIntFunction, ToDoubleFunction, ToLongFunction
Supplier<T> () -> T BooleanSupplier, IntSupplier, LongSupplier, DoubleSupplier
UnaryOperator<T> T -> T IntUnaryOperator, LongUnaryOperator, DoubleUnaryOperator
BinaryOperator<T> (T, T) -> T IntBinaryOperator, LongBinaryOperator, DoubleBinaryOperator

#####3. Filtering Collections with Lambdas

#####4. Collection Operations with Lambda

#####5. Parallel Streams

#####6. Lambda Cookbook

#####7. Method Enhancements

  • 7.1. Adding static methods to interfaces
  • 7.2. Define and use a default method of a interface; Describe the inheritance rules for a default method

#####8. Use Java SE 8 Date/Time API - 10%

  • 8.1. Create and manage date-based and time-based events; including combination of date and time into a single object using LocalDate, LocalTime, LocalDateTime, Instant, Period, Duration
  • 8.2. Work with dates and times across time-zones and manage changes resulting from daylight savings
  • 8.3. Define and create timestamps, periods and durations; apply formatting to local and zoned dates and times

#####9.JavaScript on Java with Nashorn

  • 9.1. Develop Javascript code that creates and uses Java members such as Java objects, methods, JavaBeans, Arrays, Collections, Interfaces.
  • 9.2. Develop code that evaluates JavaScript in java, passes Java object to Javascript, invokes Javascript function and calls methods on Javascript objects.