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
Modifier and TypeClassDescriptionstatic interface
-
Constructor Summary
ConstructorDescriptionLongBitmapStringSet
(@NotNull LongBitmapStringSet.ReversibleLookup<String> reversibleLookup, long valueBitSet) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
final boolean
containsAll
(String... values) final boolean
containsAny
(String... values) boolean
long
getEncoding
(@NotNull ToIntFunction<String> toOffset) int
hashCode()
final boolean
isEmpty()
iterator()
final int
size()
final String[]
Get a sorted array of the values in this StringSet.final String
toString()
final String[]
values()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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:
containsAny
in interfaceStringSet
-
containsAll
- Specified by:
containsAll
in interfaceStringSet
-
size
public final int size() -
values
-
sortedValues
Description copied from interface:StringSet
Get a sorted array of the values in this StringSet. May or may not match the value returned byStringSet.values()
.- Specified by:
sortedValues
in interfaceStringSet
- Returns:
- A sorted array of this StringSet's values
-
isEmpty
public final boolean isEmpty() -
getEncoding
- Specified by:
getEncoding
in interfaceStringSet
-
toString
-
hashCode
public int hashCode() -
equals
-
iterator
-