public final class PropertiesEntry<T extends Comparable<T>> extends Object
This object is immutable.
| Modifier and Type | Field and Description |
|---|---|
private Property<T> |
property |
private T |
value |
| Constructor and Description |
|---|
PropertiesEntry(Property<T> property,
T value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Property<T> |
getProperty() |
int |
hashCode() |
static <T extends Comparable<T>> |
streamAllFor(Property<T> property)
Returns a stream of all possible property to value pairs for a specific
property.
|
String |
toString() |
private final Property<T extends Comparable<T>> property
private final T extends Comparable<T> value
public static <T extends Comparable<T>> Stream<PropertiesEntry<T>> streamAllFor(Property<T> property)