AnyLogic
Expand
Font size
All Implemented Interfaces:
Parser<Character>

public class OneOfParser
extends Object
implements Parser<Character>

Constructor Summary

ConstructorDescription
OneOfParser(String sequence) 

Method Summary

Modifier and TypeMethodDescription
Optional<Character>parse(Scanner s) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.gis.parsing.Parser

error

Constructor Details

OneOfParser

public OneOfParser(String sequence)

Method Details

parse

public Optional<Character> parse(Scanner s)
                          throws ParseException
Specified by:
parse in interface Parser<Character>
Throws:
ParseException