Class AsRangesBase<T extends Comparable<T>>
java.lang.Object
java.util.AbstractCollection<com.google.common.collect.Range<T>>
java.util.AbstractSet<com.google.common.collect.Range<T>>
org.aksw.commons.collection.rangeset.AsRangesBase<T>
- All Implemented Interfaces:
Iterable<com.google.common.collect.Range<T>>, Collection<com.google.common.collect.Range<T>>, Set<com.google.common.collect.Range<T>>
public class AsRangesBase<T extends Comparable<T>>
extends AbstractSet<com.google.common.collect.Range<T>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsRangesBase(Set<com.google.common.collect.Range<T>> aset, Set<com.google.common.collect.Range<T>> bset, Comparator<com.google.common.collect.Range<T>> endpointComparator) -
Method Summary
Methods inherited from class AbstractSet
equals, hashCode, removeAllMethods inherited from class AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from interface Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
aset
-
bset
-
endpointComparator
-
-
Constructor Details
-
AsRangesBase
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends Comparable<T>>- Specified by:
iteratorin interfaceIterable<T extends Comparable<T>>- Specified by:
iteratorin interfaceSet<T extends Comparable<T>>- Specified by:
iteratorin classAbstractCollection<com.google.common.collect.Range<T extends Comparable<T>>>
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends Comparable<T>>- Specified by:
sizein interfaceSet<T extends Comparable<T>>- Specified by:
sizein classAbstractCollection<com.google.common.collect.Range<T extends Comparable<T>>>
-