public class NottableString extends ObjectWithJsonToString implements Comparable<NottableString>
| Modifier and Type | Field and Description |
|---|---|
static char |
NOT_CHAR |
fieldsExcludedFromEqualsAndHashCodepublic static final char NOT_CHAR
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> serialiseNottableStrings(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 boolean isOptional()
public ParameterStyle getParameterStyle()
public NottableString withStyle(ParameterStyle style)
public NottableString lowercase()
public boolean equalsIgnoreCase(Object other)
public boolean isBlank()
public boolean matches(String input)
public boolean matchesIgnoreCase(String input)
public boolean fieldsEqual(NottableString that)
public boolean equals(Object other)
equals in class ObjectWithReflectiveEqualsHashCodeToStringpublic int hashCode()
hashCode in class ObjectWithReflectiveEqualsHashCodeToStringpublic String toString()
toString in class ObjectWithJsonToStringpublic int compareTo(NottableString other)
compareTo in interface Comparable<NottableString>Copyright © 2020. All rights reserved.