[^a-zA-Z']+
.Scanner
can parse primitive types and strings using regular expressions.
A Scanner
breaks its input into tokens using a delimiter pattern, which by default matches whitespace.
The resulting tokens may then be converted into values of different types using the various next
methods.
Map<K,V>
maps keys to values where K
is the type of keys maintained by this map and V
is the type of mapped values.
TreeMap<K,V>
is sorted according to the natural ordering of its keys.
What did the asteroid that killed the dinosaurs say? “T. rex, I’m coming for my hug!” |