Sha256: e7af9e6f06e76da56a18a5b30e4dc10ff71007e3f0f9463f33910abdea0292a1
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
module Pacer::Pipes class TypeFilterPipe < RubyPipe def initialize(type) super() @type = type end def processNextStart() while @starts.hasNext s = @starts.next return s if s.is_a? @type end raise Pacer::NoSuchElementException rescue NativeException => e if e.cause.getClass == Pacer::NoSuchElementException.getClass raise e.cause else raise e end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pacer-0.9.1.1-java | lib/pacer/pipe/type_filter_pipe.rb |