Class ObjectCounter


  • public class ObjectCounter
    extends java.lang.Object
    Counts occurrences of objects.
    Author:
    Martin Davis
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjectCounter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.lang.Object o)  
      int count​(java.lang.Object o)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectCounter

        public ObjectCounter()
    • Method Detail

      • add

        public void add​(java.lang.Object o)
      • count

        public int count​(java.lang.Object o)