public class ObjectsExcerpts
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectsExcerpts.Nullability |
| Modifier and Type | Method and Description |
|---|---|
static Excerpt |
equals(java.lang.Object a,
java.lang.Object b,
javax.lang.model.type.TypeKind kind,
ObjectsExcerpts.Nullability nullability)
Returns an Excerpt equivalent to
Objects.equals(a, b). |
static Excerpt |
notEquals(java.lang.Object a,
java.lang.Object b,
javax.lang.model.type.TypeKind kind,
ObjectsExcerpts.Nullability nullability)
Returns an Excerpt equivalent to
!Objects.equals(a, b). |
public static Excerpt equals(java.lang.Object a, java.lang.Object b, javax.lang.model.type.TypeKind kind, ObjectsExcerpts.Nullability nullability)
Objects.equals(a, b).
If Objects is not available, kind and nullability are needed to generate
the most idiomatic equivalent.
public static Excerpt notEquals(java.lang.Object a, java.lang.Object b, javax.lang.model.type.TypeKind kind, ObjectsExcerpts.Nullability nullability)
!Objects.equals(a, b).
If Objects is not available, kind and nullability are needed to generate
the most idiomatic equivalent.