Module jp.cafebabe.birthmarks
Class FrequencyElements
- java.lang.Object
-
- jp.cafebabe.birthmarks.entities.elements.FrequencyElements
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor<Frequency> visitor)
FrequencyElements
asFrequencies()
ListElements
asList()
ListElements
asSet()
boolean
contains(String key)
Elements<Frequency>
filter(Predicate<Frequency> predicate)
Iterator<Frequency>
iterator()
Elements<Frequency>
merge(Elements<Frequency> other)
static FrequencyElements
of(String... elements)
static FrequencyElements
of(Stream<Frequency> stream)
int
size()
Stream<Frequency>
stream()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
asFrequencies
public FrequencyElements asFrequencies()
- Specified by:
asFrequencies
in interfaceElements<Frequency>
-
asList
public ListElements asList()
-
asSet
public ListElements asSet()
-
contains
public boolean contains(String key)
-
of
public static FrequencyElements of(String... elements)
-
of
public static FrequencyElements of(Stream<Frequency> stream)
-
-