Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-5502

Added new fromMapKeys() and fromMapValues() methods to ListUtil

    Details

      Description

      The following method has been added to ListUtil:

      public static <E> List<E> fromMapKeys(Map<E, ?> map)
      public static <E> List<E> fromMapValues(Map<?, E> map)

      The new methods provides an efficient method to convert a Map to a List.

      Where applicable, the new methods has been applied in the portal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel.kong Samuel Kong
                Reporter:
                samuel.kong Samuel Kong
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  6.0 EE SP2 (6.0.12)