public interface Equivalence<T>
Copyright (c) 2014. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
| Modifier and Type | Field and Description |
|---|---|
static Equivalence |
EQUALS
The standard
Object.equals(Object) function. |
static Equivalence<String> |
EQUALS_IGNORE_CASE
The
String.equalsIgnoreCase(String) function. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(T x,
T y)
Determine if two values of the same type are equal.
|
static final Equivalence EQUALS
Object.equals(Object) function.static final Equivalence<String> EQUALS_IGNORE_CASE
String.equalsIgnoreCase(String) function.Copyright © 2017. All rights reserved.