public class Bag<E> extends Object
Bag()
Bag(Map<E,Integer> map)
boolean
add(E e)
add(E e, int count)
Collection<Map.Entry<E,Integer>>
entrySet()
int
getCount(E e)
Set<E>
keySet()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Bag()
public Bag(Map<E,Integer> map)
public boolean add(E e)
public boolean add(E e, int count)
public Set<E> keySet()
public Collection<Map.Entry<E,Integer>> entrySet()
public int getCount(E e)
Copyright © 2003–2015. All rights reserved.