- Type Parameters:
P
- a subtype of Place
public interface PlaceTokenizer<P extends Place>
Implemented by objects responsible for text serialization and deserialization
of Place objects.
-
Method Summary
Returns the
Place
associated with the given token.
Returns the token associated with the given
Place
.
-
Method Details
-
getPlace
Returns the
Place
associated with the given token.
- Parameters:
token
- a String token
- Returns:
- a
Place
of type P
-
getToken
Returns the token associated with the given
Place
.
- Parameters:
place
- a Place
of type P
- Returns:
- a String token