public class RangeParser<C extends java.lang.Comparable<C>> extends java.lang.Object implements PrimitiveParser<com.google.common.collect.Range<C>>
| Constructor and Description |
|---|
RangeParser(PrimitiveParser<C> parser) |
| Modifier and Type | Method and Description |
|---|---|
@NonNull com.google.common.collect.Range<C> |
throwingParse(@NonNull Node node,
@NonNull java.lang.String string)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthrowingParse@Inject public RangeParser(PrimitiveParser<C> parser)
public @NonNull com.google.common.collect.Range<C> throwingParse(@NonNull Node node, @NonNull java.lang.String string) throws XMLException
PrimitiveParserthrowingParse in interface PrimitiveParser<com.google.common.collect.Range<C extends java.lang.Comparable<C>>>node - the nodestring - the node valueXMLException - if an exception occurred while parsing