Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created November 22, 2019 09:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/f8c9e6fbda89be8f1bf4969121f71da0 to your computer and use it in GitHub Desktop.
Save jasongorman/f8c9e6fbda89be8f1bf4969121f71da0 to your computer and use it in GitHub Desktop.
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