@Override public int hashCode() { if (IPV4_LEN == lsAttrLength) { return Objects.hash(ip4RouterId); } else { return Objects.hash(ip6RouterId); } }
private static int testHash() { int errors = 0; Object[] data = new String[] {"perfect", "ham", "THC"}; errors += ((Objects.hash((Object[]) null) == 0) ? 0 : 1); errors += (Objects.hash("perfect", "ham", "THC") == Arrays.hashCode(data)) ? 0 : 1; return errors; }
@Override public int hashCode() { return Objects.hash( id, _lunConnections, lunMapping, physicalVolumeId, deviceSize, pvSize, discardMaxSize, discardZeroesData, lunType, pathsDictionary, pathsCapacity, vendorName, productId, serial, vendorId, volumeGroupId, status, diskId, diskAlias, storageDomainId, storageDomainName); }
@Override public int hashCode() { return Objects.hash( name, tabLabel, font, bold, italic, underline, fontColor, fontSize, documentId, recipientId, pageNumber, xPosition, yPosition, anchorString, anchorXOffset, anchorYOffset, anchorUnits, anchorIgnoreIfNotPresent, anchorCaseSensitive, anchorMatchWholeWord, anchorHorizontalAlignment, tabId, templateLocked, templateRequired, conditionalParentLabel, conditionalParentValue, customTabId, mergeField, status, errorDetails); }
@Override public int hashCode() { if (hashCode == -1) { hashCode = Objects.hash(relativeIndices); // toString().hashCode(); } return hashCode; }
@Override public int hashCode() { return Objects.hash( aggregations, explain, fetchSourceContext, fieldDataFields, fieldNames, from, highlightBuilder, indexBoost, innerHitsBuilder, minScore, postQueryBuilder, queryBuilder, rescoreBuilders, scriptFields, size, sorts, stats, suggestBuilder, terminateAfter, timeoutInMillis, trackScores, version); }
@Override public int hashCode() { return Objects.hash( id, name, parentPath, displayName, type, valid, modifier, creator, owner, createdTime, modifiedTime, hasChildren, inheritPermissions, childOrder, thumbnail, permissions, attachments, data, extraDatas, page, language, contentState); }
@Override public int hashCode() { int result = hashCode; if (result == 0) { // Because in equals, we compare ignoring case, we must convert the Strings to upper case // here so that the hash code will be the same if Strings are equal ignoring case. result = Objects.hash( lastName.toUpperCase(), firstName.toUpperCase(), (title == null ? title : title.toUpperCase()), (titleCourtesy == null ? titleCourtesy : titleCourtesy.toUpperCase()), birthDate, hireDate, (address == null ? address : address.toUpperCase()), (city == null ? city : city.toUpperCase()), (region == null ? region : region.toUpperCase()), (postalCode == null ? postalCode : postalCode.toUpperCase()), (country == null ? country : country.toUpperCase()), (homePhone == null ? homePhone : homePhone.toUpperCase()), (extension == null ? extension : extension.toUpperCase()), Arrays.hashCode(photo), reportsTo, (photoPath == null ? photoPath : photoPath.toUpperCase())); hashCode = result; } return result; }
@Override public int hashCode() { if (hashcode == 0) { hashcode = Objects.hash(unresolvedDependencies, coindexation, isConjunction); } return hashcode; }
@Override public int hashCode() { return Objects.hash( accountSid, addressRequirements, apiVersion, beta, capabilities, dateCreated, dateUpdated, friendlyName, phoneNumber, sid, smsApplicationSid, smsFallbackMethod, smsFallbackUrl, smsMethod, smsUrl, statusCallback, statusCallbackMethod, trunkSid, uri, voiceApplicationSid, voiceCallerIdLookup, voiceFallbackMethod, voiceFallbackUrl, voiceMethod, voiceUrl); }
/** * @return returns a unique code for this vector object based on its values. If two vectors are * numerically equal, they will return the same hash code value. */ @Override public int hashCode() { return Objects.hash( Double.valueOf(getX()), Double.valueOf(getY()), Double.valueOf(getZ()), Double.valueOf(getW())); }
private static int basicHashCode(final TypeDefinition<?> type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue()); }
@Override public int hashCode() { int baseHash = super.hashCode(); if (templateTypes.isEmpty()) { return baseHash; } return Objects.hash(templateTypes, baseHash); }
@Override public final int hashCode() { Optional<TypeVariableInfo> typeVariableInfo = typeVariableInfo(); Optional<PackageInfo> packageInfo = packageInfo(); Optional<NameInfo> type = type(); List<TypeParameterInfo> typeParameterInfoList = typeParameterInfoList(); return Objects.hash(typeVariableInfo, packageInfo, type, typeParameterInfoList); }
@Override public int hashCode() { // return 7 * getName().hashCode() // + 11 * new Double(salary).hashCode() // + 13 * hireDate.hashCode(); return Objects.hash(getName(), salary, hireDate); }
@Override public int hashCode() { return Objects.hash( super.hashCode(), fielddata, fielddataMinFrequency, fielddataMaxFrequency, fielddataMinSegmentSize); }
static int hashCode(final BitsTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.getBits()); }
static int hashCode(final InstanceIdentifierTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.requireInstance()); }
static int hashCode(final UnsignedIntegerTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.getRangeConstraints()); }
@Override public int hashCode() { return Objects.hash( include == null ? null : include.getOriginalString(), exclude == null ? null : exclude.getOriginalString(), includeValues, excludeValues, incZeroBasedPartition, incNumPartitions); }
static int hashCode(final DecimalTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.getFractionDigits(), type.getRangeConstraints()); }
static int hashCode(final StringTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.getLengthConstraints(), type.getPatternConstraints()); }
@Override protected int doHashCode() { return Objects.hash( fieldsAndWeights, analyzer, defaultOperator, queryText, minimumShouldMatch, settings, flags); }
@Override public int hashCode() { return Objects.hash( super.hashCode(), subQuery, maxBoost, combineFunction, minScore, scoreMode, Arrays.hashCode(filterFunctions)); }
@Override public int hashCode() { return Objects.hash( getName(), getHierarchicalContext(), searchField, searchExpression, caseSensitive, keywordSeparator, onlySplitWordsAtSeparator); }
@Override public int hashCode() { return Objects.hash( _calcConfigNames, _names, _nameMatchPattern, _nameLikePattern, _instrumentTypes, _quoteTypes, _quoteUnits); }
@Override public int hashCode() { return Objects.hash( fontName, fontStyle, fontWeight, fontStretch, fontVariant, unicodeRange, fontFeatureSettings); }
@Override public int hashCode() { return Objects.hash( architecture, entityId, entityName, entityType, lowestCompVersion, ovfData, ovfExtraData, storageDomainId); }
@Override public int hashCode() { int result = hash; if (result == 0) { result = Objects.hash(nodeType, super.type, type, arguments, memberDeclarations); if (result == 0) { result = 1; } hash = result; } return result; }
@Override public int hashCode() { return java.util.Objects.hash( super.hashCode(), geohashFieldType, geohashPrecision, geohashPrefixEnabled, latFieldType, lonFieldType, coerce, ignoreMalformed); }