mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-27 17:42:33 -06:00
56 lines
1.1 KiB
Java
56 lines
1.1 KiB
Java
package com.google.common.collect;
|
|
|
|
import com.google.errorprone.annotations.DoNotMock;
|
|
import java.lang.Comparable;
|
|
import java.util.Set;
|
|
import javax.annotation.CheckForNull;
|
|
|
|
@DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
|
|
@ElementTypesAreNonnullByDefault
|
|
/* loaded from: classes3.dex */
|
|
public interface RangeSet<C extends Comparable> {
|
|
void add(Range<C> range);
|
|
|
|
void addAll(RangeSet<C> rangeSet);
|
|
|
|
void addAll(Iterable<Range<C>> iterable);
|
|
|
|
Set<Range<C>> asDescendingSetOfRanges();
|
|
|
|
Set<Range<C>> asRanges();
|
|
|
|
void clear();
|
|
|
|
RangeSet<C> complement();
|
|
|
|
boolean contains(C c);
|
|
|
|
boolean encloses(Range<C> range);
|
|
|
|
boolean enclosesAll(RangeSet<C> rangeSet);
|
|
|
|
boolean enclosesAll(Iterable<Range<C>> iterable);
|
|
|
|
boolean equals(@CheckForNull Object obj);
|
|
|
|
int hashCode();
|
|
|
|
boolean intersects(Range<C> range);
|
|
|
|
boolean isEmpty();
|
|
|
|
@CheckForNull
|
|
Range<C> rangeContaining(C c);
|
|
|
|
void remove(Range<C> range);
|
|
|
|
void removeAll(RangeSet<C> rangeSet);
|
|
|
|
void removeAll(Iterable<Range<C>> iterable);
|
|
|
|
Range<C> span();
|
|
|
|
RangeSet<C> subRangeSet(Range<C> range);
|
|
|
|
String toString();
|
|
}
|