com.opensymphony.xwork2.inject.util
Class ReferenceMap.ReferenceAwareWrapper

java.lang.Object
  extended by com.opensymphony.xwork2.inject.util.ReferenceMap.ReferenceAwareWrapper
Direct Known Subclasses:
ReferenceMap.KeyReferenceAwareWrapper
Enclosing class:
ReferenceMap<K,V>

static class ReferenceMap.ReferenceAwareWrapper
extends Object

Big hack. Used to compare keys and values to referenced keys and values without creating more references.


Field Summary
(package private)  Object wrapped
           
 
Constructor Summary
ReferenceMap.ReferenceAwareWrapper(Object wrapped)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
(package private)  Object unwrap()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrapped

Object wrapped
Constructor Detail

ReferenceMap.ReferenceAwareWrapper

ReferenceMap.ReferenceAwareWrapper(Object wrapped)
Method Detail

unwrap

Object unwrap()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.