public class StringChecker extends ObjectChecker<String>
| Modifier and Type | Method and Description |
|---|---|
void |
contains(String substring) |
void |
endsWith(String suffix) |
void |
is(String value) |
void |
isEmpty() |
void |
isNonEmpty() |
void |
isNullOrEmpty() |
void |
matches(String pattern) |
StringChecker |
not() |
void |
notEmpty() |
void |
startsWith(String prefix) |
allOf, anyOf, anything, asString, ensureNonNegative, equals, hashCode, hasToString, is, isA, isIn, isIn, isNull, not, not, notNull, same, satisfies, verifyUsingMatcherpublic StringChecker not()
public void contains(String substring)
public void endsWith(String suffix)
public void is(String value)
public void isEmpty()
public void isNonEmpty()
public void isNullOrEmpty()
public void matches(String pattern)
public void startsWith(String prefix)
public void notEmpty()
Copyright © 2022 The Immutables.org authors. All rights reserved.