congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XLink.hash
Code IndexAdd Tabnine to your IDE (free)

How to use
hash
method
in
org.apache.sis.xml.XLink

Best Java code snippets using org.apache.sis.xml.XLink.hash (Showing top 4 results out of 315)

origin: apache/sis

/**
 * Returns a hash code value for this XLink.
 */
@Override
public int hashCode() {
  int hash = hashCode;
  if (hash == 0) {
    hash = hash();
    // Do not save the hash code value, since it may change.
  }
  return hash;
}
origin: apache/sis

/**
 * Marks this {@code xlink} as unmodifiable. After this method call, any call to a setter
 * method will throw an {@link UnsupportedOperationException}.
 *
 * <p>After the first call to this method, any subsequent calls have no effect.</p>
 */
public void freeze() {
  if (hashCode == 0) {
    hashCode = hash();
  }
}
origin: org.apache.sis.core/sis-utility

/**
 * Marks this {@code xlink} as unmodifiable. After this method call, any call to a setter
 * method will throw an {@link UnsupportedOperationException}.
 *
 * <p>After the first call to this method, any subsequent calls have no effect.</p>
 */
public void freeze() {
  if (hashCode == 0) {
    hashCode = hash();
  }
}
origin: org.apache.sis.core/sis-utility

/**
 * Returns a hash code value for this XLink.
 */
@Override
public int hashCode() {
  int hash = hashCode;
  if (hash == 0) {
    hash = hash();
    // Do not save the hash code value, since it may change.
  }
  return hash;
}
org.apache.sis.xmlXLinkhash

Javadoc

Computes the hash code now. This method is guaranteed to return a value different than zero, in order to allow us to use 0 as a sentinel value for modifiable xlink.

Popular methods of XLink

  • <init>
    Creates a new link as a copy of the given link.
  • setHRef
    Sets the URN to a resources.
  • equals
    Compares this XLink with the given object for equality.
  • getHRef
    Returns a URN to an external resources, or to an other part of a XML document, or an identifier.
  • getType
    Returns the type of link. May have one of the following values: * simple: a simple link * extended:
  • hashCode
    Returns a hash code value for this XLink.
  • setActuate
    Sets the desired timing of traversal from the starting resource to the ending resource.
  • setRole
    Sets the URI reference for some description of the arc role.
  • setShow
    Sets the desired presentation of the ending resource on traversal from the starting resource.
  • setTitle
    Sets a human-readable string with a short description for the arc.
  • setType
    Sets the type of link. Any value different than org.apache.sis.xml.XLink.Type#AUTO (including null)
  • append
    Appends the given attribute in the given buffer if the attribute value is not null. If the given val
  • setType,
  • append,
  • canWrite,
  • fieldMask,
  • getActuate,
  • getArcRole,
  • getFrom,
  • getLabel,
  • getRole,
  • getShow

Popular in Java

  • Finding current android device location
  • getSystemService (Context)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • 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