Collections12 (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.template.utility, class: Collections12

Package freemarker.template.utility

# Class Collections12

java.lang.Object
freemarker.template.utility.Collections12

@Deprecated public class Collections12 extends Object
Deprecated.
Not needed anymore, as FreeMarker now requires higher than Java 1.3
Implementation of missing JDK 1.3 collection features for JDK 1.2

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static Map`
  `EMPTY_MAP`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static List`
  `singletonList​(Object o)`
  Deprecated.
  `static Map`
  `singletonMap​(Object key, Object value)`
  Deprecated.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### EMPTY_MAP

    public static final Map EMPTY_MAP
    Deprecated.

- ## Method Details

  - ### singletonMap

    public static Map singletonMap​(Object key, Object value)
    Deprecated.

  - ### singletonList

    public static List singletonList​(Object o)
    Deprecated.