Package org.apache.commons.lang3.builder

Examples of org.apache.commons.lang3.builder.HashCodeBuilder


    return true;
  }

  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_start = true && (isSetStart());
    builder.append(present_start);
    if (present_start)
      builder.append(start);

    boolean present_finish = true && (isSetFinish());
    builder.append(present_finish);
    if (present_finish)
      builder.append(finish);

    return builder.toHashCode();
  }
View Full Code Here


    return true;
  }

  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_key = true && (isSetKey());
    builder.append(present_key);
    if (present_key)
      builder.append(key);

    boolean present_column_parent = true && (isSetColumn_parent());
    builder.append(present_column_parent);
    if (present_column_parent)
      builder.append(column_parent);

    boolean present_column_slices = true && (isSetColumn_slices());
    builder.append(present_column_slices);
    if (present_column_slices)
      builder.append(column_slices);

    boolean present_reversed = true && (isSetReversed());
    builder.append(present_reversed);
    if (present_reversed)
      builder.append(reversed);

    boolean present_count = true && (isSetCount());
    builder.append(present_count);
    if (present_count)
      builder.append(count);

    boolean present_consistency_level = true && (isSetConsistency_level());
    builder.append(present_consistency_level);
    if (present_consistency_level)
      builder.append(consistency_level.getValue());

    return builder.toHashCode();
  }
View Full Code Here

    return true;
  }

  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_key = true && (isSetKey());
    builder.append(present_key);
    if (present_key)
      builder.append(key);

    boolean present_columns = true && (isSetColumns());
    builder.append(present_columns);
    if (present_columns)
      builder.append(columns);

    return builder.toHashCode();
  }
View Full Code Here

    return true;
  }

  @Override
  public int hashCode() {
    HashCodeBuilder builder = new HashCodeBuilder();

    boolean present_keyspace = true && (isSetKeyspace());
    builder.append(present_keyspace);
    if (present_keyspace)
      builder.append(keyspace);

    boolean present_name = true && (isSetName());
    builder.append(present_name);
    if (present_name)
      builder.append(name);

    boolean present_column_type = true && (isSetColumn_type());
    builder.append(present_column_type);
    if (present_column_type)
      builder.append(column_type);

    boolean present_comparator_type = true && (isSetComparator_type());
    builder.append(present_comparator_type);
    if (present_comparator_type)
      builder.append(comparator_type);

    boolean present_subcomparator_type = true && (isSetSubcomparator_type());
    builder.append(present_subcomparator_type);
    if (present_subcomparator_type)
      builder.append(subcomparator_type);

    boolean present_comment = true && (isSetComment());
    builder.append(present_comment);
    if (present_comment)
      builder.append(comment);

    boolean present_read_repair_chance = true && (isSetRead_repair_chance());
    builder.append(present_read_repair_chance);
    if (present_read_repair_chance)
      builder.append(read_repair_chance);

    boolean present_column_metadata = true && (isSetColumn_metadata());
    builder.append(present_column_metadata);
    if (present_column_metadata)
      builder.append(column_metadata);

    boolean present_gc_grace_seconds = true && (isSetGc_grace_seconds());
    builder.append(present_gc_grace_seconds);
    if (present_gc_grace_seconds)
      builder.append(gc_grace_seconds);

    boolean present_default_validation_class = true && (isSetDefault_validation_class());
    builder.append(present_default_validation_class);
    if (present_default_validation_class)
      builder.append(default_validation_class);

    boolean present_id = true && (isSetId());
    builder.append(present_id);
    if (present_id)
      builder.append(id);

    boolean present_min_compaction_threshold = true && (isSetMin_compaction_threshold());
    builder.append(present_min_compaction_threshold);
    if (present_min_compaction_threshold)
      builder.append(min_compaction_threshold);

    boolean present_max_compaction_threshold = true && (isSetMax_compaction_threshold());
    builder.append(present_max_compaction_threshold);
    if (present_max_compaction_threshold)
      builder.append(max_compaction_threshold);

    boolean present_key_validation_class = true && (isSetKey_validation_class());
    builder.append(present_key_validation_class);
    if (present_key_validation_class)
      builder.append(key_validation_class);

    boolean present_key_alias = true && (isSetKey_alias());
    builder.append(present_key_alias);
    if (present_key_alias)
      builder.append(key_alias);

    boolean present_compaction_strategy = true && (isSetCompaction_strategy());
    builder.append(present_compaction_strategy);
    if (present_compaction_strategy)
      builder.append(compaction_strategy);

    boolean present_compaction_strategy_options = true && (isSetCompaction_strategy_options());
    builder.append(present_compaction_strategy_options);
    if (present_compaction_strategy_options)
      builder.append(compaction_strategy_options);

    boolean present_compression_options = true && (isSetCompression_options());
    builder.append(present_compression_options);
    if (present_compression_options)
      builder.append(compression_options);

    boolean present_bloom_filter_fp_chance = true && (isSetBloom_filter_fp_chance());
    builder.append(present_bloom_filter_fp_chance);
    if (present_bloom_filter_fp_chance)
      builder.append(bloom_filter_fp_chance);

    boolean present_caching = true && (isSetCaching());
    builder.append(present_caching);
    if (present_caching)
      builder.append(caching);

    boolean present_dclocal_read_repair_chance = true && (isSetDclocal_read_repair_chance());
    builder.append(present_dclocal_read_repair_chance);
    if (present_dclocal_read_repair_chance)
      builder.append(dclocal_read_repair_chance);

    boolean present_memtable_flush_period_in_ms = true && (isSetMemtable_flush_period_in_ms());
    builder.append(present_memtable_flush_period_in_ms);
    if (present_memtable_flush_period_in_ms)
      builder.append(memtable_flush_period_in_ms);

    boolean present_default_time_to_live = true && (isSetDefault_time_to_live());
    builder.append(present_default_time_to_live);
    if (present_default_time_to_live)
      builder.append(default_time_to_live);

    boolean present_speculative_retry = true && (isSetSpeculative_retry());
    builder.append(present_speculative_retry);
    if (present_speculative_retry)
      builder.append(speculative_retry);

    boolean present_triggers = true && (isSetTriggers());
    builder.append(present_triggers);
    if (present_triggers)
      builder.append(triggers);

    boolean present_cells_per_row_to_cache = true && (isSetCells_per_row_to_cache());
    builder.append(present_cells_per_row_to_cache);
    if (present_cells_per_row_to_cache)
      builder.append(cells_per_row_to_cache);

    boolean present_min_index_interval = true && (isSetMin_index_interval());
    builder.append(present_min_index_interval);
    if (present_min_index_interval)
      builder.append(min_index_interval);

    boolean present_max_index_interval = true && (isSetMax_index_interval());
    builder.append(present_max_index_interval);
    if (present_max_index_interval)
      builder.append(max_index_interval);

    boolean present_row_cache_size = true && (isSetRow_cache_size());
    builder.append(present_row_cache_size);
    if (present_row_cache_size)
      builder.append(row_cache_size);

    boolean present_key_cache_size = true && (isSetKey_cache_size());
    builder.append(present_key_cache_size);
    if (present_key_cache_size)
      builder.append(key_cache_size);

    boolean present_row_cache_save_period_in_seconds = true && (isSetRow_cache_save_period_in_seconds());
    builder.append(present_row_cache_save_period_in_seconds);
    if (present_row_cache_save_period_in_seconds)
      builder.append(row_cache_save_period_in_seconds);

    boolean present_key_cache_save_period_in_seconds = true && (isSetKey_cache_save_period_in_seconds());
    builder.append(present_key_cache_save_period_in_seconds);
    if (present_key_cache_save_period_in_seconds)
      builder.append(key_cache_save_period_in_seconds);

    boolean present_memtable_flush_after_mins = true && (isSetMemtable_flush_after_mins());
    builder.append(present_memtable_flush_after_mins);
    if (present_memtable_flush_after_mins)
      builder.append(memtable_flush_after_mins);

    boolean present_memtable_throughput_in_mb = true && (isSetMemtable_throughput_in_mb());
    builder.append(present_memtable_throughput_in_mb);
    if (present_memtable_throughput_in_mb)
      builder.append(memtable_throughput_in_mb);

    boolean present_memtable_operations_in_millions = true && (isSetMemtable_operations_in_millions());
    builder.append(present_memtable_operations_in_millions);
    if (present_memtable_operations_in_millions)
      builder.append(memtable_operations_in_millions);

    boolean present_replicate_on_write = true && (isSetReplicate_on_write());
    builder.append(present_replicate_on_write);
    if (present_replicate_on_write)
      builder.append(replicate_on_write);

    boolean present_merge_shards_chance = true && (isSetMerge_shards_chance());
    builder.append(present_merge_shards_chance);
    if (present_merge_shards_chance)
      builder.append(merge_shards_chance);

    boolean present_row_cache_provider = true && (isSetRow_cache_provider());
    builder.append(present_row_cache_provider);
    if (present_row_cache_provider)
      builder.append(row_cache_provider);

    boolean present_row_cache_keys_to_save = true && (isSetRow_cache_keys_to_save());
    builder.append(present_row_cache_keys_to_save);
    if (present_row_cache_keys_to_save)
      builder.append(row_cache_keys_to_save);

    boolean present_populate_io_cache_on_flush = true && (isSetPopulate_io_cache_on_flush());
    builder.append(present_populate_io_cache_on_flush);
    if (present_populate_io_cache_on_flush)
      builder.append(populate_io_cache_on_flush);

    boolean present_index_interval = true && (isSetIndex_interval());
    builder.append(present_index_interval);
    if (present_index_interval)
      builder.append(index_interval);

    return builder.toHashCode();
  }
View Full Code Here

    }

    @Override
    public int hashCode()
    {
        return new HashCodeBuilder(29, 1597)
            .append(cfId)
            .append(ksName)
            .append(cfName)
            .append(cfType)
            .append(comparator)
View Full Code Here

     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode()
    {
        return new HashCodeBuilder(1123997057, -1289836553).append(this.enumCode).toHashCode();
    }
View Full Code Here

     * @see java.lang.Object#hashCode()
     */
    @Override
    public final int hashCode()
    {
        return new HashCodeBuilder(31, 33).append(this.property).append(this.columnIndex).toHashCode();
    }
View Full Code Here

     * @see org.displaytag.util.Href#hashCode()
     */
    @Override
    public int hashCode()
    {
        return new HashCodeBuilder(1313733113, -431360889)
            .append(this.isAction)
            .append(this.parameters)
            .append(this.requestedMode)
            .append(this.requestedState)
            .append(this.requestedSecure)
View Full Code Here

     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode()
    {
        return new HashCodeBuilder(1188997057, -1289297553).append(this.enumCode).toHashCode();
    }
View Full Code Here

     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode()
    {
        return new HashCodeBuilder(1313733113, -431360889)
            .append(this.parameters.keySet())
            .append(this.parameters.values().toArray())
            .append(this.url)
            .append(this.anchor)
            .toHashCode();
View Full Code Here

TOP

Related Classes of org.apache.commons.lang3.builder.HashCodeBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.