Package | Description |
---|---|
io.druid.extendedset.intset |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIntSet
This class provides a skeletal implementation of the
IntSet
interface to minimize the effort required to implement this interface. |
class |
ConciseSet
This is CONCISE: COmpressed 'N' Composable Integer SEt.
|
Modifier and Type | Method and Description |
---|---|
IntSet |
IntSet.clone()
See the
clone() of Object |
abstract IntSet |
AbstractIntSet.clone()
See the
clone() of Object |
IntSet |
IntSet.complemented()
Generates the complement set.
|
IntSet |
AbstractIntSet.complemented()
Generates the complement set.
|
IntSet |
IntSet.convert(Collection<Integer> c)
Converts a given collection into an instance of the current class.
|
abstract IntSet |
AbstractIntSet.convert(Collection<Integer> c)
Converts a given collection into an instance of the current class.
|
IntSet |
IntSet.convert(int... a)
Converts a given array into an instance of the current class.
|
abstract IntSet |
AbstractIntSet.convert(int... a)
Converts a given array into an instance of the current class.
|
IntSet |
IntSet.difference(IntSet other)
Generates the difference set
|
IntSet |
AbstractIntSet.difference(IntSet other)
Generates the difference set
|
IntSet |
IntSet.empty()
Generates an empty set
|
abstract IntSet |
AbstractIntSet.empty()
Generates an empty set
|
IntSet |
IntSet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
AbstractIntSet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
IntSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
IntSet |
AbstractIntSet.symmetricDifference(IntSet c)
Generates the symmetric difference set
|
IntSet |
IntSet.union(IntSet other)
Generates the union set
|
IntSet |
AbstractIntSet.union(IntSet other)
Generates the union set
|
Modifier and Type | Method and Description |
---|---|
List<? extends IntSet> |
IntSet.powerSet()
Computes the power-set of the current set.
|
List<? extends IntSet> |
AbstractIntSet.powerSet()
Computes the power-set of the current set.
|
List<? extends IntSet> |
IntSet.powerSet(int min,
int max)
Computes a subset of the power-set of the current set, composed by those
subsets that have cardinality between
min and
max . |
List<? extends IntSet> |
AbstractIntSet.powerSet(int min,
int max)
Computes a subset of the power-set of the current set, composed by those
subsets that have cardinality between
min and
max . |
Modifier and Type | Method and Description |
---|---|
boolean |
IntSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
ConciseSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
boolean |
AbstractIntSet.addAll(IntSet c)
Adds all of the elements in the specified collection to this set if
they're not already present.
|
int |
ConciseSet.compareTo(IntSet o) |
int |
AbstractIntSet.compareTo(IntSet o) |
boolean |
IntSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
ConciseSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
AbstractIntSet.containsAll(IntSet c)
Returns true if this set contains all of the elements of the
specified collection.
|
boolean |
IntSet.containsAny(IntSet other)
|
boolean |
ConciseSet.containsAny(IntSet c)
|
boolean |
AbstractIntSet.containsAny(IntSet c)
|
boolean |
IntSet.containsAtLeast(IntSet other,
int minElements)
|
boolean |
ConciseSet.containsAtLeast(IntSet c,
int minElements)
|
boolean |
AbstractIntSet.containsAtLeast(IntSet c,
int minElements)
|
IntSet |
IntSet.difference(IntSet other)
Generates the difference set
|
ConciseSet |
ConciseSet.difference(IntSet other)
Generates the difference set
|
IntSet |
AbstractIntSet.difference(IntSet other)
Generates the difference set
|
int |
IntSet.differenceSize(IntSet other)
Computes the difference set size.
|
int |
AbstractIntSet.differenceSize(IntSet other)
Computes the difference set size.
|
IntSet |
IntSet.intersection(IntSet other)
Generates the intersection set
|
ConciseSet |
ConciseSet.intersection(IntSet other)
Generates the intersection set
|
IntSet |
AbstractIntSet.intersection(IntSet other)
Generates the intersection set
|
int |
IntSet.intersectionSize(IntSet other)
Computes the intersection set size.
|
int |
ConciseSet.intersectionSize(IntSet o)
Computes the intersection set size.
|
int |
AbstractIntSet.intersectionSize(IntSet c)
Computes the intersection set size.
|
double |
IntSet.jaccardDistance(IntSet other)
Computes the Jaccard distance between this set and the given set.
|
double |
AbstractIntSet.jaccardDistance(IntSet other)
Computes the Jaccard distance between this set and the given set.
|
double |
IntSet.jaccardSimilarity(IntSet other)
Computes the Jaccard similarity coefficient between this set and the
given set.
|
double |
AbstractIntSet.jaccardSimilarity(IntSet other)
Computes the Jaccard similarity coefficient between this set and the
given set.
|
boolean |
IntSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
ConciseSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
AbstractIntSet.removeAll(IntSet c)
Removes from this set all of its elements that are contained in the
specified collection.
|
boolean |
IntSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
ConciseSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
boolean |
AbstractIntSet.retainAll(IntSet c)
Retains only the elements in this set that are contained in the specified
collection.
|
IntSet |
IntSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
ConciseSet |
ConciseSet.symmetricDifference(IntSet other)
Generates the symmetric difference set
|
IntSet |
AbstractIntSet.symmetricDifference(IntSet c)
Generates the symmetric difference set
|
int |
IntSet.symmetricDifferenceSize(IntSet other)
Computes the symmetric difference set size.
|
int |
AbstractIntSet.symmetricDifferenceSize(IntSet other)
Computes the symmetric difference set size.
|
IntSet |
IntSet.union(IntSet other)
Generates the union set
|
ConciseSet |
ConciseSet.union(IntSet other)
Generates the union set
|
IntSet |
AbstractIntSet.union(IntSet other)
Generates the union set
|
int |
IntSet.unionSize(IntSet other)
Computes the union set size.
|
int |
AbstractIntSet.unionSize(IntSet other)
Computes the union set size.
|
double |
IntSet.weightedJaccardDistance(IntSet other)
Computes the weighted version of the Jaccard distance between this set
and the given set.
|
double |
AbstractIntSet.weightedJaccardDistance(IntSet other)
Computes the weighted version of the Jaccard distance between this set
and the given set.
|
double |
IntSet.weightedJaccardSimilarity(IntSet other)
Computes the weighted version of the Jaccard similarity coefficient
between this set and the given set.
|
double |
AbstractIntSet.weightedJaccardSimilarity(IntSet other)
Computes the weighted version of the Jaccard similarity coefficient
between this set and the given set.
|
Copyright © 2011–2017. All rights reserved.