org.jetbrains.kotlin.js.patterns
Class NamePredicate
java.lang.Object
org.jetbrains.kotlin.js.patterns.NamePredicate
- All Implemented Interfaces:
- com.google.common.base.Predicate<Name>
public final class NamePredicate
- extends java.lang.Object
- implements com.google.common.base.Predicate<Name>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
PRIMITIVE_NUMBERS
@NotNull
public static final NamePredicate PRIMITIVE_NUMBERS
PRIMITIVE_NUMBERS_MAPPED_TO_PRIMITIVE_JS
@NotNull
public static final NamePredicate PRIMITIVE_NUMBERS_MAPPED_TO_PRIMITIVE_JS
STRING
@NotNull
public static final NamePredicate STRING
NUMBER
@NotNull
public static final NamePredicate NUMBER
BOOLEAN
@NotNull
public static final NamePredicate BOOLEAN
CHAR
@NotNull
public static final NamePredicate CHAR
LONG
@NotNull
public static final NamePredicate LONG
NamePredicate
public NamePredicate(@NotNull
java.lang.String... validNames)
NamePredicate
public NamePredicate(@NotNull
java.util.List<java.lang.String> validNames)
NamePredicate
public NamePredicate(@NotNull
java.util.Collection<Name> validNames)
NamePredicate
public NamePredicate(@NotNull
Name... validNames)
apply
public boolean apply(@Nullable
Name name)
- Specified by:
apply
in interface com.google.common.base.Predicate<Name>