.class public Lcom/google/common/collect/TreeRangeSet; .super Lcom/google/common/collect/AbstractRangeSet; .source "TreeRangeSet.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation build Lcom/google/common/annotations/Beta; .end annotation .annotation build Lcom/google/common/annotations/GwtIncompatible; .end annotation .annotation runtime Lcom/google/common/collect/ElementTypesAreNonnullByDefault; .end annotation .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/google/common/collect/TreeRangeSet$SubRangeSet;, Lcom/google/common/collect/TreeRangeSet$SubRangeSetRangesByLowerBound;, Lcom/google/common/collect/TreeRangeSet$Complement;, Lcom/google/common/collect/TreeRangeSet$ComplementRangesByLowerBound;, Lcom/google/common/collect/TreeRangeSet$RangesByUpperBound;, Lcom/google/common/collect/TreeRangeSet$AsRanges; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { ";>", "Lcom/google/common/collect/AbstractRangeSet<", "TC;>;", "Ljava/io/Serializable;" } .end annotation # instance fields .field private transient asDescendingSetOfRanges:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Lcom/google/common/collect/Range<", "TC;>;>;" } .end annotation .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end field .field private transient asRanges:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Lcom/google/common/collect/Range<", "TC;>;>;" } .end annotation .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end field .field private transient complement:Lcom/google/common/collect/RangeSet; .annotation system Ldalvik/annotation/Signature; value = { "Lcom/google/common/collect/RangeSet<", "TC;>;" } .end annotation .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end field .field public final rangesByLowerBound:Ljava/util/NavigableMap; .annotation build Lcom/google/common/annotations/VisibleForTesting; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/NavigableMap<", "Lcom/google/common/collect/Cut<", "TC;>;", "Lcom/google/common/collect/Range<", "TC;>;>;" } .end annotation .end field # direct methods .method private constructor (Ljava/util/NavigableMap;)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/NavigableMap<", "Lcom/google/common/collect/Cut<", "TC;>;", "Lcom/google/common/collect/Range<", "TC;>;>;)V" } .end annotation .line 2 invoke-direct {p0}, Lcom/google/common/collect/AbstractRangeSet;->()V .line 3 iput-object p1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; return-void .end method .method public synthetic constructor (Ljava/util/NavigableMap;Lcom/google/common/collect/TreeRangeSet$1;)V .locals 0 .line 1 invoke-direct {p0, p1}, Lcom/google/common/collect/TreeRangeSet;->(Ljava/util/NavigableMap;)V return-void .end method .method public static synthetic access$600(Lcom/google/common/collect/TreeRangeSet;Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; .locals 0 .line 1 invoke-direct {p0, p1}, Lcom/google/common/collect/TreeRangeSet;->rangeEnclosing(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; move-result-object p0 return-object p0 .end method .method public static create()Lcom/google/common/collect/TreeRangeSet; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { ";>()", "Lcom/google/common/collect/TreeRangeSet<", "TC;>;" } .end annotation .line 1 new-instance v0, Lcom/google/common/collect/TreeRangeSet; new-instance v1, Ljava/util/TreeMap; invoke-direct {v1}, Ljava/util/TreeMap;->()V invoke-direct {v0, v1}, Lcom/google/common/collect/TreeRangeSet;->(Ljava/util/NavigableMap;)V return-object v0 .end method .method public static create(Lcom/google/common/collect/RangeSet;)Lcom/google/common/collect/TreeRangeSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { ";>(", "Lcom/google/common/collect/RangeSet<", "TC;>;)", "Lcom/google/common/collect/TreeRangeSet<", "TC;>;" } .end annotation .line 2 invoke-static {}, Lcom/google/common/collect/TreeRangeSet;->create()Lcom/google/common/collect/TreeRangeSet; move-result-object v0 .line 3 invoke-virtual {v0, p0}, Lcom/google/common/collect/TreeRangeSet;->addAll(Lcom/google/common/collect/RangeSet;)V return-object v0 .end method .method public static create(Ljava/lang/Iterable;)Lcom/google/common/collect/TreeRangeSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { ";>(", "Ljava/lang/Iterable<", "Lcom/google/common/collect/Range<", "TC;>;>;)", "Lcom/google/common/collect/TreeRangeSet<", "TC;>;" } .end annotation .line 4 invoke-static {}, Lcom/google/common/collect/TreeRangeSet;->create()Lcom/google/common/collect/TreeRangeSet; move-result-object v0 .line 5 invoke-virtual {v0, p0}, Lcom/google/common/collect/TreeRangeSet;->addAll(Ljava/lang/Iterable;)V return-object v0 .end method .method private rangeEnclosing(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)", "Lcom/google/common/collect/Range<", "TC;>;" } .end annotation .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1}, Ljava/util/NavigableMap;->floorEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_0 .line 3 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/google/common/collect/Range; invoke-virtual {v1, p1}, Lcom/google/common/collect/Range;->encloses(Lcom/google/common/collect/Range;)Z move-result p1 if-eqz p1, :cond_0 .line 4 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/google/common/collect/Range; goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return-object p1 .end method .method private replaceRangeWithSameLowerBound(Lcom/google/common/collect/Range;)V .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)V" } .end annotation .line 1 invoke-virtual {p1}, Lcom/google/common/collect/Range;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 .line 2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object p1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, p1}, Ljava/util/NavigableMap;->remove(Ljava/lang/Object;)Ljava/lang/Object; goto :goto_0 .line 3 :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1, p1}, Ljava/util/NavigableMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; :goto_0 return-void .end method # virtual methods .method public add(Lcom/google/common/collect/Range;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)V" } .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 invoke-virtual {p1}, Lcom/google/common/collect/Range;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 return-void .line 3 :cond_0 iget-object v0, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; .line 4 iget-object p1, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 5 iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1, v0}, Ljava/util/NavigableMap;->lowerEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v1 if-eqz v1, :cond_2 .line 6 invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/google/common/collect/Range; .line 7 iget-object v2, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-virtual {v2, v0}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v2 if-ltz v2, :cond_2 .line 8 iget-object v0, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-virtual {v0, p1}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v0 if-ltz v0, :cond_1 .line 9 iget-object p1, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 10 :cond_1 iget-object v0, v1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; .line 11 :cond_2 iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1, p1}, Ljava/util/NavigableMap;->floorEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v1 if-eqz v1, :cond_3 .line 12 invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/google/common/collect/Range; .line 13 iget-object v2, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-virtual {v2, p1}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v2 if-ltz v2, :cond_3 .line 14 iget-object p1, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 15 :cond_3 iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1, v0, p1}, Ljava/util/NavigableMap;->subMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedMap; move-result-object v1 invoke-interface {v1}, Ljava/util/SortedMap;->clear()V .line 16 invoke-static {v0, p1}, Lcom/google/common/collect/Range;->create(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; move-result-object p1 invoke-direct {p0, p1}, Lcom/google/common/collect/TreeRangeSet;->replaceRangeWithSameLowerBound(Lcom/google/common/collect/Range;)V return-void .end method .method public bridge synthetic addAll(Lcom/google/common/collect/RangeSet;)V .locals 0 .line 1 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->addAll(Lcom/google/common/collect/RangeSet;)V return-void .end method .method public bridge synthetic addAll(Ljava/lang/Iterable;)V .locals 0 .line 2 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->addAll(Ljava/lang/Iterable;)V return-void .end method .method public asDescendingSetOfRanges()Ljava/util/Set; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set<", "Lcom/google/common/collect/Range<", "TC;>;>;" } .end annotation .line 1 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->asDescendingSetOfRanges:Ljava/util/Set; if-nez v0, :cond_0 .line 2 new-instance v0, Lcom/google/common/collect/TreeRangeSet$AsRanges; iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1}, Ljava/util/NavigableMap;->descendingMap()Ljava/util/NavigableMap; move-result-object v1 invoke-interface {v1}, Ljava/util/NavigableMap;->values()Ljava/util/Collection; move-result-object v1 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/TreeRangeSet$AsRanges;->(Lcom/google/common/collect/TreeRangeSet;Ljava/util/Collection;)V iput-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->asDescendingSetOfRanges:Ljava/util/Set; :cond_0 return-object v0 .end method .method public asRanges()Ljava/util/Set; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set<", "Lcom/google/common/collect/Range<", "TC;>;>;" } .end annotation .line 1 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->asRanges:Ljava/util/Set; if-nez v0, :cond_0 .line 2 new-instance v0, Lcom/google/common/collect/TreeRangeSet$AsRanges; iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1}, Ljava/util/NavigableMap;->values()Ljava/util/Collection; move-result-object v1 invoke-direct {v0, p0, v1}, Lcom/google/common/collect/TreeRangeSet$AsRanges;->(Lcom/google/common/collect/TreeRangeSet;Ljava/util/Collection;)V iput-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->asRanges:Ljava/util/Set; :cond_0 return-object v0 .end method .method public bridge synthetic clear()V .locals 0 .line 1 invoke-super {p0}, Lcom/google/common/collect/AbstractRangeSet;->clear()V return-void .end method .method public complement()Lcom/google/common/collect/RangeSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/RangeSet<", "TC;>;" } .end annotation .line 1 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->complement:Lcom/google/common/collect/RangeSet; if-nez v0, :cond_0 .line 2 new-instance v0, Lcom/google/common/collect/TreeRangeSet$Complement; invoke-direct {v0, p0}, Lcom/google/common/collect/TreeRangeSet$Complement;->(Lcom/google/common/collect/TreeRangeSet;)V iput-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->complement:Lcom/google/common/collect/RangeSet; :cond_0 return-object v0 .end method .method public bridge synthetic contains(Ljava/lang/Comparable;)Z .locals 0 .line 1 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->contains(Ljava/lang/Comparable;)Z move-result p1 return p1 .end method .method public encloses(Lcom/google/common/collect/Range;)Z .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)Z" } .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1}, Ljava/util/NavigableMap;->floorEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_0 .line 3 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; invoke-virtual {v0, p1}, Lcom/google/common/collect/Range;->encloses(Lcom/google/common/collect/Range;)Z move-result p1 if-eqz p1, :cond_0 const/4 p1, 0x1 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method public bridge synthetic enclosesAll(Lcom/google/common/collect/RangeSet;)Z .locals 0 .line 1 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->enclosesAll(Lcom/google/common/collect/RangeSet;)Z move-result p1 return p1 .end method .method public bridge synthetic enclosesAll(Ljava/lang/Iterable;)Z .locals 0 .line 2 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->enclosesAll(Ljava/lang/Iterable;)Z move-result p1 return p1 .end method .method public bridge synthetic equals(Ljava/lang/Object;)Z .locals 0 .param p1 # Ljava/lang/Object; .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .end param .line 1 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->equals(Ljava/lang/Object;)Z move-result p1 return p1 .end method .method public intersects(Lcom/google/common/collect/Range;)Z .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)Z" } .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1}, Ljava/util/NavigableMap;->ceilingEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 const/4 v1, 0x1 if-eqz v0, :cond_0 .line 3 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v2 check-cast v2, Lcom/google/common/collect/Range; invoke-virtual {v2, p1}, Lcom/google/common/collect/Range;->isConnected(Lcom/google/common/collect/Range;)Z move-result v2 if-eqz v2, :cond_0 .line 4 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; invoke-virtual {v0, p1}, Lcom/google/common/collect/Range;->intersection(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; move-result-object v0 invoke-virtual {v0}, Lcom/google/common/collect/Range;->isEmpty()Z move-result v0 if-nez v0, :cond_0 return v1 .line 5 :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v2, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v2}, Ljava/util/NavigableMap;->lowerEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_1 .line 6 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v2 check-cast v2, Lcom/google/common/collect/Range; invoke-virtual {v2, p1}, Lcom/google/common/collect/Range;->isConnected(Lcom/google/common/collect/Range;)Z move-result v2 if-eqz v2, :cond_1 .line 7 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; invoke-virtual {v0, p1}, Lcom/google/common/collect/Range;->intersection(Lcom/google/common/collect/Range;)Lcom/google/common/collect/Range; move-result-object p1 invoke-virtual {p1}, Lcom/google/common/collect/Range;->isEmpty()Z move-result p1 if-nez p1, :cond_1 goto :goto_0 :cond_1 const/4 v1, 0x0 :goto_0 return v1 .end method .method public bridge synthetic isEmpty()Z .locals 1 .line 1 invoke-super {p0}, Lcom/google/common/collect/AbstractRangeSet;->isEmpty()Z move-result v0 return v0 .end method .method public rangeContaining(Ljava/lang/Comparable;)Lcom/google/common/collect/Range; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(TC;)", "Lcom/google/common/collect/Range<", "TC;>;" } .end annotation .annotation runtime Ljavax/annotation/CheckForNull; .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-static {p1}, Lcom/google/common/collect/Cut;->belowValue(Ljava/lang/Comparable;)Lcom/google/common/collect/Cut; move-result-object v1 invoke-interface {v0, v1}, Ljava/util/NavigableMap;->floorEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_0 .line 3 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/google/common/collect/Range; invoke-virtual {v1, p1}, Lcom/google/common/collect/Range;->contains(Ljava/lang/Comparable;)Z move-result p1 if-eqz p1, :cond_0 .line 4 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object p1 check-cast p1, Lcom/google/common/collect/Range; return-object p1 :cond_0 const/4 p1, 0x0 return-object p1 .end method .method public remove(Lcom/google/common/collect/Range;)V .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)V" } .end annotation .line 1 invoke-static {p1}, Lcom/google/common/base/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object; .line 2 invoke-virtual {p1}, Lcom/google/common/collect/Range;->isEmpty()Z move-result v0 if-eqz v0, :cond_0 return-void .line 3 :cond_0 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1}, Ljava/util/NavigableMap;->lowerEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_2 .line 4 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; .line 5 iget-object v1, v0, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; iget-object v2, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-virtual {v1, v2}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v1 if-ltz v1, :cond_2 .line 6 invoke-virtual {p1}, Lcom/google/common/collect/Range;->hasUpperBound()Z move-result v1 if-eqz v1, :cond_1 iget-object v1, v0, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; iget-object v2, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 7 invoke-virtual {v1, v2}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v1 if-ltz v1, :cond_1 .line 8 iget-object v1, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; iget-object v2, v0, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 9 invoke-static {v1, v2}, Lcom/google/common/collect/Range;->create(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; move-result-object v1 .line 10 invoke-direct {p0, v1}, Lcom/google/common/collect/TreeRangeSet;->replaceRangeWithSameLowerBound(Lcom/google/common/collect/Range;)V .line 11 :cond_1 iget-object v0, v0, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; .line 12 invoke-static {v0, v1}, Lcom/google/common/collect/Range;->create(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; move-result-object v0 .line 13 invoke-direct {p0, v0}, Lcom/google/common/collect/TreeRangeSet;->replaceRangeWithSameLowerBound(Lcom/google/common/collect/Range;)V .line 14 :cond_2 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1}, Ljava/util/NavigableMap;->floorEntry(Ljava/lang/Object;)Ljava/util/Map$Entry; move-result-object v0 if-eqz v0, :cond_3 .line 15 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; .line 16 invoke-virtual {p1}, Lcom/google/common/collect/Range;->hasUpperBound()Z move-result v1 if-eqz v1, :cond_3 iget-object v1, v0, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; iget-object v2, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 17 invoke-virtual {v1, v2}, Lcom/google/common/collect/Cut;->compareTo(Lcom/google/common/collect/Cut;)I move-result v1 if-ltz v1, :cond_3 .line 18 iget-object v1, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; iget-object v0, v0, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; .line 19 invoke-static {v1, v0}, Lcom/google/common/collect/Range;->create(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; move-result-object v0 .line 20 invoke-direct {p0, v0}, Lcom/google/common/collect/TreeRangeSet;->replaceRangeWithSameLowerBound(Lcom/google/common/collect/Range;)V .line 21 :cond_3 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; iget-object v1, p1, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; iget-object p1, p1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-interface {v0, v1, p1}, Ljava/util/NavigableMap;->subMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/SortedMap; move-result-object p1 invoke-interface {p1}, Ljava/util/SortedMap;->clear()V return-void .end method .method public bridge synthetic removeAll(Lcom/google/common/collect/RangeSet;)V .locals 0 .line 1 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->removeAll(Lcom/google/common/collect/RangeSet;)V return-void .end method .method public bridge synthetic removeAll(Ljava/lang/Iterable;)V .locals 0 .line 2 invoke-super {p0, p1}, Lcom/google/common/collect/AbstractRangeSet;->removeAll(Ljava/lang/Iterable;)V return-void .end method .method public span()Lcom/google/common/collect/Range; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "()", "Lcom/google/common/collect/Range<", "TC;>;" } .end annotation .line 1 iget-object v0, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v0}, Ljava/util/NavigableMap;->firstEntry()Ljava/util/Map$Entry; move-result-object v0 .line 2 iget-object v1, p0, Lcom/google/common/collect/TreeRangeSet;->rangesByLowerBound:Ljava/util/NavigableMap; invoke-interface {v1}, Ljava/util/NavigableMap;->lastEntry()Ljava/util/Map$Entry; move-result-object v1 if-eqz v0, :cond_0 if-eqz v1, :cond_0 .line 3 invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/common/collect/Range; iget-object v0, v0, Lcom/google/common/collect/Range;->lowerBound:Lcom/google/common/collect/Cut; invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v1 check-cast v1, Lcom/google/common/collect/Range; iget-object v1, v1, Lcom/google/common/collect/Range;->upperBound:Lcom/google/common/collect/Cut; invoke-static {v0, v1}, Lcom/google/common/collect/Range;->create(Lcom/google/common/collect/Cut;Lcom/google/common/collect/Cut;)Lcom/google/common/collect/Range; move-result-object v0 return-object v0 .line 4 :cond_0 new-instance v0, Ljava/util/NoSuchElementException; invoke-direct {v0}, Ljava/util/NoSuchElementException;->()V throw v0 .end method .method public subRangeSet(Lcom/google/common/collect/Range;)Lcom/google/common/collect/RangeSet; .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Lcom/google/common/collect/Range<", "TC;>;)", "Lcom/google/common/collect/RangeSet<", "TC;>;" } .end annotation .line 1 invoke-static {}, Lcom/google/common/collect/Range;->all()Lcom/google/common/collect/Range; move-result-object v0 invoke-virtual {p1, v0}, Lcom/google/common/collect/Range;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 move-object v0, p0 goto :goto_0 :cond_0 new-instance v0, Lcom/google/common/collect/TreeRangeSet$SubRangeSet; invoke-direct {v0, p0, p1}, Lcom/google/common/collect/TreeRangeSet$SubRangeSet;->(Lcom/google/common/collect/TreeRangeSet;Lcom/google/common/collect/Range;)V :goto_0 return-object v0 .end method