Java Code Examples for java.util.Objects#hash()

The following examples show how to use java.util.Objects#hash() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ArchiveIdentifierMessageDigest.java    From LicenseScout with Apache License 2.0 5 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    final int prime = 31;
    int result = super.hashCode();
    result = prime * result + Objects.hash(messageDigest);
    return result;
}
 
Example 2
Source File: UpdateStreamRequest.java    From pravega with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(scalingPolicy, retentionPolicy);
}
 
Example 3
Source File: S3FileSystem.java    From cloudbreak with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(instanceProfile, s3GuardDynamoTableName);
}
 
Example 4
Source File: V1ListBankAccountsResponse.java    From connect-java-sdk with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(items);
}
 
Example 5
Source File: QueryResponse.java    From Velocity with MIT License 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects
      .hash(hostname, gameVersion, map, currentPlayers, maxPlayers, proxyHost, proxyPort, players,
          proxyVersion, plugins);
}
 
Example 6
Source File: Insert.java    From crate with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(type, onDuplicateKeyAssignments, constraintColumns);
}
 
Example 7
Source File: ObjectsUtils.java    From Learn-Java-12-Programming with MIT License 4 votes vote down vote up
@Override
public int hashCode(){
    return Objects.hash(age, name);
}
 
Example 8
Source File: V1NetworkPolicyPort.java    From java with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(port, protocol);
}
 
Example 9
Source File: MarketAlbum.java    From vk-java-sdk with MIT License 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(updatedTime, count, photo, id, ownerId, title);
}
 
Example 10
Source File: FirstAdminUser.java    From cyberduck with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(login, firstName, lastName, needsToChangeUserName, password, title, gender, receiverLanguage, notifyUser, authMethods, email, phone, needsToChangePassword, language);
}
 
Example 11
Source File: HoodieFileGroupId.java    From hudi with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(partitionPath, fileId);
}
 
Example 12
Source File: CreditDecision.java    From ditto with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(credit, explanation);
}
 
Example 13
Source File: Pet.java    From vertx-swagger with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(id, category, name, photoUrls, tags, status);
}
 
Example 14
Source File: OutSubFragment.java    From grakn with GNU Affero General Public License v3.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(varProperty, start, end, subTraversalDepthLimit);
}
 
Example 15
Source File: Relationship.java    From snomed-owl-toolkit with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
	return Objects.hash(relationshipId, effectiveTime, moduleId, typeId, destinationId, group, unionGroup, universal, destinationNegated, characteristicTypeId);
}
 
Example 16
Source File: ContainerRules.java    From titus-control-plane with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {

    return Objects.hash(taskStateRules);
}
 
Example 17
Source File: StatsHyperLogSummary.java    From datawave with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(count, hyperLog);
}
 
Example 18
Source File: UpsertCatalogObjectResponse.java    From connect-java-sdk with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
  return Objects.hash(errors, catalogObject, idMappings);
}
 
Example 19
Source File: ModifyThing.java    From ditto with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(super.hashCode(), thingId, thing, initialPolicy, policyIdOrPlaceholder);
}
 
Example 20
Source File: Plugin.java    From plugin-installation-manager-tool with MIT License 4 votes vote down vote up
@Override
public int hashCode() {
    return Objects.hash(name, version, groupId, url);
}