Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Created November 22, 2019 09:26
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/9c469c643b0af53a7a15b2521fa8ee0c to your computer and use it in GitHub Desktop.
Save jasongorman/9c469c643b0af53a7a15b2521fa8ee0c to your computer and use it in GitHub Desktop.
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