MCPcopy Index your code
hub / github.com/jankotek/mapdb / SubMap

Method SubMap

src/main/java/org/mapdb/BTreeMapJava.java:631–642  ·  view source on GitHub ↗
(ConcurrentNavigableMapExtra<K,V> m, K lo, boolean loInclusive, K hi, boolean hiInclusive)

Source from the content-addressed store, hash-verified

629 protected final boolean hiInclusive;
630
631 public SubMap(ConcurrentNavigableMapExtra<K,V> m, K lo, boolean loInclusive, K hi, boolean hiInclusive) {
632 this.m = m;
633 this.lo = lo;
634 this.loInclusive = loInclusive;
635 this.hi = hi;
636 this.hiInclusive = hiInclusive;
637 if(lo!=null && hi!=null && m.comparator().compare(lo, hi)>0){
638 throw new IllegalArgumentException();
639 }
640
641
642 }
643
644
645/* ---------------- Map API methods -------------- */

Callers

nothing calls this directly

Calls 2

compareMethod · 0.65
comparatorMethod · 0.45

Tested by

no test coverage detected