public class NottableString extends ObjectWithJsonToString implements Comparable<NottableString>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NottableString other) |
static List<NottableString> |
deserializeNottableStrings(List<String> strings) |
static List<NottableString> |
deserializeNottableStrings(String... strings) |
boolean |
equals(Object other) |
boolean |
equalsIgnoreCase(Object other) |
String |
getValue() |
int |
hashCode() |
boolean |
isBlank() |
boolean |
isNot() |
NottableString |
lowercase() |
boolean |
matches(String input) |
boolean |
matchesIgnoreCase(String input) |
static NottableString |
not(String value) |
static List<String> |
serialiseNottableString(Collection<NottableString> nottableStrings) |
static String |
serialiseNottableString(NottableString nottableString) |
static NottableString |
string(String value) |
static NottableString |
string(String value,
Boolean not) |
static List<NottableString> |
strings(Collection<String> values) |
static List<NottableString> |
strings(String... values) |
String |
toString() |
fieldsExcludedFromEqualsAndHashCode
public static List<NottableString> deserializeNottableStrings(String... strings)
public static List<NottableString> deserializeNottableStrings(List<String> strings)
public static String serialiseNottableString(NottableString nottableString)
public static List<String> serialiseNottableString(Collection<NottableString> nottableStrings)
public static NottableString string(String value, Boolean not)
public static NottableString string(String value)
public static NottableString not(String value)
public static List<NottableString> strings(String... values)
public static List<NottableString> strings(Collection<String> values)
public String getValue()
public boolean isNot()
public NottableString lowercase()
public boolean equalsIgnoreCase(Object other)
public boolean isBlank()
public boolean matches(String input)
public boolean matchesIgnoreCase(String input)
public boolean equals(Object other)
equals
in class ObjectWithReflectiveEqualsHashCodeToString
public int hashCode()
hashCode
in class ObjectWithReflectiveEqualsHashCodeToString
public String toString()
toString
in class ObjectWithJsonToString
public int compareTo(NottableString other)
compareTo
in interface Comparable<NottableString>
Copyright © 2020. All rights reserved.