public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultBooleanNotTrueMatcher() |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultBooleanTrueMatcher() |
static <R> @NonNull ElementComparer<R> |
defaultElementComparer() |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultEmptyMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty) |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultNotEmptyMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty) |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultSubstringMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty) |
static <R,C> @NonNull CellDataFunction<R,C,java.lang.CharSequence> |
defaultToStringCellDataFunction() |
static <O> @NonNull java.util.function.Function<O,java.lang.CharSequence> |
defaultToStringFunction() |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultToStringMatcher() |
static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> |
defaultTrueMatcher() |
static <R> @NonNull XCellSelection<R> |
emptyCellSelection() |
static <O> @NonNull java.util.function.Supplier<java.util.List<O>> |
emptyListSupplier() |
static <R> @NonNull XSelection<R> |
emptySelection() |
static <R,C,D> @NonNull CellDataFunction<R,C,D> |
nullCellDataFunction() |
public static <R> @NonNull XSelection<R> emptySelection()
R
- the row typepublic static <R> @NonNull XCellSelection<R> emptyCellSelection()
R
- the row typepublic static <R,C,D> @NonNull CellDataFunction<R,C,D> nullCellDataFunction()
R
- the row typeC
- the cell typeD
- the expected return typepublic static <R,C> @NonNull CellDataFunction<R,C,java.lang.CharSequence> defaultToStringCellDataFunction()
R
- the row typeC
- the cell typenull
public static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultToStringMatcher()
R
- the row typeC
- the cell typeO
- the filter value typepublic static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultSubstringMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty)
R
- the row typeC
- the cell typeO
- the filter value typetextFunctionProperty
- the columns textValueFunction propertypublic static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultTrueMatcher()
R
- the row typeC
- the cell typeO
- the filter value typepublic static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultEmptyMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty)
R
- the row typeC
- the cell typeO
- the filter value typetextFunctionProperty
- the columns textValueFunction propertyString.toString()
valuespublic static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultNotEmptyMatcher(@NonNull Property<CellDataFunction<R,C,java.lang.CharSequence>> textFunctionProperty)
R
- the row typeC
- the cell typeO
- the filter value typetextFunctionProperty
- the columns textValueFunction propertyString.toString()
valuespublic static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultBooleanTrueMatcher()
public static <R,C,O> @NonNull CellValueMatcherFunction<R,C,O> defaultBooleanNotTrueMatcher()
public static <O> @NonNull java.util.function.Supplier<java.util.List<O>> emptyListSupplier()
O
- the list element typepublic static <O> @NonNull java.util.function.Function<O,java.lang.CharSequence> defaultToStringFunction()
O
- the value typepublic static <R> @NonNull ElementComparer<R> defaultElementComparer()
ElementComparer
which uses default
implementations of Object.equals(Object)
and
Object.hashCode()