freemarker.template.utility
Class Collections12

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

public class Collections12
extends Object

Implementation of missing JDK 1.3 collection features for JDK 1.2

Version:
$Id: Collections12.java,v 1.2 2004/11/27 14:49:57 ddekany Exp $
Author:
Attila Szegedi

Field Summary
static Map EMPTY_MAP
           
 
Method Summary
static List singletonList(Object o)
           
static Map singletonMap(Object key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_MAP

public static final Map EMPTY_MAP
Method Detail

singletonMap

public static Map singletonMap(Object key,
                               Object value)

singletonList

public static List singletonList(Object o)