public class Compares extends Object
| 构造器和说明 |
|---|
Compares() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <E> boolean |
eq(E e1,
E e2)
equals
|
static <E> boolean |
ge(E e1,
E e2)
grater or equals
|
static <E> boolean |
gt(E e1,
E e2)
grater than
|
static <E> boolean |
in(E e1,
Object collection)
in
|
static <E> boolean |
le(E e1,
E e2)
letter or equals
|
static <E> boolean |
lt(E e1,
E e2)
letter than
|
static <E> boolean |
ne(E e1,
E e2)
not equals
|
static <E> boolean |
ni(E e1,
Object collection)
not in
|
public static <E> boolean gt(E e1,
E e2)
public static <E> boolean lt(E e1,
E e2)
public static <E> boolean eq(E e1,
E e2)
public static <E> boolean ne(E e1,
E e2)
public static <E> boolean ge(E e1,
E e2)
public static <E> boolean le(E e1,
E e2)
public static <E> boolean in(E e1,
Object collection)
public static <E> boolean ni(E e1,
Object collection)
Copyright © 2021. All rights reserved.