Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

freemarker.testcase.models
Class BooleanHash2  view BooleanHash2 download BooleanHash2.java

java.lang.Object
  extended byfreemarker.testcase.models.BooleanHash2
All Implemented Interfaces:
freemarker.template.TemplateHashModel, freemarker.template.TemplateModel

public class BooleanHash2
extends java.lang.Object
implements freemarker.template.TemplateHashModel

Tests the impact that the isEmpty() has on template hash models.

Version:
$Id: BooleanHash2.java,v 1.12 2004/01/06 17:06:44 szegedia Exp $

Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
BooleanHash2()
           
 
Method Summary
 freemarker.template.TemplateModel get(java.lang.String key)
          Gets a TemplateModel from the hash.
 boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanHash2

public BooleanHash2()
Method Detail

get

public freemarker.template.TemplateModel get(java.lang.String key)
Gets a TemplateModel from the hash.

Specified by:
get in interface freemarker.template.TemplateHashModel

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface freemarker.template.TemplateHashModel