what-the-bank/sources/com/google/common/collect/RangeSet.java

52 lines
960 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.common.collect;
import java.lang.Comparable;
import java.util.Set;
/* loaded from: classes2.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(Object obj);
int hashCode();
boolean intersects(Range<C> range);
boolean isEmpty();
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();
}