freemarker.template.utility
Class Collections12

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

public class Collections12
extends java.lang.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 java.util.Map EMPTY_MAP
           
 
Method Summary
static java.util.List singletonList(java.lang.Object o)
           
static java.util.Map singletonMap(java.lang.Object key, java.lang.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 java.util.Map EMPTY_MAP
Method Detail

singletonMap

public static java.util.Map singletonMap(java.lang.Object key,
                                         java.lang.Object value)

singletonList

public static java.util.List singletonList(java.lang.Object o)