Last active
July 11, 2024 13:21
-
-
Save Superpat/619aa7033e416796876e to your computer and use it in GitHub Desktop.
A small java command line api to generate a menu that can return a generic
Can you explain to me what the: getOption() method returns exactly, say line 115?, more specifically, is the Option a class of its own? What is its implementation. I can't seem to wrap my head around it.
Hmm keep in mind that this is code I wrote ten years ago in school and that I havent touched java since.
So you should look at the revision history, somehow I removed the definition for Option in one of my revisions, probably by accident. I'll try to fix it later today.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only works for me if I move the scanner forward in case of invalid characters: