2022-12-05 01:56:48 +00:00
<!DOCTYPE html>
< html >
< head >
< meta name = "viewport" content = "width=device-width, initial-scale=1" charset = "UTF-8" >
< title > Pagination< / title >
< link href = "../../../images/logo-icon.svg" rel = "icon" type = "image/svg" >
< script > var pathToRoot = "../../../" ; < / script >
< script > c o n s t s t o r a g e = l o c a l S t o r a g e . g e t I t e m ( " d o k k a - d a r k - m o d e " )
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia & & window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
< / script >
< script type = "text/javascript" src = "../../../scripts/sourceset_dependencies.js" async = "async" > < / script >
< link href = "../../../styles/style.css" rel = "Stylesheet" >
< link href = "../../../styles/jetbrains-mono.css" rel = "Stylesheet" >
< link href = "../../../styles/main.css" rel = "Stylesheet" >
< link href = "../../../styles/prism.css" rel = "Stylesheet" >
< link href = "../../../styles/logo-styles.css" rel = "Stylesheet" >
< script type = "text/javascript" src = "../../../scripts/clipboard.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/navigation-loader.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/platform-content-handler.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/main.js" defer = "defer" > < / script >
< script type = "text/javascript" src = "../../../scripts/prism.js" async = "async" > < / script >
< script type = "text/javascript" src = "../../../scripts/symbol-parameters-wrapper_deferred.js" defer = "defer" > < / script >
< / head >
< body >
< div class = "navigation-wrapper" id = "navigation-wrapper" >
< div id = "leftToggler" > < span class = "icon-toggler" > < / span > < / div >
< div class = "library-name" >
< a href = "../../../index.html" >
< span > micro_utils.dokka< / span >
< / a >
< / div >
< div >
2023-02-13 10:19:06 +00:00
0.16.9 < / div >
2022-12-05 01:56:48 +00:00
< div class = "pull-right d-flex" >
< div class = "filter-section" id = "filter-section" >
< button class = "platform-tag platform-selector jvm-like" data-active = "" data-filter = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button >
< button class = "platform-tag platform-selector common-like" data-active = "" data-filter = ":micro_utils.dokka:dokkaHtml/commonMain" > common< / button >
< / div >
< button id = "theme-toggle-button" > < span id = "theme-toggle" > < / span > < / button >
< div id = "searchBar" > < / div >
< / div >
< / div >
< div id = "container" >
< div id = "leftColumn" >
< div id = "sideMenu" > < / div >
< / div >
< div id = "main" >
< div class = "main-content" id = "content" pageIds = "micro_utils.dokka::dev.inmo.micro_utils.pagination/Pagination///PointingToDeclaration//-1478683138" >
< div class = "breadcrumbs" > < a href = "../../../index.html" > micro_utils.dokka< / a > < span class = "delimiter" > /< / span > < a href = "../index.html" > dev.inmo.micro_utils.pagination< / a > < span class = "delimiter" > /< / span > < span class = "current" > Pagination< / span > < / div >
< div class = "cover " >
< h1 class = "cover" > < span > < span > Pagination< / span > < / span > < / h1 >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > interface < / span > < a href = "index.html" > Pagination< / a > : < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-closed-range/index.html" > ClosedRange< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token operator" > > < / span > < / div > < p class = "paragraph" > Base interface of pagination< / p > < p class = "paragraph" > If you want to request something, you should use < a href = "../-simple-pagination/index.html" > SimplePagination< / a > . If you need to return some result including pagination - < a href = "../-pagination-result/index.html" > PaginationResult< / a > < / p > < / div > < / div >
< / div >
< div class = "tabbedcontent" >
< div class = "tabs-section" tabs-section = "tabs-section" > < button class = "section-tab" data-active = "" data-togglable = "Functions" > Functions< / button > < button class = "section-tab" data-togglable = "Properties" > Properties< / button > < button class = "section-tab" data-togglable = "Extensions" > Extensions< / button > < button class = "section-tab" data-togglable = "Inheritors" > Inheritors< / button > < / div >
< div class = "tabs-section-body" >
< h2 class = "" > Functions< / h2 >
< div class = "table" data-togglable = "Functions" > < a data-name = "432112370%2FFunctions%2F-1478683138" anchor-label = "contains" id = "432112370%2FFunctions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-simple-pagination/index.html#432112370%2FFunctions%2F-1478683138" > < span > < span > contains< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "432112370%2FFunctions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > operator < / span > < span class = "token keyword" > fun < / span > < a href = "../-simple-pagination/index.html#432112370%2FFunctions%2F-1478683138" > < span class = "token function" > contains< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > value< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1458256964%2FFunctions%2F-1478683138" anchor-label = "isEmpty" id = "1458256964%2FFunctions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-simple-pagination/index.html#1458256964%2FFunctions%2F-1478683138" > < span > is< / span > < wbr > < / wbr > < span > < span > Empty< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1458256964%2FFunctions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "../-simple-pagination/index.html#1458256964%2FFunctions%2F-1478683138" > < span class = "token function" > isEmpty< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Properties< / h2 >
< div class = "table" data-togglable = "Properties" > < a data-name = "1810400806%2FProperties%2F-1478683138" anchor-label = "endInclusive" id = "1810400806%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "end-inclusive.html" > < span > end< / span > < wbr > < / wbr > < span > < span > Inclusive< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1810400806%2FProperties%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < a data-name = "1810400806%2FProperties%2F-1478683138" anchor-label = "endInclusive" id = "1810400806%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > val < / span > < a href = "end-inclusive.html" > endInclusive< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-799607128%2FProperties%2F-1478683138" anchor-label = "page" id = "-799607128%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "page.html" > < span > < span > page< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-799607128%2FProperties%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < a data-name = "-799607128%2FProperties%2F-1478683138" anchor-label = "page" id = "-799607128%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "page.html" > page< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < a data-name = "-799607128%2FProperties%2F-1478683138" anchor-label = "page" id = "-799607128%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < p class = "paragraph" > Started with 0. Number of page inside of pagination. Offset can be calculated as < a href = "page.html" > page< / a > * < a href = "size.html" > size< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "332602742%2FProperties%2F-1478683138" anchor-label = "size" id = "332602742%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "size.html" > < span > < span > size< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "332602742%2FProperties%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < a data-name = "332602742%2FProperties%2F-1478683138" anchor-label = "size" id = "332602742%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > abstract < / span > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "size.html" > size< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < a data-name = "332602742%2FProperties%2F-1478683138" anchor-label = "size" id = "332602742%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < p class = "paragraph" > Can be 0, but can't be < 0 Size of current page . Offset can be calculated as < a href = "page.html" > page< / a > * < a href = "size.html" > size< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-253231551%2FProperties%2F-1478683138" anchor-label = "start" id = "-253231551%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "start.html" > < span > < span > start< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-253231551%2FProperties%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" data-togglable = "Properties" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < a data-name = "-253231551%2FProperties%2F-1478683138" anchor-label = "start" id = "-253231551%2FProperties%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a > < div class = "symbol monospace" > < span class = "token keyword" > open < / span > < span class = "token keyword" > override < / span > < span class = "token keyword" > val < / span > < a href = "start.html" > start< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< h2 class = "" > Inheritors< / h2 >
< div class = "table" data-togglable = "Inheritors" > < a data-name = "-495257269%2FInheritors%2F-1478683138" anchor-label = "PaginationResult" id = "-495257269%2FInheritors%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-pagination-result/index.html" > PaginationResult< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-495257269%2FInheritors%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< a data-name = "440015958%2FInheritors%2F-1478683138" anchor-label = "SimplePagination" id = "440015958%2FInheritors%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../-simple-pagination/index.html" > SimplePagination< / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "440015958%2FInheritors%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div > < / div >
< / div >
< / div >
< / div >
< h2 class = "tabbedcontent" > Extensions< / h2 >
< div class = "table" data-togglable = "Extensions" > < a data-name = "-486057741%2FExtensions%2F-1478683138" anchor-label = "asUrlQueryArrayParts" id = "-486057741%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../as-url-query-array-parts.html" > < span > as< / span > < wbr > < / wbr > < span > Url< / span > < wbr > < / wbr > < span > Query< / span > < wbr > < / wbr > < span > Array< / span > < wbr > < / wbr > < span > < span > Parts< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-486057741%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../as-url-query-array-parts.html" > asUrlQueryArrayParts< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html" > Array< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html" > Pair< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "908925552%2FExtensions%2F-1478683138" anchor-label = "asUrlQueryParts" id = "908925552%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../as-url-query-parts.html" > < span > as< / span > < wbr > < / wbr > < span > Url< / span > < wbr > < / wbr > < span > Query< / span > < wbr > < / wbr > < span > < span > Parts< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "908925552%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../as-url-query-parts.html" > asUrlQueryParts< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html" > Map< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < span class = "token operator" > > < / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1142441917%2FExtensions%2F-1478683138" anchor-label = "firstIndex" id = "-1142441917%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../first-index.html" > < span > first< / span > < wbr > < / wbr > < span > < span > Index< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1142441917%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../first-index.html" > firstIndex< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < p class = "paragraph" > First number in index of objects. It can be used as offset for databases or other data sources< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-803237001%2FExtensions%2F-1478683138" anchor-label = "intersect" id = "-803237001%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../intersect.html" > < span > < span > intersect< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-803237001%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../intersect.html" > < span class = "token function" > intersect< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "index.html" > Pagination< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Pagination< / a > < span class = "token operator" > ?< / span > < / div > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html" > Comparable< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token operator" > > < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-closed-range/index.html" > ClosedRange< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > < span class = "token function" > intersect< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > other< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/-closed-range/index.html" > ClosedRange< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token operator" > > < / span > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html" > Pair< / a > < span class = "token operator" > < < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token punctuation" > , < / span > < span class = "token keyword" > < / span > < a href = "../../dev.inmo.micro_utils.common/intersect.html" > T< / a > < span class = "token operator" > > < / span > < span class = "token operator" > ?< / span > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2140870192%2FExtensions%2F-1478683138" anchor-label = "isFirstPage" id = "-2140870192%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../is-first-page.html" > < span > is< / span > < wbr > < / wbr > < span > First< / span > < wbr > < / wbr > < span > < span > Page< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2140870192%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../is-first-page.html" > isFirstPage< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < / div > < div class = "brief " > < p class = "paragraph" > Logical shortcut for comparison that page is 0< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "288159721%2FExtensions%2F-1478683138" anchor-label = "lastIndex" id = "288159721%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../last-index.html" > < span > last< / span > < wbr > < / wbr > < span > < span > Index< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "288159721%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../last-index.html" > lastIndex< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < p class = "paragraph" > Last number in index of objects. In fact, one < a href = "index.html" > Pagination< / a > object represent data in next range:< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "2015647267%2FExtensions%2F-1478683138" anchor-label = "lastIndexExclusive" id = "2015647267%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../last-index-exclusive.html" > < span > last< / span > < wbr > < / wbr > < span > Index< / span > < wbr > < / wbr > < span > < span > Exclusive< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "2015647267%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > val < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../last-index-exclusive.html" > lastIndexExclusive< / a > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / div > < div class = "brief " > < p class = "paragraph" > Last number in index of objects. In fact, one < a href = "index.html" > Pagination< / a > object represent data in next range:< / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1079431402%2FExtensions%2F-1837788132" anchor-label = "limitClause" id = "-1079431402%2FExtensions%2F-1837788132" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../../dev.inmo.micro_utils.repos/limit-clause.html" > < span > limit< / span > < wbr > < / wbr > < span > < span > Clause< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1079431402%2FExtensions%2F-1837788132" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted with-platform-tabs" data-platform-hinted = "data-platform-hinted" >
< div class = "platform-bookmarks-row" data-toggle-list = "data-toggle-list" > < button class = "platform-bookmark" data-filterable-current = ":micro_utils.dokka:dokkaHtml/androidMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/androidMain" data-active = "" data-toggle = ":micro_utils.dokka:dokkaHtml/androidMain" > android< / button > < / div >
< div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/androidMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html#1589179432%2FExtensions%2F-1837788132" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.repos/limit-clause.html" > < span class = "token function" > limitClause< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html" > String< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "1528360995%2FExtensions%2F-1478683138" anchor-label = "nextPage" id = "1528360995%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../next-page.html" > < span > next< / span > < wbr > < / wbr > < span > < span > Page< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "1528360995%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > inline < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../next-page.html" > < span class = "token function" > nextPage< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-simple-pagination/index.html" > SimplePagination< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-2016140425%2FExtensions%2F-1478683138" anchor-label = "optionallyReverse" id = "-2016140425%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../../dev.inmo.micro_utils.pagination.utils/optionally-reverse.html" > < span > optionally< / span > < wbr > < / wbr > < span > < span > Reverse< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-2016140425%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.pagination.utils/optionally-reverse.html" > < span class = "token function" > optionallyReverse< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > objectsCount< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > reverse< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Pagination< / a > < / div > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.pagination.utils/optionally-reverse.html" > < span class = "token function" > optionallyReverse< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > objectsCount< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html" > Long< / a > < span class = "token punctuation" > , < / span > < / span > < span class = "parameter " > reverse< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html" > Boolean< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "index.html" > Pagination< / a > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< a data-name = "-1323437557%2FExtensions%2F-1478683138" anchor-label = "reverse" id = "-1323437557%2FExtensions%2F-1478683138" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" > < / a >
< div class = "table-row" data-filterable-current = ":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set = ":micro_utils.dokka:dokkaHtml/commonMain" >
< div class = "main-subrow keyValue " >
< div class = "" > < span class = "inline-flex" >
< div > < a href = "../../dev.inmo.micro_utils.pagination.utils/reverse.html" > < span > < span > reverse< / span > < / span > < / a > < / div >
< span class = "anchor-wrapper" > < span class = "anchor-icon" pointing-to = "-1323437557%2FExtensions%2F-1478683138" > < / span >
< div class = "copy-popup-wrapper " > < span class = "copy-popup-icon" > < / span > < span > Link copied to clipboard< / span > < / div >
< / span > < / span > < / div >
< div >
< div class = "title" >
< div class = "platform-hinted " data-platform-hinted = "data-platform-hinted" > < div class = "content sourceset-dependent-content" data-active = "" data-togglable = ":micro_utils.dokka:dokkaHtml/commonMain" > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.pagination.utils/reverse.html" > < span class = "token function" > reverse< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > datasetSize< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html" > Long< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-simple-pagination/index.html" > SimplePagination< / a > < / div > < div class = "brief " > < p class = "paragraph" > Example:< / p > < / div > < div class = "symbol monospace" > < span class = "token keyword" > < / span > < span class = "token keyword" > fun < / span > < a href = "index.html" > Pagination< / a > < span class = "token punctuation" > .< / span > < a href = "../../dev.inmo.micro_utils.pagination.utils/reverse.html" > < span class = "token function" > reverse< / span > < / a > < span class = "token punctuation" > (< / span > < span class = "parameters " > < span class = "parameter " > objectsCount< span class = "token operator" > : < / span > < a href = "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html" > Int< / a > < / span > < / span > < span class = "token punctuation" > )< / span > < span class = "token operator" > : < / span > < a href = "../-simple-pagination/index.html" > SimplePagination< / a > < / div > < div class = "brief " > < p class = "paragraph" > Shortcut for < a href = "../../dev.inmo.micro_utils.pagination.utils/reverse.html" > reverse< / a > < / p > < / div > < / div > < / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div class = "footer" >
2023-01-04 14:31:55 +00:00
< span class = "go-to-top-icon" > < a href = "#content" id = "go-to-top-link" > < / a > < / span > < span > © 2023 Copyright< / span > < span
2022-12-05 01:56:48 +00:00
class="pull-right">< span > Generated by < / span > < a
href="https://github.com/Kotlin/dokka">< span > dokka< / span > < span class = "padded-icon" > < / span > < / a > < / span >
< / div >
< / div >
< / div >
< / body >
< / html >