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

Mistype of Function.identity class name in Example of java.util.stream.Collectors.toMap()/toConcurrentMap()

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      In example of java.util.stream.Collectors (both toMap() and toConcurrentMap() methods), the class name Function.identity() is mistyped as Functions.identity().

      There is only java.util.function.Function interface, no Functions interface in core JDK.


      URL OF FAULTY DOCUMENTATION :
      http://docs.oracle.com/javase/8/docs/api/java/util/stream/Collectors.html

            psonal Pallavi Sonal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: