Exemplo n.º 1
0
 /** {@inheritDoc} */
 public int hashCode() {
   if (this.hash == 0) {
     int hash = 17;
     hash = 37 * hash + (language == null ? 0 : language.hashCode());
     hash = 37 * hash + (script == null ? 0 : script.hashCode());
     hash = 37 * hash + (country == null ? 0 : country.hashCode());
     hash = 37 * hash + (hyphenate == null ? 0 : hyphenate.hashCode());
     hash = 37 * hash + (hyphenationCharacter == null ? 0 : hyphenationCharacter.hashCode());
     hash =
         37 * hash
             + (hyphenationPushCharacterCount == null
                 ? 0
                 : hyphenationPushCharacterCount.hashCode());
     hash =
         37 * hash
             + (hyphenationRemainCharacterCount == null
                 ? 0
                 : hyphenationRemainCharacterCount.hashCode());
     this.hash = hash;
   }
   return this.hash;
 }
Exemplo n.º 2
0
 public PreferenceImpl getPreferenceImpl() {
   return preferenceImpl.getValue();
 }