Tabnine Logo
QHashSeparateKVObjIntMapFactoryImpl$WithCustomKeyEquivalence.getHashConfig
Code IndexAdd Tabnine to your IDE (free)

How to use
getHashConfig
method
in
com.koloboke.collect.impl.hash.QHashSeparateKVObjIntMapFactoryImpl$WithCustomKeyEquivalence

Best Java code snippets using com.koloboke.collect.impl.hash.QHashSeparateKVObjIntMapFactoryImpl$WithCustomKeyEquivalence.getHashConfig (Showing top 4 results out of 315)

origin: com.koloboke/koloboke-impl-jdk8

@Override
@Nonnull
public HashObjIntMapFactory<K> withDefaultValue(int defaultValue) {
  if (defaultValue == 0)
    return this;
  return new WithCustomKeyEquivalenceAndDefaultValue<K>(
      getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(), keyEquivalence, defaultValue);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@Override
@Nonnull
public HashObjIntMapFactory<K> withDefaultValue(int defaultValue) {
  if (defaultValue == 0)
    return this;
  return new WithCustomKeyEquivalenceAndDefaultValue<K>(
      getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(), keyEquivalence, defaultValue);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjIntMapFactory<K> withKeyEquivalence(
    @Nonnull Equivalence<? super K> keyEquivalence) {
  if (keyEquivalence.equals(Equivalence.defaultEquality()))
    return new QHashSeparateKVObjIntMapFactoryImpl<K>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed());
  if (keyEquivalence.equals(this.keyEquivalence)) {
    return (HashObjIntMapFactory<K>) this;
  }
  return new WithCustomKeyEquivalence<K>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
      (Equivalence<K>) keyEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk8

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjIntMapFactory<K> withKeyEquivalence(
    @Nonnull Equivalence<? super K> keyEquivalence) {
  if (keyEquivalence.equals(Equivalence.defaultEquality()))
    return new QHashSeparateKVObjIntMapFactoryImpl<K>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed());
  if (keyEquivalence.equals(this.keyEquivalence)) {
    return (HashObjIntMapFactory<K>) this;
  }
  return new WithCustomKeyEquivalence<K>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
      (Equivalence<K>) keyEquivalence);
}
com.koloboke.collect.impl.hashQHashSeparateKVObjIntMapFactoryImpl$WithCustomKeyEquivalencegetHashConfig

Popular methods of QHashSeparateKVObjIntMapFactoryImpl$WithCustomKeyEquivalence

  • <init>
  • getDefaultExpectedSize
  • isNullKeyAllowed

Popular in Java

  • Updating database using SQL prepared statement
  • startActivity (Activity)
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Top Vim plugins
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