Last active
October 9, 2019 08:45
-
-
Save zarinfam/ecb670c3bcfa142919902c381841bd5c to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogReader logReader = (Serializable & LogReader) () -> readAllLogFileLines(); | |
if (logReader instanceof Serializable){ | |
System.out.println("it is Serializable"); | |
} | |
serializeIt((Serializable) logReader); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment