test_class.declarator: set
test_class.modifier: private
test_class.original_string: private SampleSet<String> set;
test_class.type: SampleSet<String>
test_class.var_name: set
test_class.declarator: e
test_class.modifier: private
test_class.original_string: private String[] e;
test_class.type: String[]
test_class.var_name: e
test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/frequency/util/TestSampleSet.java
test_class.identifier: TestSampleSet
test_case.body: @Test
      public void testPut()
      {
          // Empty set
          assertEquals(1L, set.put(e[0]));
          assertEquals(e[0], set.peek().getItem());
          assertEquals(e[0], ((SampleSet<String>) set).peekMin());
      }
test_case.class_method_signature: TestSampleSet.testPut()
test_case.full_signature: @Test public void testPut()
test_case.identifier: testPut
test_case.invocations: assertEquals put assertEquals getItem peek assertEquals peekMin
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPut()
focal_class.declarator: sampleMap
focal_class.modifier: private
focal_class.original_string: private Map<T, Node<T>> sampleMap;
focal_class.type: Map<T, Node<T>>
focal_class.var_name: sampleMap
focal_class.declarator: size
focal_class.modifier: private
focal_class.original_string: private int size;
focal_class.type: int
focal_class.var_name: size
focal_class.declarator: count
focal_class.modifier: private
focal_class.original_string: private long count;
focal_class.type: long
focal_class.var_name: count
focal_class.declarator: random
focal_class.modifier: private
focal_class.original_string: private Random random;
focal_class.type: Random
focal_class.var_name: random
focal_class.declarator: head
focal_class.modifier: private
focal_class.original_string: private Node<T> head;
focal_class.type: Node<T>
focal_class.var_name: head
focal_class.declarator: tail
focal_class.modifier: private
focal_class.original_string: private Node<T> tail;
focal_class.type: Node<T>
focal_class.var_name: tail
focal_class.file: ml/streaminer/src/main/java/org/streaminer/stream/frequency/util/SampleSet.java
focal_class.identifier: SampleSet
focal_class.interfaces: implements ISampleSet<T>
focal_class.class_method_signature: SampleSet.SampleSet()
focal_class.full_signature: public  SampleSet()
focal_class.identifier: SampleSet
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SampleSet()
focal_class.class_method_signature: SampleSet.SampleSet(int capacity)
focal_class.full_signature: public  SampleSet(int capacity)
focal_class.identifier: SampleSet
focal_class.modifiers: public
focal_class.parameters: (int capacity)
focal_class.signature:  SampleSet(int capacity)
focal_class.class_method_signature: SampleSet.SampleSet(int capacity, Random random)
focal_class.full_signature: public  SampleSet(int capacity, Random random)
focal_class.identifier: SampleSet
focal_class.modifiers: public
focal_class.parameters: (int capacity, Random random)
focal_class.signature:  SampleSet(int capacity, Random random)
focal_class.class_method_signature: SampleSet.peek()
focal_class.full_signature: @Override public CountEntry<T> peek()
focal_class.identifier: peek
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CountEntry<T>
focal_class.signature: CountEntry<T> peek()
focal_class.class_method_signature: SampleSet.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: SampleSet.put(T element)
focal_class.full_signature: @Override public long put(T element)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (T element)
focal_class.return: long
focal_class.signature: long put(T element)
focal_class.class_method_signature: SampleSet.put(T element, long incrementCount)
focal_class.full_signature: @Override public long put(T element, long incrementCount)
focal_class.identifier: put
focal_class.modifiers: @Override public
focal_class.parameters: (T element, long incrementCount)
focal_class.return: long
focal_class.signature: long put(T element, long incrementCount)
focal_class.class_method_signature: SampleSet.removeRandom()
focal_class.full_signature: @Override public T removeRandom()
focal_class.identifier: removeRandom
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T removeRandom()
focal_class.class_method_signature: SampleSet.removeMin()
focal_class.full_signature: protected T removeMin()
focal_class.identifier: removeMin
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T removeMin()
focal_class.class_method_signature: SampleSet.size()
focal_class.full_signature: @Override public int size()
focal_class.identifier: size
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: SampleSet.count()
focal_class.full_signature: @Override public long count()
focal_class.identifier: count
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long count()
focal_class.class_method_signature: SampleSet.peekMin()
focal_class.full_signature: protected T peekMin()
focal_class.identifier: peekMin
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T peekMin()
focal_class.class_method_signature: SampleSet.promote(Node<T> node)
focal_class.full_signature: protected void promote(Node<T> node)
focal_class.identifier: promote
focal_class.modifiers: protected
focal_class.parameters: (Node<T> node)
focal_class.return: void
focal_class.signature: void promote(Node<T> node)
focal_class.class_method_signature: SampleSet.demote(Node<T> node)
focal_class.full_signature: protected void demote(Node<T> node)
focal_class.identifier: demote
focal_class.modifiers: protected
focal_class.parameters: (Node<T> node)
focal_class.return: void
focal_class.signature: void demote(Node<T> node)
focal_method.body: @Override
      public long put(T element)
      {
          return put(element, 1);
      }
focal_method.class_method_signature: SampleSet.put(T element)
focal_method.full_signature: @Override public long put(T element)
focal_method.identifier: put
focal_method.invocations: put
focal_method.modifiers: @Override public
focal_method.parameters: (T element)
focal_method.return: long
focal_method.signature: long put(T element)