Tabnine Logo
QHashParallelKVObjObjMapFactoryImpl$WithCustomValueEquivalence.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.koloboke.collect.impl.hash.QHashParallelKVObjObjMapFactoryImpl$WithCustomValueEquivalence
constructor

Best Java code snippets using com.koloboke.collect.impl.hash.QHashParallelKVObjObjMapFactoryImpl$WithCustomValueEquivalence.<init> (Showing top 12 results out of 315)

origin: com.koloboke/koloboke-impl-jdk8

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjObjMapFactory<K, V> withValueEquivalence(
    @Nonnull Equivalence<? super V> valueEquivalence) {
  if (valueEquivalence.equals(Equivalence.defaultEquality())) {
    return (HashObjObjMapFactory<K, V>) this;
  }
  return new WithCustomValueEquivalence<K, V>(getHashConfig(), getDefaultExpectedSize()
  , isNullKeyAllowed(),
      (Equivalence<V>) valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjObjMapFactory<K, V> withValueEquivalence(
    @Nonnull Equivalence<? super V> valueEquivalence) {
  if (valueEquivalence.equals(Equivalence.defaultEquality())) {
    return (HashObjObjMapFactory<K, V>) this;
  }
  return new WithCustomValueEquivalence<K, V>(getHashConfig(), getDefaultExpectedSize()
  , isNullKeyAllowed(),
      (Equivalence<V>) valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk8

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjObjMapFactory<K, V> withValueEquivalence(
    @Nonnull Equivalence<? super V> valueEquivalence) {
  if (valueEquivalence.equals(Equivalence.defaultEquality()))
    return new QHashParallelKVObjObjMapFactoryImpl<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed());
  if (valueEquivalence.equals(this.valueEquivalence))
    return (HashObjObjMapFactory<K, V>) this;
  return new WithCustomValueEquivalence<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
      (Equivalence<V>) valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk6-7

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

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjObjMapFactory<K, V> withKeyEquivalence(
    @Nonnull Equivalence<? super K> keyEquivalence) {
  if (keyEquivalence.equals(Equivalence.defaultEquality()))
    return new WithCustomValueEquivalence<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
        valueEquivalence);
  if (keyEquivalence.equals(this.keyEquivalence)) {
    return (HashObjObjMapFactory<K, V>) this;
  }
  return new WithCustomEquivalences<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
      (Equivalence<K>) keyEquivalence, valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@SuppressWarnings("unchecked")
@Override
@Nonnull
public HashObjObjMapFactory<K, V> withValueEquivalence(
    @Nonnull Equivalence<? super V> valueEquivalence) {
  if (valueEquivalence.equals(Equivalence.defaultEquality()))
    return new QHashParallelKVObjObjMapFactoryImpl<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed());
  if (valueEquivalence.equals(this.valueEquivalence))
    return (HashObjObjMapFactory<K, V>) this;
  return new WithCustomValueEquivalence<K, V>(getHashConfig(), getDefaultExpectedSize()
, isNullKeyAllowed(),
      (Equivalence<V>) valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@Override
HashObjObjMapFactory<K, V> qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new QHashParallelKVObjObjMapFactoryImpl.WithCustomValueEquivalence<K, V>(
      hashConf, defaultExpectedSize, isNullKeyAllowed
  , valueEquivalence);
}
@Override
origin: com.koloboke/koloboke-impl-jdk8

@Override
HashObjObjMapFactory<K, V> qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new QHashParallelKVObjObjMapFactoryImpl.WithCustomValueEquivalence<K, V>(
      hashConf, defaultExpectedSize, isNullKeyAllowed
  , valueEquivalence);
}
@Override
origin: com.koloboke/koloboke-impl-jdk8

@Override
HashObjObjMapFactory<K, V> qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new QHashParallelKVObjObjMapFactoryImpl.WithCustomValueEquivalence<K, V>(
      hashConf, defaultExpectedSize, isNullKeyAllowed
  , valueEquivalence);
}
@Override
origin: com.koloboke/koloboke-impl-jdk8

@Override
HashObjObjMapFactory<K, V> thisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new WithCustomValueEquivalence<K, V>(hashConf, defaultExpectedSize, isNullKeyAllowed
  ,
      valueEquivalence);
}
origin: com.koloboke/koloboke-impl-jdk6-7

@Override
HashObjObjMapFactory<K, V> qHashLikeThisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new QHashParallelKVObjObjMapFactoryImpl.WithCustomValueEquivalence<K, V>(
      hashConf, defaultExpectedSize, isNullKeyAllowed
  , valueEquivalence);
}
@Override
origin: com.koloboke/koloboke-impl-jdk6-7

@Override
HashObjObjMapFactory<K, V> thisWith(HashConfig hashConf, int defaultExpectedSize, boolean isNullKeyAllowed
  ) {
  return new WithCustomValueEquivalence<K, V>(hashConf, defaultExpectedSize, isNullKeyAllowed
  ,
      valueEquivalence);
}
com.koloboke.collect.impl.hashQHashParallelKVObjObjMapFactoryImpl$WithCustomValueEquivalence<init>

Popular methods of QHashParallelKVObjObjMapFactoryImpl$WithCustomValueEquivalence

  • getDefaultExpectedSize
  • getHashConfig
  • isNullKeyAllowed

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • From CI to AI: The AI layer in your organization
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