FindBugs™ 1.3.4

edu.umd.cs.findbugs.util
Class Bag<E>

java.lang.Object
  extended by edu.umd.cs.findbugs.util.Bag<E>

public class Bag<E>
extends java.lang.Object

Simple implementation of a Bag

Author:
pugh

Constructor Summary
Bag()
           
 
Method Summary
 boolean add(E e)
           
 java.util.Collection<java.util.Map.Entry<E,java.lang.Integer>> entrySet()
           
 int getCount(E e)
           
 java.util.Set<E> keySet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bag

public Bag()
Method Detail

add

public boolean add(E e)

keySet

public java.util.Set<E> keySet()

entrySet

public java.util.Collection<java.util.Map.Entry<E,java.lang.Integer>> entrySet()

getCount

public int getCount(E e)

FindBugs™ 1.3.4

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.