Package io.trino.util

Class FastutilSetHelper

java.lang.Object
io.trino.util.FastutilSetHelper

public final class FastutilSetHelper extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    in(boolean booleanValue, it.unimi.dsi.fastutil.booleans.BooleanOpenHashSet set)
     
    static boolean
    in(double doubleValue, it.unimi.dsi.fastutil.doubles.DoubleOpenCustomHashSet set)
     
    static boolean
    in(long longValue, it.unimi.dsi.fastutil.longs.LongOpenCustomHashSet set)
     
    static boolean
    in(Object objectValue, it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<?> set)
     
    static Set<?>
    toFastutilHashSet(Set<?> set, Type type, MethodHandle hashCodeHandle, MethodHandle equalsHandle)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • toFastutilHashSet

      public static Set<?> toFastutilHashSet(Set<?> set, Type type, MethodHandle hashCodeHandle, MethodHandle equalsHandle)
    • in

      public static boolean in(boolean booleanValue, it.unimi.dsi.fastutil.booleans.BooleanOpenHashSet set)
    • in

      public static boolean in(double doubleValue, it.unimi.dsi.fastutil.doubles.DoubleOpenCustomHashSet set)
    • in

      public static boolean in(long longValue, it.unimi.dsi.fastutil.longs.LongOpenCustomHashSet set)
    • in

      public static boolean in(Object objectValue, it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet<?> set)