Package 

Class CollectionUtils

    • Method Summary

      Modifier and Type Method Description
      static <K, V> Map<K, V> copy(Map<K, V> map) Creates a shallow copy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • copy

         static <K, V> Map<K, V> copy(Map<K, V> map)

        Creates a shallow copy.

        Parameters:
        map - The map to be copied.