congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ObjectIntHashMap.getDefaultValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getDefaultValue
method
in
com.carrotsearch.hppcrt.maps.ObjectIntHashMap

Best Java code snippets using com.carrotsearch.hppcrt.maps.ObjectIntHashMap.getDefaultValue (Showing top 3 results out of 315)

origin: owlcs/owlapi

private static int comparePredicates(RDFResourceIRI predicate, RDFResourceIRI otherPredicate) {
  IRI predicateIRI = predicate.getIRI();
  int specialPredicateRank = specialPredicateRanks.get(predicateIRI);
  IRI otherPredicateIRI = otherPredicate.getIRI();
  int otherSpecialPredicateRank = specialPredicateRanks.get(otherPredicateIRI);
  if (specialPredicateRank != specialPredicateRanks.getDefaultValue()) {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return Integer.compare(specialPredicateRank, otherSpecialPredicateRank);
    } else {
      return -1;
    }
  } else {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return +1;
    } else {
      return predicateIRI.compareTo(otherPredicateIRI);
    }
  }
}
origin: net.sourceforge.owlapi/owlapi-distribution

private static int comparePredicates(RDFResourceIRI predicate, RDFResourceIRI otherPredicate) {
  IRI predicateIRI = predicate.getIRI();
  int specialPredicateRank = specialPredicateRanks.get(predicateIRI);
  IRI otherPredicateIRI = otherPredicate.getIRI();
  int otherSpecialPredicateRank = specialPredicateRanks.get(otherPredicateIRI);
  if (specialPredicateRank != specialPredicateRanks.getDefaultValue()) {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return Integer.compare(specialPredicateRank, otherSpecialPredicateRank);
    } else {
      return -1;
    }
  } else {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return +1;
    } else {
      return predicateIRI.compareTo(otherPredicateIRI);
    }
  }
}
origin: net.sourceforge.owlapi/owlapi-osgidistribution

private static int comparePredicates(RDFResourceIRI predicate, RDFResourceIRI otherPredicate) {
  IRI predicateIRI = predicate.getIRI();
  int specialPredicateRank = specialPredicateRanks.get(predicateIRI);
  IRI otherPredicateIRI = otherPredicate.getIRI();
  int otherSpecialPredicateRank = specialPredicateRanks.get(otherPredicateIRI);
  if (specialPredicateRank != specialPredicateRanks.getDefaultValue()) {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return Integer.compare(specialPredicateRank, otherSpecialPredicateRank);
    } else {
      return -1;
    }
  } else {
    if (otherSpecialPredicateRank != specialPredicateRanks.getDefaultValue()) {
      return +1;
    } else {
      return predicateIRI.compareTo(otherPredicateIRI);
    }
  }
}
com.carrotsearch.hppcrt.mapsObjectIntHashMapgetDefaultValue

Javadoc

Returns the "default value" value used in containers methods returning "default value"

Popular methods of ObjectIntHashMap

  • get
  • put
  • <init>
    Create a hash map from all key-value pairs of another container.
  • putIfAbsent
  • allocateBuffers
    Allocate internal buffers for a given capacity.
  • containsKey
  • equalKeys
    Override this method together with #hashKey(Object)to customize the hashing strategy. Note that this
  • expandAndPut
    Expand the internal storage buffers (capacity) and rehash.
  • hashKey
    Override this method, together with #equalKeys(Object,Object)to customize the hashing strategy. Note
  • iterator
  • probe_distance
  • putAll
  • probe_distance,
  • putAll,
  • putOrAdd,
  • remove,
  • shiftConflictingKeys,
  • size

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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