Package | Description |
---|---|
de.larssh.utils.text |
Utilities for strings
|
Modifier and Type | Method and Description |
---|---|
static Lines.GroupedLineType |
Lines.GroupedLineType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lines.GroupedLineType[] |
Lines.GroupedLineType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Stream<Map.Entry<K,List<V>>> |
Lines.grouped(Iterable<V> lines,
Function<V,K> getGroupKey,
BiFunction<List<V>,V,Lines.GroupedLineType> getLineType)
Groups lines based on a key and line types.
|
static <K,V> Stream<Map.Entry<K,List<V>>> |
Lines.grouped(Iterator<V> lines,
Function<V,K> getGroupKey,
BiFunction<List<V>,V,Lines.GroupedLineType> getLineType)
Groups lines based on a key and line types.
|
static <K,V> Stream<Map.Entry<K,List<V>>> |
Lines.grouped(Stream<V> lines,
Function<V,K> getGroupKey,
BiFunction<List<V>,V,Lines.GroupedLineType> getLineType)
Groups lines based on a key and line types.
|
Copyright © 2025. All rights reserved.