test_class.declarator: NUM_ITERATIONS = 100000
test_class.modifier: private static final
test_class.original_string: private static final int NUM_ITERATIONS = 100000;
test_class.type: int
test_class.var_name: NUM_ITERATIONS
test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/frequency/topk/TestStreamSummary.java
test_class.identifier: TestStreamSummary
test_case.body: @Test
      public void testStreamSummary()
      {
          StreamSummary<String> vs = new StreamSummary<String>(3);
          String[] stream = {"X", "X", "Y", "Z", "A", "B", "C", "X", "X", "A", "A", "A"};
          for (String i : stream)
          {
              vs.add(i);
              /*
          for(String s : vs.poll(3))
          System.out.print(s+" ");
               */
              System.out.println(vs);
          }
      }
test_case.class_method_signature: TestStreamSummary.testStreamSummary()
test_case.full_signature: @Test public void testStreamSummary()
test_case.identifier: testStreamSummary
test_case.invocations: add println
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStreamSummary()
focal_class.declarator: capacity
focal_class.modifier: protected
focal_class.original_string: protected int capacity;
focal_class.type: int
focal_class.var_name: capacity
focal_class.declarator: counterMap
focal_class.modifier: private
focal_class.original_string: private HashMap<T, ListNode2<Counter<T>>> counterMap;
focal_class.type: HashMap<T, ListNode2<Counter<T>>>
focal_class.var_name: counterMap
focal_class.declarator: bucketList
focal_class.modifier: protected
focal_class.original_string: protected DoublyLinkedList<Bucket> bucketList;
focal_class.type: DoublyLinkedList<Bucket>
focal_class.var_name: bucketList
focal_class.file: ml/streaminer/src/main/java/org/streaminer/stream/frequency/topk/StreamSummary.java
focal_class.identifier: StreamSummary
focal_class.interfaces: implements ITopK<T>
focal_class.class_method_signature: StreamSummary.StreamSummary()
focal_class.full_signature: public  StreamSummary()
focal_class.identifier: StreamSummary
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  StreamSummary()
focal_class.class_method_signature: StreamSummary.StreamSummary(int capacity)
focal_class.full_signature: public  StreamSummary(int capacity)
focal_class.identifier: StreamSummary
focal_class.modifiers: public
focal_class.parameters: (int capacity)
focal_class.signature:  StreamSummary(int capacity)
focal_class.class_method_signature: StreamSummary.getCapacity()
focal_class.full_signature: public int getCapacity()
focal_class.identifier: getCapacity
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCapacity()
focal_class.class_method_signature: StreamSummary.add(T item)
focal_class.full_signature: @Override public boolean add(T item)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (T item)
focal_class.return: boolean
focal_class.signature: boolean add(T item)
focal_class.class_method_signature: StreamSummary.add(T element, long incrementCount)
focal_class.full_signature: @Override public boolean add(T element, long incrementCount)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (T element, long incrementCount)
focal_class.return: boolean
focal_class.signature: boolean add(T element, long incrementCount)
focal_class.class_method_signature: StreamSummary.offerReturnDropped(T item, int incrementCount)
focal_class.full_signature: public T offerReturnDropped(T item, int incrementCount)
focal_class.identifier: offerReturnDropped
focal_class.modifiers: public
focal_class.parameters: (T item, int incrementCount)
focal_class.return: T
focal_class.signature: T offerReturnDropped(T item, int incrementCount)
focal_class.class_method_signature: StreamSummary.offerReturnAll(T item, long incrementCount)
focal_class.full_signature: public Pair<Boolean, T> offerReturnAll(T item, long incrementCount)
focal_class.identifier: offerReturnAll
focal_class.modifiers: public
focal_class.parameters: (T item, long incrementCount)
focal_class.return: Pair<Boolean, T>
focal_class.signature: Pair<Boolean, T> offerReturnAll(T item, long incrementCount)
focal_class.class_method_signature: StreamSummary.incrementCounter(ListNode2<Counter<T>> counterNode, long incrementCount)
focal_class.full_signature: protected void incrementCounter(ListNode2<Counter<T>> counterNode, long incrementCount)
focal_class.identifier: incrementCounter
focal_class.modifiers: protected
focal_class.parameters: (ListNode2<Counter<T>> counterNode, long incrementCount)
focal_class.return: void
focal_class.signature: void incrementCounter(ListNode2<Counter<T>> counterNode, long incrementCount)
focal_class.class_method_signature: StreamSummary.peek(int k)
focal_class.full_signature: @Override public List<CountEntry<T>> peek(int k)
focal_class.identifier: peek
focal_class.modifiers: @Override public
focal_class.parameters: (int k)
focal_class.return: List<CountEntry<T>>
focal_class.signature: List<CountEntry<T>> peek(int k)
focal_class.class_method_signature: StreamSummary.topK(int k)
focal_class.full_signature: public List<Counter<T>> topK(int k)
focal_class.identifier: topK
focal_class.modifiers: public
focal_class.parameters: (int k)
focal_class.return: List<Counter<T>>
focal_class.signature: List<Counter<T>> topK(int k)
focal_class.class_method_signature: StreamSummary.size()
focal_class.full_signature: public long size()
focal_class.identifier: size
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long size()
focal_class.class_method_signature: StreamSummary.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public StreamSummary() {
      }
focal_method.class_method_signature: StreamSummary.StreamSummary()
focal_method.full_signature: public  StreamSummary()
focal_method.identifier: StreamSummary
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.signature:  StreamSummary()