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/d1fe36878f2a845214bd9f83227b06a3 to your computer and use it in GitHub Desktop.
Save jasongorman/d1fe36878f2a845214bd9f83227b06a3 to your computer and use it in GitHub Desktop.
void load(Parcel parcel){
while(true) {
synchronized (this) {
if (!isFull()) {
parcels.add(parcel);
break;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment