Package io.deephaven.stringset
Class LongBitmapStringSet
java.lang.Object
io.deephaven.stringset.LongBitmapStringSet
- All Implemented Interfaces:
StringSet,Serializable,Iterable<String>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionLongBitmapStringSet(@NotNull LongBitmapStringSet.ReversibleLookup<String> reversibleLookup, long valueBitSet) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleancontainsAll(String... values) final booleancontainsAny(String... values) booleanlonggetEncoding(@NotNull ToIntFunction<String> toOffset) inthashCode()final booleanisEmpty()iterator()final intsize()final String[]Get a sorted array of the values in this StringSet.final StringtoString()final String[]values()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface io.deephaven.stringset.StringSet
defaultEquals, defaultHashCode, defaultToString
-
Constructor Details
-
LongBitmapStringSet
public LongBitmapStringSet(@NotNull @NotNull LongBitmapStringSet.ReversibleLookup<String> reversibleLookup, long valueBitSet)
-
-
Method Details
-
contains
-
containsAny
- Specified by:
containsAnyin interfaceStringSet
-
containsAll
- Specified by:
containsAllin interfaceStringSet
-
size
public final int size() -
values
-
sortedValues
Description copied from interface:StringSetGet a sorted array of the values in this StringSet. May or may not match the value returned byStringSet.values().- Specified by:
sortedValuesin interfaceStringSet- Returns:
- A sorted array of this StringSet's values
-
isEmpty
public final boolean isEmpty() -
getEncoding
- Specified by:
getEncodingin interfaceStringSet
-
toString
-
hashCode
public int hashCode() -
equals
-
iterator
-