Package edu.odu.cs.zeil.codegrader
Interface Parser<T>
-
- All Known Implementing Classes:
BooleanParser
,IntegerParser
,StringParser
public interface Parser<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
parse(java.lang.String input)
Convert a string into an object of the desired type.
-
-
-
Method Detail
-
parse
T parse(java.lang.String input)
Convert a string into an object of the desired type.- Parameters:
input
- input string- Returns:
- value of the desired type
-
-