@Beta public final class EvenMoreObjects extends Object
Usage:
@Override public boolean equals(Object obj) { return EvenMoreObjects.equalsHelper(this, obj, (one, another) -> Objects.equals(one.name, another.name) && Objects.equals(one.age, another.age)); }
MoreObjects
Modifier and Type | Class and Description |
---|---|
static interface |
EvenMoreObjects.BooleanEqualsFunction<T> |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
equalsHelper(T self,
Object other,
EvenMoreObjects.BooleanEqualsFunction<T> equals) |
public static <T> boolean equalsHelper(T self, Object other, EvenMoreObjects.BooleanEqualsFunction<T> equals)
Copyright © 2019 OpenDaylight. All rights reserved.