net.curre.prefcount.util
Class LocaleExt.Triple

java.lang.Object
  extended by net.curre.prefcount.util.LocaleExt.Triple
Enclosing class:
LocaleExt

public static class LocaleExt.Triple
extends java.lang.Object

Class to represent a "locale-sensitive" component with its key. Even though at least one of keyStr or keyEnum is required, a triple is considered to be unique if it's component reference is unique. Components are compared using their references' values (basically, simply by obj1 == obj2).


Method Summary
 boolean equals(java.lang.Object o)
          
 int hashCode()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.