Created
November 22, 2019 09:26
-
-
Save jasongorman/9c469c643b0af53a7a15b2521fa8ee0c to your computer and use it in GitHub Desktop.
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
Parcel unload(){ | |
synchronized (this) { | |
if (!isEmpty()) { | |
return parcels.remove(parcels.size() - 1); | |
} | |
return null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment