Class: Pacer::Pipes::StreamUniqPipe

Inherits:
RubyPipe
  • Object
show all
Defined in:
lib/pacer/pipe/stream_uniq_pipe.rb

Instance Attribute Summary

Attributes inherited from RubyPipe

#starts

Instance Method Summary collapse

Methods inherited from RubyPipe

#enablePath, #reset, #setStarts

Constructor Details

#initialize(buffer = 1000) ⇒ StreamUniqPipe

Returns a new instance of StreamUniqPipe.



3
4
5
6
7
# File 'lib/pacer/pipe/stream_uniq_pipe.rb', line 3

def initialize(buffer = 1000)
  super()
  @list = java.util.LinkedList.new
  @buffer = buffer
end