Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129367

Typo in "Questions and Exercises: Nested Classes"

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • docs
    • None

      In http://docs.oracle.com/javase/tutorial/java/javaOO/QandE/nested-questions.html

      Define a method named print(java.util.Function<Integer, Boolean> iterator) that performs the same function as print(DataStructureIterator iterator). Invoke this method with a lambda expression to print elements that have an even index value. Invoke this method again with a lambda expression to print elements that have an odd index value.

      print(java.util.Function<Integer, Boolean> iterator) -> print(java.util.function.Function<Integer, Boolean> iterator)

            bhoran Bernard Horan (Inactive)
            rgallard Raymond Gallardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: