@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableInsightBeanFilter<T> extends InsightBeanFilter<T>
InsightBeanFilter.
Use the builder to create immutable instances:
ImmutableInsightBeanFilter.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableInsightBeanFilter.Builder<T>
Builds instances of type
ImmutableInsightBeanFilter. |
| Modifier and Type | Method and Description |
|---|---|
static <T> ImmutableInsightBeanFilter.Builder<T> |
builder()
Creates a builder for
ImmutableInsightBeanFilter. |
static <T> ImmutableInsightBeanFilter<T> |
copyOf(InsightBeanFilter<T> instance)
Creates an immutable copy of a
InsightBeanFilter value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableInsightBeanFilter that have equal attribute values. |
Predicate<T> |
getPredicate() |
int |
hashCode()
Computes a hash code from attributes:
predicate. |
String |
toString()
Prints the immutable value
InsightBeanFilter with attribute values. |
ImmutableInsightBeanFilter<T> |
withPredicate(Predicate<T> value)
Copy the current immutable object by setting a value for the
predicate attribute. |
create, createEmptypublic Predicate<T> getPredicate()
getPredicate in class InsightBeanFilter<T>predicate attributepublic final ImmutableInsightBeanFilter<T> withPredicate(Predicate<T> value)
predicate attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for predicatethis objectpublic boolean equals(@Nullable Object another)
ImmutableInsightBeanFilter that have equal attribute values.public int hashCode()
predicate.public String toString()
InsightBeanFilter with attribute values.public static <T> ImmutableInsightBeanFilter<T> copyOf(InsightBeanFilter<T> instance)
InsightBeanFilter value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.T - generic parameter Tinstance - The instance to copypublic static <T> ImmutableInsightBeanFilter.Builder<T> builder()
ImmutableInsightBeanFilter.
ImmutableInsightBeanFilter.<T>builder()
.setPredicate(function.Predicate<T>) // required predicate
.build();
T - generic parameter TCopyright © 2023 Atlassian. All rights reserved.