public abstract class StringSetResult
extends java.lang.Object
StringSet
metric. The StringSetResult
hold an immutable copy of
the set from which it was initially created representing that a result cannot be modified once
created.Modifier and Type | Class and Description |
---|---|
static class |
StringSetResult.EmptyStringSetResult
Empty
StringSetResult , representing no values reported and is immutable. |
Constructor and Description |
---|
StringSetResult() |
Modifier and Type | Method and Description |
---|---|
static StringSetResult |
create(java.util.Set<java.lang.String> s)
Creates a
StringSetResult from the given Set by making an immutable copy. |
static StringSetResult |
empty() |
abstract java.util.Set<java.lang.String> |
getStringSet() |
public abstract java.util.Set<java.lang.String> getStringSet()
public static StringSetResult create(java.util.Set<java.lang.String> s)
StringSetResult
from the given Set
by making an immutable copy.s
- the set from which the StringSetResult
should be created.StringSetResult
containing an immutable copy of the given set.public static StringSetResult empty()
StringSetResult.EmptyStringSetResult