Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 19th, 2018
72
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.25 KB
| None
|
0
0
raw
download
clone
embed
print
report
public int countItem(Item purchase)
{
int quantity = 0;
if(cart.indexOf(purchase) == -1)
quantity = 0;
else
quantity = get(cart.indexOf(purchase)).getQuantity();
return quantity;
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
Stargate Coords
Lua | 1 hour ago | 1.13 KB
[tmpfixcorners].config/gtk3/gtk.css
CSS | 3 hours ago | 0.12 KB
Roblox random IP address generator and geoloc...
Lua | 3 hours ago | 6.72 KB
Pascua - 2
HTML | 3 hours ago | 0.90 KB
Untitled
Java | 4 hours ago | 0.72 KB
Untitled
Dart | 5 hours ago | 2.70 KB
fusao mekanism
Lua | 5 hours ago | 1.73 KB
Image W/Gallery Expandable Image Features
HTML | 6 hours ago | 0.41 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!