org.teatrove.tea.runtime
Class SubstitutionId

java.lang.Object
  extended by java.lang.ref.Reference<T>
      extended by java.lang.ref.WeakReference<Class<?>>
          extended by org.teatrove.tea.runtime.SubstitutionId

public class SubstitutionId
extends WeakReference<Class<?>>

Object used by template substitutions to uniquely identify themselves.

Author:
Brian S O'Neill

Constructor Summary
SubstitutionId(Object template, int blockId)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstitutionId

public SubstitutionId(Object template,
                      int blockId)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.