Class ImmutableCollections

java.lang.Object
org.apache.maven.api.plugin.descriptor.ImmutableCollections

class ImmutableCollections extends Object
  • Field Details

    • EMPTY_LIST

      private static final List<?> EMPTY_LIST
    • EMPTY_MAP

      private static final Map<?,?> EMPTY_MAP
  • Constructor Details

    • ImmutableCollections

      ImmutableCollections()
  • Method Details

    • copy

      static <E> List<E> copy(Collection<E> collection)
    • emptyList

      static <E> List<E> emptyList()
    • singletonList

      static <E> List<E> singletonList(E element)
    • copy

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

      static <K, V> Map<K,V> emptyMap()
    • singletonMap

      static <K, V> Map<K,V> singletonMap(K key, V value)
    • copy

      static Properties copy(Properties properties)
    • uoe

      private static UnsupportedOperationException uoe()