public class ImmutableEntry extends org.apache.commons.lang3.tuple.Pair<NottableString,NottableString> implements Map.Entry<NottableString,NottableString>
Modifier and Type | Method and Description |
---|---|
static ImmutableEntry |
entry(RegexStringMatcher regexStringMatcher,
NottableString key,
NottableString value) |
static ImmutableEntry |
entry(RegexStringMatcher regexStringMatcher,
String key,
String value) |
boolean |
equals(Object o) |
NottableString |
getLeft() |
NottableString |
getRight() |
int |
hashCode() |
boolean |
isNotOptional() |
boolean |
isOptional() |
static <T> boolean |
listsEqual(List<T> matcher,
List<T> matched) |
static boolean |
listsEqualWithOptionals(RegexStringMatcher regexStringMatcher,
List<ImmutableEntry> matcher,
List<ImmutableEntry> matched) |
NottableString |
setValue(NottableString value) |
String |
toString() |
compareTo, emptyArray, getKey, getValue, of, of, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, getKey, getValue
public static ImmutableEntry entry(RegexStringMatcher regexStringMatcher, String key, String value)
public static ImmutableEntry entry(RegexStringMatcher regexStringMatcher, NottableString key, NottableString value)
public boolean isOptional()
public boolean isNotOptional()
public NottableString getLeft()
getLeft
in class org.apache.commons.lang3.tuple.Pair<NottableString,NottableString>
public NottableString getRight()
getRight
in class org.apache.commons.lang3.tuple.Pair<NottableString,NottableString>
public NottableString setValue(NottableString value)
setValue
in interface Map.Entry<NottableString,NottableString>
public String toString()
toString
in class org.apache.commons.lang3.tuple.Pair<NottableString,NottableString>
public boolean equals(Object o)
equals
in interface Map.Entry<NottableString,NottableString>
equals
in class org.apache.commons.lang3.tuple.Pair<NottableString,NottableString>
public int hashCode()
hashCode
in interface Map.Entry<NottableString,NottableString>
hashCode
in class org.apache.commons.lang3.tuple.Pair<NottableString,NottableString>
public static boolean listsEqualWithOptionals(RegexStringMatcher regexStringMatcher, List<ImmutableEntry> matcher, List<ImmutableEntry> matched)
Copyright © 2020. All rights reserved.