test_class.file: src/SlidingWindow/SpaceSavingTest.java
test_class.identifier: SpaceSavingTest
test_case.body: @Test
  	public void testClear() {
  		long key = 611;
  		int n = 1<<10;
  		int size = 1<<5;
  		SpaceSaving ss = new SpaceSaving(n, size, 10);
  		assertFalse(ss.inc(key));
  		assertTrue(ss.containsKey(key));
  		ss.clear();
  		assertFalse(ss.containsKey(key));
  	}
test_case.class_method_signature: SpaceSavingTest.testClear()
test_case.full_signature: @Test public void testClear()
test_case.identifier: testClear
test_case.invocations: assertFalse inc assertTrue containsKey clear assertFalse containsKey
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testClear()
focal_class.declarator: indices
focal_class.modifier: private
focal_class.original_string: private TinyTableWithValues indices;
focal_class.type: TinyTableWithValues
focal_class.var_name: indices
focal_class.declarator: lastsOfQuantity
focal_class.modifier: private
focal_class.original_string: private TinyTableWithValues lastsOfQuantity;
focal_class.type: TinyTableWithValues
focal_class.var_name: lastsOfQuantity
focal_class.declarator: chainIndices
focal_class.modifier: private
focal_class.original_string: private WordArray chainIndices;
focal_class.type: WordArray
focal_class.var_name: chainIndices
focal_class.declarator: quantities
focal_class.modifier: private
focal_class.original_string: private WordArray quantities;
focal_class.type: WordArray
focal_class.var_name: quantities
focal_class.declarator: argmin
focal_class.modifier: private
focal_class.original_string: private int argmin;
focal_class.type: int
focal_class.var_name: argmin
focal_class.declarator: n
focal_class.modifier: final private
focal_class.original_string: final private int n;
focal_class.type: int
focal_class.var_name: n
focal_class.declarator: size
focal_class.modifier: final private
focal_class.original_string: final private int size;
focal_class.type: int
focal_class.var_name: size
focal_class.declarator: ALPHA = 0.2
focal_class.modifier: final private static
focal_class.original_string: final private static double ALPHA = 0.2;
focal_class.type: double
focal_class.var_name: ALPHA
focal_class.declarator: keySize
focal_class.modifier: final private
focal_class.original_string: final private int keySize;
focal_class.type: int
focal_class.var_name: keySize
focal_class.file: src/SlidingWindow/SpaceSaving.java
focal_class.identifier: SpaceSaving
focal_class.class_method_signature: SpaceSaving.SpaceSaving(int n, int size, int keySize)
focal_class.full_signature:   SpaceSaving(int n, int size, int keySize)
focal_class.identifier: SpaceSaving
focal_class.parameters: (int n, int size, int keySize)
focal_class.signature:  SpaceSaving(int n, int size, int keySize)
focal_class.class_method_signature: SpaceSaving.getSpace()
focal_class.full_signature:  long getSpace()
focal_class.identifier: getSpace
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSpace()
focal_class.class_method_signature: SpaceSaving.SpaceSaving(int n, int size)
focal_class.full_signature:   SpaceSaving(int n, int size)
focal_class.identifier: SpaceSaving
focal_class.parameters: (int n, int size)
focal_class.signature:  SpaceSaving(int n, int size)
focal_class.class_method_signature: SpaceSaving.containsKey(long e)
focal_class.full_signature: public boolean containsKey(long e)
focal_class.identifier: containsKey
focal_class.modifiers: public
focal_class.parameters: (long e)
focal_class.return: boolean
focal_class.signature: boolean containsKey(long e)
focal_class.class_method_signature: SpaceSaving.indexMatchesQuantity(int index, int quantity)
focal_class.full_signature:  boolean indexMatchesQuantity(int index, int quantity)
focal_class.identifier: indexMatchesQuantity
focal_class.parameters: (int index, int quantity)
focal_class.return: boolean
focal_class.signature: boolean indexMatchesQuantity(int index, int quantity)
focal_class.class_method_signature: SpaceSaving.bound(long e)
focal_class.full_signature: public int bound(long e)
focal_class.identifier: bound
focal_class.modifiers: public
focal_class.parameters: (long e)
focal_class.return: int
focal_class.signature: int bound(long e)
focal_class.class_method_signature: SpaceSaving.getMin()
focal_class.full_signature: public int getMin()
focal_class.identifier: getMin
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMin()
focal_class.class_method_signature: SpaceSaving.error(long e)
focal_class.full_signature: public int error(long e)
focal_class.identifier: error
focal_class.modifiers: public
focal_class.parameters: (long e)
focal_class.return: int
focal_class.signature: int error(long e)
focal_class.class_method_signature: SpaceSaving.getQuantityIndexInChain(int quantity, FingerPrintAux quantityHash)
focal_class.full_signature: private int getQuantityIndexInChain(int quantity, FingerPrintAux quantityHash)
focal_class.identifier: getQuantityIndexInChain
focal_class.modifiers: private
focal_class.parameters: (int quantity, FingerPrintAux quantityHash)
focal_class.return: int
focal_class.signature: int getQuantityIndexInChain(int quantity, FingerPrintAux quantityHash)
focal_class.class_method_signature: SpaceSaving.getLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.full_signature: private int getLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.identifier: getLastOfQuantity
focal_class.modifiers: private
focal_class.parameters: (int quantity, FingerPrintAux quantityHash)
focal_class.return: int
focal_class.signature: int getLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.class_method_signature: SpaceSaving.removeLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.full_signature: private void removeLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.identifier: removeLastOfQuantity
focal_class.modifiers: private
focal_class.parameters: (int quantity, FingerPrintAux quantityHash)
focal_class.return: void
focal_class.signature: void removeLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.class_method_signature: SpaceSaving.decrementLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.full_signature: private boolean decrementLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.identifier: decrementLastOfQuantity
focal_class.modifiers: private
focal_class.parameters: (int quantity, FingerPrintAux quantityHash)
focal_class.return: boolean
focal_class.signature: boolean decrementLastOfQuantity(int quantity, FingerPrintAux quantityHash)
focal_class.class_method_signature: SpaceSaving.addNewQuantity(int quantity,  int newIndex)
focal_class.full_signature:  void addNewQuantity(int quantity,  int newIndex)
focal_class.identifier: addNewQuantity
focal_class.parameters: (int quantity,  int newIndex)
focal_class.return: void
focal_class.signature: void addNewQuantity(int quantity,  int newIndex)
focal_class.class_method_signature: SpaceSaving.makeRoom()
focal_class.full_signature:  void makeRoom()
focal_class.identifier: makeRoom
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void makeRoom()
focal_class.class_method_signature: SpaceSaving.put(FingerPrintAux hash, int index)
focal_class.full_signature: private void put(FingerPrintAux hash, int index)
focal_class.identifier: put
focal_class.modifiers: private
focal_class.parameters: (FingerPrintAux hash, int index)
focal_class.return: void
focal_class.signature: void put(FingerPrintAux hash, int index)
focal_class.class_method_signature: SpaceSaving.replace(FingerPrintAux hash1, int index2)
focal_class.full_signature: private void replace(FingerPrintAux hash1, int index2)
focal_class.identifier: replace
focal_class.modifiers: private
focal_class.parameters: (FingerPrintAux hash1, int index2)
focal_class.return: void
focal_class.signature: void replace(FingerPrintAux hash1, int index2)
focal_class.class_method_signature: SpaceSaving.incrementQuantity(int index, FingerPrintAux quantityHash)
focal_class.full_signature: private int incrementQuantity(int index, FingerPrintAux quantityHash)
focal_class.identifier: incrementQuantity
focal_class.modifiers: private
focal_class.parameters: (int index, FingerPrintAux quantityHash)
focal_class.return: int
focal_class.signature: int incrementQuantity(int index, FingerPrintAux quantityHash)
focal_class.class_method_signature: SpaceSaving.inc(long key)
focal_class.full_signature: public boolean inc(long key)
focal_class.identifier: inc
focal_class.modifiers: public
focal_class.parameters: (long key)
focal_class.return: boolean
focal_class.signature: boolean inc(long key)
focal_class.class_method_signature: SpaceSaving.clear()
focal_class.full_signature:  void clear()
focal_class.identifier: clear
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: SpaceSaving.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: void clear() {
  		argmin = size;
  	}
focal_method.class_method_signature: SpaceSaving.clear()
focal_method.full_signature:  void clear()
focal_method.identifier: clear
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void clear()