• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java SE8 OCPJP interface list  RSS feed

 
Anupam Banerji
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was wondering if there's a list of key interfaces that should be learned (or known about) for the Java SE8 OCP exam.  For example, Runnable is one.  The others are the functional interfaces, e.g. BiFunction, Predicate, and so on.  Finally, there are functional interfaces for primitives, such as DoubleToIntFunction, and LongBinaryOperator.

Should I assume that everything in java.util.function is fair game?

https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html

 
Roel De Nijs
Sheriff
Posts: 11095
173
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anupam Banerji wrote:Should I assume that everything in java.util.function is fair game?

No! Although it might be for the part on streams, lambdas and predicates. But you have much more interfaces to study: e.g. Runnable, Collection, Set, List, Map, Runnable, Closeable, AutoCloseable, and so on.
 
Anupam Banerji
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:
Anupam Banerji wrote:Should I assume that everything in java.util.function is fair game?

No! Although it might be for the part on streams, lambdas and predicates. But you have much more interfaces to study: e.g. Runnable, Collection, Set, List, Map, Runnable, Closeable, AutoCloseable, and so on.


Thanks Roel.  In that case, has anyone ever created an comprehensive list of interfaces?  Learning the operations exposed by these goes a long way to understand their concrete implementations.
 
Roel De Nijs
Sheriff
Posts: 11095
173
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anupam Banerji wrote:In that case, has anyone ever created an comprehensive list of interfaces?  Learning the operations exposed by these goes a long way to understand their concrete implementations.

That's one of the reasons (maybe even the most important one) why certification exam study guides exist...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!