public interface DoubleColumn extends NumericColumn<Double>
BASE_CHARACTERISTICS| Modifier and Type | Method and Description |
|---|---|
DoubleColumn |
append(Column<Double> tail)
Appends two columns with the same element type.
|
static DoubleColumnBuilder |
builder() |
static DoubleColumnBuilder |
builder(int characteristics) |
static Collector<Double,?,DoubleColumn> |
collector() |
static Collector<Double,?,DoubleColumn> |
collector(int characteristics) |
DoubleColumn |
copy()
Returns a column equal to this one, but with elements stored in a newly
allocated buffer.
|
double |
getDouble(int index) |
DoubleColumn |
head(Double toElement)
Same behavior as
Column.head(Object, boolean), with inclusive set
to false. |
DoubleColumn |
head(Double toElement,
boolean inclusive)
Returns a view of the portion of this column whose elements are less than (or
equal to, if
inclusive is true) toElement. |
static DoubleColumn |
of(Double... elements) |
DoubleColumn |
subColumn(Double fromElement,
boolean fromInclusive,
Double toElement,
boolean toInclusive)
Returns a view of the portion of this column whose elements range from
fromElement to toElement. |
DoubleColumn |
subColumn(Double fromElement,
Double toElement)
Same behavior as
Column#subColumn(Object, boolean, Object, Boolean),
with fromInclusive set to true and toInclusive set to false. |
DoubleColumn |
subColumn(int fromIndex,
int toIndex)
Returns a view of the portion of this column between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
DoubleColumn |
tail(Double fromElement)
Same behavior as
Column.tail(Object, boolean), with inclusive set
to true. |
DoubleColumn |
tail(Double fromElement,
boolean inclusive)
Returns a view of the portion of this column whose elements are greater than
(or equal to, if
inclusive is true) fromElement. |
DoubleColumn |
toHeap()
Converts an index into a heap.
|
DoubleColumn |
toSorted()
Converts a heap to an index.
|
meanappend, characteristics, getType, isDistinct, isNonnull, isNull, isSorted, spliterator, toDistinctadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, subList, toArray, toArrayceiling, descendingIterator, descendingSet, floor, headSet, headSet, higher, iterator, lower, pollFirst, pollLast, subSet, subSet, tailSet, tailSetcomparator, first, lastparallelStream, removeIf, streamDoubleColumn subColumn(int fromIndex, int toIndex)
ColumnDoubleColumn subColumn(Double fromElement, boolean fromInclusive, Double toElement, boolean toInclusive)
ColumnfromElement to toElement. If fromElement and
toElement are equal, the returned column is empty unless fromInclusive and toInclusive are both true. The returned column is
backed by this column.
This method is only available when Column.isDistinct() returns
true.
subColumn in interface Column<Double>fromElement - low endpoint of the returned columnfromInclusive - true if the low endpoint is to be included in the
returned viewtoElement - high endpoint of the returned columntoInclusive - true if the high endpoint is to be included in the
returned viewfromElement to toElementDoubleColumn subColumn(Double fromElement, Double toElement)
ColumnColumn#subColumn(Object, boolean, Object, Boolean),
with fromInclusive set to true and toInclusive set to false.
This method is only available when Column.isDistinct() returns
true.
subColumn in interface Column<Double>fromElement - low endpoint of the returned column, inclusivetoElement - high endpoint of the returned column, exclusivefromElement, inclusive, to toElement, exclusiveDoubleColumn head(Double toElement, boolean inclusive)
Columninclusive is true) toElement. The returned
column is backed by this column.
This method is only available when Column.isDistinct() returns
true.
head in interface Column<Double>toElement - high endpoint of the returned columninclusive - true if the high endpoint is to be included in the
returned viewinclusive is true) toElementDoubleColumn head(Double toElement)
ColumnColumn.head(Object, boolean), with inclusive set
to false.
This method is only available when Column.isDistinct() returns
true.
DoubleColumn tail(Double fromElement, boolean inclusive)
Columninclusive is true) fromElement. The returned
column is backed by this column.
This method is only available when Column.isDistinct() returns
true.
DoubleColumn tail(Double fromElement)
ColumnColumn.tail(Object, boolean), with inclusive set
to true.
This method is only available when Column.isDistinct() returns
true.
DoubleColumn toHeap()
ColumntoHeap in interface Column<Double>Column.isSorted() as
false. The resulting column shares the same underlying buffer as this
one.DoubleColumn toSorted()
ColumnColumn.characteristics() of this column:
SORTED flag
set. If not already sorted then Column.copy() will be invoked, and the
resulting column will be sorted.
DISTINCT flag unset.
DoubleColumn append(Column<Double> tail)
ColumnBoth columns must have the same characteristics. If they're both unique indices then the first value of the provided column must be greater than the last value of this column.
DoubleColumn copy()
Columndouble getDouble(int index)
static DoubleColumnBuilder builder(int characteristics)
static DoubleColumnBuilder builder()
static DoubleColumn of(Double... elements)
static Collector<Double,?,DoubleColumn> collector(int characteristics)
static Collector<Double,?,DoubleColumn> collector()
Copyright © 2019. All rights reserved.