test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/membership/TimingBloomFilterTest.java
test_class.identifier: TimingBloomFilterTest
test_case.body: @Test
      @Ignore
      public void testDecay() throws InterruptedException {
          TimingBloomFilter filter = new TimingBloomFilter(500, 4);
          filter.startDecay();
          filter.add("hello");
          
          assertTrue(filter.membershipTest("hello"));
          
          Thread.sleep(5 * 1000);
          
          assertFalse(filter.membershipTest("hello"));
      }
test_case.class_method_signature: TimingBloomFilterTest.testDecay()
test_case.full_signature: @Test @Ignore public void testDecay()
test_case.identifier: testDecay
test_case.invocations: startDecay add assertTrue membershipTest sleep assertFalse membershipTest
test_case.modifiers: @Test @Ignore public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDecay()
focal_class.declarator: LOG = LoggerFactory.getLogger(TimingBloomFilter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(TimingBloomFilter.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: ENTRIES_PER_8BYTE = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int ENTRIES_PER_8BYTE = 1;
focal_class.type: int
focal_class.var_name: ENTRIES_PER_8BYTE
focal_class.declarator: capacity
focal_class.modifier: private
focal_class.original_string: private int capacity;
focal_class.type: int
focal_class.var_name: capacity
focal_class.declarator: numBytes
focal_class.modifier: private
focal_class.original_string: private int numBytes;
focal_class.type: int
focal_class.var_name: numBytes
focal_class.declarator: numHashes
focal_class.modifier: private
focal_class.original_string: private int numHashes;
focal_class.type: int
focal_class.var_name: numHashes
focal_class.declarator: decayTime
focal_class.modifier: private
focal_class.original_string: private int decayTime;
focal_class.type: int
focal_class.var_name: decayTime
focal_class.declarator: ringSize
focal_class.modifier: private
focal_class.original_string: private int ringSize;
focal_class.type: int
focal_class.var_name: ringSize
focal_class.declarator: dN
focal_class.modifier: private
focal_class.original_string: private int dN;
focal_class.type: int
focal_class.var_name: dN
focal_class.declarator: numNonZero
focal_class.modifier: private
focal_class.original_string: private int numNonZero;
focal_class.type: int
focal_class.var_name: numNonZero
focal_class.declarator: data
focal_class.modifier: private
focal_class.original_string: private int[] data;
focal_class.type: int[]
focal_class.var_name: data
focal_class.declarator: error
focal_class.modifier: private
focal_class.original_string: private double error;
focal_class.type: double
focal_class.var_name: error
focal_class.declarator: secondsPerTick
focal_class.modifier: private
focal_class.original_string: private double secondsPerTick;
focal_class.type: double
focal_class.var_name: secondsPerTick
focal_class.declarator: timer
focal_class.modifier: private
focal_class.original_string: private Timer timer;
focal_class.type: Timer
focal_class.var_name: timer
focal_class.declarator: hash
focal_class.modifier: private
focal_class.original_string: private MurmurHash3 hash;
focal_class.type: MurmurHash3
focal_class.var_name: hash
focal_class.declarator: seed
focal_class.modifier: private
focal_class.original_string: private int seed;
focal_class.type: int
focal_class.var_name: seed
focal_class.file: ml/streaminer/src/main/java/org/streaminer/stream/membership/TimingBloomFilter.java
focal_class.identifier: TimingBloomFilter
focal_class.class_method_signature: TimingBloomFilter.TimingBloomFilter(int capacity, int decayTime)
focal_class.full_signature: public  TimingBloomFilter(int capacity, int decayTime)
focal_class.identifier: TimingBloomFilter
focal_class.modifiers: public
focal_class.parameters: (int capacity, int decayTime)
focal_class.signature:  TimingBloomFilter(int capacity, int decayTime)
focal_class.class_method_signature: TimingBloomFilter.TimingBloomFilter(int capacity, int decayTime, double error)
focal_class.full_signature: public  TimingBloomFilter(int capacity, int decayTime, double error)
focal_class.identifier: TimingBloomFilter
focal_class.modifiers: public
focal_class.parameters: (int capacity, int decayTime, double error)
focal_class.signature:  TimingBloomFilter(int capacity, int decayTime, double error)
focal_class.class_method_signature: TimingBloomFilter.initialize()
focal_class.full_signature: private void initialize()
focal_class.identifier: initialize
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initialize()
focal_class.class_method_signature: TimingBloomFilter.startDecay()
focal_class.full_signature: public void startDecay()
focal_class.identifier: startDecay
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startDecay()
focal_class.class_method_signature: TimingBloomFilter.decay()
focal_class.full_signature: public void decay()
focal_class.identifier: decay
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void decay()
focal_class.class_method_signature: TimingBloomFilter.run()
focal_class.full_signature: @Override public void run()
focal_class.identifier: run
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void run()
focal_class.class_method_signature: TimingBloomFilter.indexes(Object key)
focal_class.full_signature: private int[] indexes(Object key)
focal_class.identifier: indexes
focal_class.modifiers: private
focal_class.parameters: (Object key)
focal_class.return: int[]
focal_class.signature: int[] indexes(Object key)
focal_class.class_method_signature: TimingBloomFilter.tick(long timestamp)
focal_class.full_signature: private int tick(long timestamp)
focal_class.identifier: tick
focal_class.modifiers: private
focal_class.parameters: (long timestamp)
focal_class.return: int
focal_class.signature: int tick(long timestamp)
focal_class.class_method_signature: TimingBloomFilter.time()
focal_class.full_signature: private long time()
focal_class.identifier: time
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long time()
focal_class.class_method_signature: TimingBloomFilter.tickRange()
focal_class.full_signature: private int[] tickRange()
focal_class.identifier: tickRange
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: int[]
focal_class.signature: int[] tickRange()
focal_class.class_method_signature: TimingBloomFilter.add(Object key)
focal_class.full_signature: public void add(Object key)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Object key)
focal_class.return: void
focal_class.signature: void add(Object key)
focal_class.class_method_signature: TimingBloomFilter.add(Object key, long timestamp)
focal_class.full_signature: public void add(Object key, long timestamp)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Object key, long timestamp)
focal_class.return: void
focal_class.signature: void add(Object key, long timestamp)
focal_class.class_method_signature: TimingBloomFilter.testInterval(int[] ticks, int data)
focal_class.full_signature: private boolean testInterval(int[] ticks, int data)
focal_class.identifier: testInterval
focal_class.modifiers: private
focal_class.parameters: (int[] ticks, int data)
focal_class.return: boolean
focal_class.signature: boolean testInterval(int[] ticks, int data)
focal_class.class_method_signature: TimingBloomFilter.membershipTest(Object key)
focal_class.full_signature: public boolean membershipTest(Object key)
focal_class.identifier: membershipTest
focal_class.modifiers: public
focal_class.parameters: (Object key)
focal_class.return: boolean
focal_class.signature: boolean membershipTest(Object key)
focal_class.class_method_signature: TimingBloomFilter.getError()
focal_class.full_signature: public double getError()
focal_class.identifier: getError
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getError()
focal_class.superclass: extends TimerTask
focal_method.body: public void decay() {
          run();
      }
focal_method.class_method_signature: TimingBloomFilter.decay()
focal_method.full_signature: public void decay()
focal_method.identifier: decay
focal_method.invocations: run
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void decay()