public final class OperatorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
indexOf(Snippetable snippetable,
@Nullable String family)
Get index of operator with the given family
|
static boolean |
isMemberOf(@Nullable Operator operator,
@Nullable String family)
Check if operator has the given family
|
public static boolean isMemberOf(@Nullable
@Nullable Operator operator,
@Nullable
@Nullable String family)
operator - the operator to checkfamily - the family to comparepublic static int indexOf(Snippetable snippetable, @Nullable @Nullable String family)
snippetable - the source to search infamily - the family to search forCopyright © 2020. All rights reserved.