Searched refs:hashCode (Results 1 - 25 of 174) sorted by relevance

1234567

/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DObjectUtil.java44 Provides a variety of useful utilities for computing hashCode().
53 public static int hashCode(final boolean value) method in class:ObjectUtil
58 public static int hashCode(final Object... items) method in class:ObjectUtil
64 result ^= hashCode(item);
69 public static int hashCode(final Object o) method in class:ObjectUtil
71 return o == null ? 0 : o.hashCode();
74 public static int hashCode(final long value) method in class:ObjectUtil
79 public static int hashCode(final double value) method in class:ObjectUtil
81 return new Double(value).hashCode();
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DConnectionRequestInfo.java79 /** Returns the hashCode of the ConnectionRequestInfo.
84 int hashCode(); method in interface:ConnectionRequestInfo
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DLoginConfigurationImpl.java165 public int hashCode() { method in class:LoginConfigurationImpl
166 int hashCode = 1;
167 hashCode = 31 * hashCode + getAuthenticationMethod().hashCode();
170 hashCode = 31 * hashCode + getRealmName().hashCode();
173 hashCode = 31 * hashCode
[all...]
H A DResourcePrincipal.java54 static private final int NULL_HASH_CODE = Integer.valueOf(1).hashCode();
76 public int hashCode() { method in class:ResourcePrincipal
80 result += name.hashCode();
83 result += password.hashCode();
H A DSecurityRoleDescriptor.java89 public int hashCode() { method in class:SecurityRoleDescriptor
90 return this.getName().hashCode();
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DTimerPrimaryKey.java69 public int hashCode() method in class:TimerPrimaryKey
71 return timerId.hashCode();
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/
H A DNamingEntry.java116 public int hashCode() { method in class:NamingEntry
117 return name.hashCode();
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/
H A DPrivilegeImpl.java63 * Returns the hashCode ..
65 public int hashCode() { method in class:PrivilegeImpl
66 return name.hashCode();
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DBaseCache.java256 int h = x.hashCode();
320 * Cannot find an item with the given key and hashCode
322 * @param hashCode <code>int</code> its hashCode
327 protected Object loadValue(Object key, int hashCode) { argument
333 * @param hashCode for the entry
340 protected CacheItem createItem(int hashCode, Object key, argument
342 return new CacheItem(hashCode, key, value, size);
355 * @param hashCode of the entry
358 protected final int getIndex(int hashCode) { argument
387 get(int hashCode, Object key) argument
576 _put(int hashCode, Object key, Object value, int size, boolean addValue) argument
649 remove(int hashCode, Object key) argument
684 _remove(int hashCode, Object key, Object value) argument
1036 int hashCode; field in class:BaseCache.CacheItem
1043 CacheItem(int hashCode, Object key, Object value, int size) argument
[all...]
H A DFIFOEJBObjectCache.java117 int hashCode = hash(key);
119 return internalGet(hashCode, key, false);
124 int hashCode = hash(key);
126 return internalGet(hashCode, key, incrementRefCount);
130 int hashCode = hash(key);
132 return internalPut(hashCode, key, value, -1, false);
136 int hashCode = hash(key);
138 return internalPut(hashCode, key, value, -1, incrementRefCount);
188 protected Object internalGet(int hashCode, Object key, argument
191 int index = getIndex(hashCode);
228 internalPut(int hashCode, Object key, Object value, int size, boolean incrementRefCount) argument
357 createItem(int hashCode, Object key, Object value, int size) argument
366 EJBObjectCacheItem(int hashCode, Object key, Object value, int size) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/util/cache/
H A DBaseCache.java203 int h = x.hashCode();
267 * Cannot find an item with the given key and hashCode
269 * @param hashCode <code>int</code> its hashCode
274 protected Object loadValue(Object key, int hashCode) { argument
280 * @param hashCode for the entry
287 protected CacheItem createItem(int hashCode, Object key, argument
289 return new CacheItem(hashCode, key, value, size);
302 * @param hashCode of the entry
305 protected final int getIndex(int hashCode) { argument
334 get(int hashCode, Object key) argument
522 _put(int hashCode, Object key, Object value, int size, boolean addValue) argument
594 remove(int hashCode, Object key) argument
627 _remove(int hashCode, Object key, Object value) argument
1000 int hashCode; field in class:BaseCache.CacheItem
1007 CacheItem(int hashCode, Object key, Object value, int size) argument
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/authentication/
H A DRuntimeSecurityMap.java77 public int hashCode(){ method in class:RuntimeSecurityMap
78 return this.userMap.hashCode() + this.groupMap.hashCode();
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/authenticator/
H A DHASessionData.java67 public int hashCode() { method in class:HASessionData
70 hc = sessionId.hashCode() << 4;
73 hc = contextPath.hashCode();
/glassfish-3.1.2/admin/jmx-remote/common/src/main/java/com/sun/enterprise/admin/jmx/remote/notification/
H A DListenerInfo.java76 listenerCode = Integer.toString(listener.hashCode());
79 filterCode = Integer.toString(filter.hashCode());
82 handbackCode = Integer.toString(handback.hashCode());
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/jdo/
H A DPersistenceMemberElement.java126 /** Overrides PersistenceElement's <code>hashCode</code> method to add
127 * the hashCode of this persistence element's declaring class.
130 public int hashCode () method in class:PersistenceMemberElement
134 return (super.hashCode() +
135 ((declaringClass == null) ? 0 : declaringClass.hashCode()));
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/security/common/
H A DPrincipalImpl.java99 public int hashCode() { method in class:PrincipalImpl
100 return name.hashCode();
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/acl/
H A DResource.java70 public int hashCode() { method in class:Resource
71 return getClass().hashCode();
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/nonce/
H A DStringNonce.java65 public int hashCode(){ method in class:StringNonce
66 return nonce.hashCode();
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/
H A DMethodMap.java218 // The normal Method.hashCode() method makes 5 method calls
220 // hashCode since String.hashCode() makes 0 method calls *and* caches
237 int hashCode = methodName.hashCode();
240 hashCode = (hashCode >= 0) ? hashCode : (hashCode * -1);
241 hashCode
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DClientSecurityInfo.java59 static private final int NULL_HASH_CODE = Integer.valueOf(1).hashCode();
95 public int hashCode() { method in class:ClientSecurityInfo
98 result = prin.hashCode();
101 result += info.hashCode();
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/cci/
H A DRecord.java120 int hashCode(); method in interface:Record
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/security/
H A DGenericCredential.java137 int hashCode(); method in interface:GenericCredential
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/apiscan/classfile/
H A DMethodRef.java100 public int hashCode() { method in class:MethodRef
102 result = (owningClassNameInternal != null ? owningClassNameInternal.hashCode() : 0);
103 result = 29 * result + (name != null ? name.hashCode() : 0);
105 (descriptor != null ? descriptor.hashCode() : 0);
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/appserv/management/client/prefs/
H A DLoginInfo.java94 public int hashCode() { method in class:LoginInfo
95 return ( (int) 31 * host.hashCode() + 23 * port + 53 * user.hashCode() + 13 * password.hashCode() );
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/login/common/
H A DX509CertificateCredential.java119 * Return the hashCode computed from the certificate, realm and alias.
122 public int hashCode() { method in class:X509CertificateCredential
123 return Arrays.hashCode(certChain) + realm.hashCode() + ((alias != null)?alias.hashCode():0);

Completed in 31 milliseconds

1234567