public interface LongColumn extends NumericColumn<Long>
| Modifier and Type | Method and Description |
|---|---|
static LongColumnBuilder |
builder(boolean sortedSet) |
static Collector<Long,?,LongColumn> |
collector(boolean sortedSet) |
long |
getLong(int index) |
LongColumn |
head(Long toElement)
Same behavior as
Column.head(Object, boolean), with inclusive set
to false. |
LongColumn |
head(Long 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 LongColumn |
of(Long... elements) |
LongColumn |
subColumn(int fromIndex,
int toIndex)
Returns a view of the portion of this column between the specified
fromIndex, inclusive, and toIndex, exclusive.
|
LongColumn |
subColumn(Long fromElement,
boolean fromInclusive,
Long toElement,
boolean toInclusive)
Returns a view of the portion of this column whose elements range from
fromElement to toElement. |
LongColumn |
subColumn(Long fromElement,
Long toElement)
Same behavior as
Column#subColumn(Object, boolean, Object, Boolean),
with fromInclusive set to true and toInclusive set to false. |
LongColumn |
tail(Long fromElement)
Same behavior as
Column.tail(Object, boolean), with inclusive set
to true. |
LongColumn |
tail(Long 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. |
meanappend, append, getType, isNull, isNullable, isSortedSet, spliterator, toHeapadd, 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, streamLongColumn subColumn(int fromIndex, int toIndex)
ColumnLongColumn subColumn(Long fromElement, boolean fromInclusive, Long 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.isSortedSet() returns
true.
subColumn in interface Column<Long>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 toElementLongColumn subColumn(Long fromElement, Long toElement)
ColumnColumn#subColumn(Object, boolean, Object, Boolean),
with fromInclusive set to true and toInclusive set to false.
This method is only available when Column.isSortedSet() returns
true.
subColumn in interface Column<Long>fromElement - low endpoint of the returned column, inclusivetoElement - high endpoint of the returned column, exclusivefromElement, inclusive, to toElement, exclusiveLongColumn head(Long toElement, boolean inclusive)
Columninclusive is true) toElement. The returned
column is backed by this column.
This method is only available when Column.isSortedSet() returns
true.
head in interface Column<Long>toElement - high endpoint of the returned columninclusive - true if the high endpoint is to be included in the
returned viewinclusive is true) toElementLongColumn head(Long toElement)
ColumnColumn.head(Object, boolean), with inclusive set
to false.
This method is only available when Column.isSortedSet() returns
true.
LongColumn tail(Long fromElement, boolean inclusive)
Columninclusive is true) fromElement. The returned
column is backed by this column.
This method is only available when Column.isSortedSet() returns
true.
LongColumn tail(Long fromElement)
ColumnColumn.tail(Object, boolean), with inclusive set
to true.
This method is only available when Column.isSortedSet() returns
true.
long getLong(int index)
static LongColumnBuilder builder(boolean sortedSet)
static LongColumn of(Long... elements)
static Collector<Long,?,LongColumn> collector(boolean sortedSet)
Copyright © 2019. All rights reserved.