Skip to content

Instantly share code, notes, and snippets.

@shahsurajk
Last active March 23, 2020 17:12
Show Gist options
  • Save shahsurajk/58191e18a7bac5d65d684e5fe390a8ad to your computer and use it in GitHub Desktop.
Save shahsurajk/58191e18a7bac5d65d684e5fe390a8ad to your computer and use it in GitHub Desktop.
final List<String> s = new ArrayList<>();
final boolean isOfTypeListOfString = s instanceof List<String>;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment