Uses of Class
com.vaadin.flow.internal.Range
-
Packages that use Range Package Description com.vaadin.flow.data.provider com.vaadin.flow.data.provider.hierarchy com.vaadin.flow.internal -
-
Uses of Range in com.vaadin.flow.data.provider
Methods in com.vaadin.flow.data.provider that return Range Modifier and Type Method Description protected RangeDataCommunicator. computeRequestedRange(int start, int length)Computes the requested range, limiting the number of requested items to a given threshold of ten pages. -
Uses of Range in com.vaadin.flow.data.provider.hierarchy
Methods in com.vaadin.flow.data.provider.hierarchy that return Range Modifier and Type Method Description RangeHierarchyMapper. collapse(T item, Integer position)Collapses the given item.RangeHierarchyMapper. expand(T item, Integer position)Expands the given item.Methods in com.vaadin.flow.data.provider.hierarchy with parameters of type Range Modifier and Type Method Description Stream<T>HierarchyMapper. fetchChildItems(T parent, Range range)Stream<T>HierarchyMapper. fetchHierarchyItems(Range range)Gets a stream of items in the form of a flattened hierarchy from the back-end and filter the wanted results from the list.Stream<T>HierarchyMapper. fetchHierarchyItems(T parent, Range range)Gets a stream of children for the given item in the form of a flattened hierarchy from the back-end and filter the wanted results from the list.Stream<T>HierarchyMapper. fetchRootItems(Range range)Gets a stream of root items from the back-end and filter the wanted results from the list.Constructor parameters in com.vaadin.flow.data.provider.hierarchy with type arguments of type Range Constructor Description HierarchicalCommunicationController(String parentKey, DataKeyMapper<T> keyMapper, HierarchyMapper<T,?> mapper, DataGenerator<T> dataGenerator, SerializableFunction<Integer,HierarchicalArrayUpdater.HierarchicalUpdate> startUpdate, SerializableBiFunction<String,Range,Stream<T>> fetchItems)Constructs communication controller with support for hierarchical data structure. -
Uses of Range in com.vaadin.flow.internal
Methods in com.vaadin.flow.internal that return Range Modifier and Type Method Description static RangeRange. between(int start, int end)Creates a range between two integers.RangeRange. combineWith(Range other)Combines two ranges to create a range containing all values in both ranges, provided there are no gaps between the ranges.RangeRange. expand(int startDelta, int endDelta)Creates a range that is expanded the given amounts in both ends.RangeRange. offsetBy(int offset)Get a range that is based on this one, but offset by a number.Range[]Range. partitionWith(Range other)Overlay this range with another one, and partition the ranges according to how they position relative to each other.RangeRange. restrictTo(Range bounds)Limits this range to be within the bounds of the provided range.Range[]Range. splitAt(int integer)Split the range into two at a certain integer.Range[]Range. splitAtFromStart(int length)Split the range into two after a certain number of integers into the range.static RangeRange. withLength(int start, int length)Creates a range from a start point, with a given length.static RangeRange. withOnly(int integer)Creates a range object representing a single integer.Methods in com.vaadin.flow.internal with parameters of type Range Modifier and Type Method Description RangeRange. combineWith(Range other)Combines two ranges to create a range containing all values in both ranges, provided there are no gaps between the ranges.booleanRange. endsAfter(Range other)Checks whether this range ends after the end of another range.booleanRange. endsBefore(Range other)Checks whether this range ends before the start of another range.booleanRange. intersects(Range other)Checks whether this range and another range are at least partially covering the same values.booleanRange. isSubsetOf(Range other)Checks whether this range is a subset of another range.Range[]Range. partitionWith(Range other)Overlay this range with another one, and partition the ranges according to how they position relative to each other.RangeRange. restrictTo(Range bounds)Limits this range to be within the bounds of the provided range.booleanRange. startsAfter(Range other)Checks whether this range starts after the end of another range.booleanRange. startsBefore(Range other)Checks whether this range starts before the start of another range.
-