Class IntervalMap<T>


  • public class IntervalMap<T>
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  IntervalMap.Interval  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.SortedMap<IntervalMap.Interval,​T> from  
    • Constructor Summary

      Constructors 
      Constructor Description
      IntervalMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(T val, long from, long to)  
      T get​(long k)  
      void merge​(IntervalMap<T> other)  
      • Methods inherited from class java.lang.Object

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

      • IntervalMap

        public IntervalMap()
    • Method Detail

      • add

        public void add​(T val,
                        long from,
                        long to)
      • get

        public T get​(long k)