Class RangeDenormalizer


  • public class RangeDenormalizer
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangeDenormalizer

        public RangeDenormalizer()
    • Method Detail

      • denormalize

        public 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}}
      • subtractAll

        public 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