Sha256: 97dfc55578572ff4387e9aa89e3090565040e9aebc082f7a6561ac8808ca464a
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module Pacer::Pipes class LabelCollectionFilterPipe < RubyPipe def initialize(labels) super() @labels = Set[*labels.map(&:to_s)] end def processNextStart while true edge = @starts.next return edge if edge and @labels.include? edge.label end 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/label_collection_filter_pipe.rb |