Sha256: 27fdf82f1e4d9601b3097249525cd469950c2e9fbfa2b34b2fc5cdc94bdfb40e
Contents?: true
Size: 300 Bytes
Versions: 2
Compression:
Stored size: 300 Bytes
Contents
class ThreadStackCombinator attr_accessor :combinedThreadStacks def initialize @combinedThreadStacks = Array.new end def combine(threadStack) @combinedThreadStacks << threadStack unless @combinedThreadStacks.count { |combinedThreadStack| combinedThreadStack.merge(threadStack)} > 0 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
WasThreadStackProcessor-0.1.4 | lib/threadStackCombinator.rb |
WasThreadStackProcessor-0.1.3 | lib/threadStackCombinator.rb |