Created
November 22, 2019 09:41
-
-
Save jasongorman/f8c9e6fbda89be8f1bf4969121f71da0 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(){ | |
while(true){ | |
synchronized (this) { | |
if(!isEmpty()) { | |
return parcels.remove(parcels.size() - 1); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment