Package com.illumon.iris.db.tables
Class StringSetWrapper
java.lang.Object
com.illumon.iris.db.tables.StringSetWrapper
- All Implemented Interfaces:
StringSet,Serializable,Iterable<String>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStringSetWrapper(int initialCapacity) StringSetWrapper(ObjectChunk<String, ?> values, int start, int length) StringSetWrapper(String... values) StringSetWrapper(String[] values, int start, int length) StringSetWrapper(Collection<String> values) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStringToSet(String val) booleanbooleancontainsAll(String... values) booleancontainsAny(String... values) final booleanlonggetEncoding(SymbolManager<String> symbolManager) final inthashCode()booleanisEmpty()iterator()intsize()String[]Get a sorted array of the values in this StringSet.final StringtoString()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
-
Constructor Details
-
StringSetWrapper
-
StringSetWrapper
-
StringSetWrapper
-
StringSetWrapper
-
StringSetWrapper
public StringSetWrapper(int initialCapacity)
-
-
Method Details
-
addStringToSet
-
contains
-
containsAny
- Specified by:
containsAnyin interfaceStringSet
-
containsAll
- Specified by:
containsAllin interfaceStringSet
-
size
public 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 boolean isEmpty() -
getEncoding
- Specified by:
getEncodingin interfaceStringSet
-
toString
-
hashCode
public final int hashCode() -
equals
-
iterator
-