Package com.illumon.iris.db.v2.sources
Class StringSetImpl
java.lang.Object
com.illumon.iris.db.v2.sources.StringSetImpl
- All Implemented Interfaces:
StringSet,Serializable,Iterable<String>
The StringSet implementation used by column sources.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.deephaven.hash.KeyedLongObjectKey<StringSetImpl>static final io.deephaven.hash.KeyedLongObjectHash.ValueFactoryT<StringSetImpl,ReverseLookupColumnSource<String, ?>> -
Constructor Summary
ConstructorsConstructorDescriptionStringSetImpl(StringSetImpl.ReversibleLookup<String> reversibleLookup, long valueBitSet) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleancontainsAll(String... values) final booleancontainsAny(String... values) booleanlonggetEncoding(SymbolManager<String> symbolManager) 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 com.illumon.iris.db.tables.libs.StringSet
defaultEquals, defaultHashCode, defaultToString
-
Field Details
-
CACHE_KEY
-
VALUE_FACTORY
public static final io.deephaven.hash.KeyedLongObjectHash.ValueFactoryT<StringSetImpl,ReverseLookupColumnSource<String, VALUE_FACTORY?>>
-
-
Constructor Details
-
StringSetImpl
public StringSetImpl(@NotNull StringSetImpl.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
-