Tabnine Logo
PiecewiseUtilities.deepHashCode
Code IndexAdd Tabnine to your IDE (free)

How to use
deepHashCode
method
in
it.geosolutions.jaiext.piecewise.PiecewiseUtilities

Best Java code snippets using it.geosolutions.jaiext.piecewise.PiecewiseUtilities.deepHashCode (Showing top 2 results out of 315)

origin: it.geosolutions.jaiext.piecewise/jt-piecewise

  @Override
  public int hashCode() {
    if (hashCode < 0) {
      int result = PiecewiseUtilities.deepHashCode(elements);
      result = PiecewiseUtilities.deepHashCode(minimums);
      result = PiecewiseUtilities.hash(getName(), result);
      hashCode = PiecewiseUtilities.hash(getApproximateDomainRange(), hashCode);

    }
    return hashCode;
  }
}
origin: geosolutions-it/jai-ext

  @Override
  public int hashCode() {
    if (hashCode < 0) {
      int result = PiecewiseUtilities.deepHashCode(elements);
      result = PiecewiseUtilities.deepHashCode(minimums);
      result = PiecewiseUtilities.hash(getName(), result);
      hashCode = PiecewiseUtilities.hash(getApproximateDomainRange(), hashCode);

    }
    return hashCode;
  }
}
it.geosolutions.jaiext.piecewisePiecewiseUtilitiesdeepHashCode

Javadoc

Returns a hash code for the specified object, which may be an array. This method returns one of the following values:

  • If the supplied object is null, then this method returns 0.
  • Otherwise if the object is an array of objects, then Arrays#deepHashCode(Object[]) is invoked.
  • Otherwise if the object is an array of primitive type, then the corresponding Arrays#hashCode(double[]) method is invoked.
  • Otherwise Object#hashCode() is invoked.

This method should be invoked only if the object type is declared exactly as Object, not as some subtype like Object[], String or float[]. In the later cases, use the appropriate Arrays method instead.

Popular methods of PiecewiseUtilities

  • createLinearTransform1D
    Create a linear transform mapping values from sampleValueRange to geophysicsValueRange.
  • compare
    Comparison between two double values
  • equals
  • hash
    Alters the given seed with the hash code value computed from the given value. The givan object may b
  • binarySearch
    Array binary search taking into account the fact that the input value to search can be NaN Note: Thi
  • domainElementsOverlap
    Checks whether or not two DomainElement1Ds input range overlaps
  • doubleValue
    Returns a double value for the specified number. If direction is non-zero, then this method will ret
  • ensureNonNull
    Makes sure that an argument is non-null.
  • getTolerance
    Gathers the tolerance for floating point comparisons
  • isSorted
    Checks if the array is sorted

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Option (scala)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now