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

Typo in "Questions and Exercises: Nested Classes"

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            Assignee:
            bhoran Bernard Horan
            Reporter:
            rgallard Raymond Gallardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: