public class RangeDenormalizer
extends java.lang.Object
Constructor and Description |
---|
RangeDenormalizer() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Range<Token>> |
denormalize(Range<Token> range,
RangeMap<StreamFromOptions> incoming)
"Denormalizes" (kind of the opposite of what Range.normalize does) the ranges in the keys of {{incoming}}
It makes sure that if there is an intersection between {{range}} and some of the ranges in {{incoming.keySet()}}
we know that all intersections are keys in the updated {{incoming}}
|
static java.util.Set<Range<Token>> |
subtractAll(java.util.Collection<java.util.Map.Entry<Range<Token>,StreamFromOptions>> ranges,
Range<Token> toSubtract)
copied from Range - need to iterate over the map entries
|
public static java.util.Set<Range<Token>> denormalize(Range<Token> range, RangeMap<StreamFromOptions> incoming)
Copyright © 2009- The Apache Software Foundation