mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-06 16:49:20 +00:00
deploy: ea497ea488
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>last</span><wbr></wbr><span><span>Index</span></span></h1>
|
||||
</div>
|
||||
<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="-pagination/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><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt#L64">source</a>)</span></span></div><p class="paragraph">Last number in index of objects. In fact, one <a href="-pagination/index.html">Pagination</a> object represent data in next range:</p><p class="paragraph">[<a href="first-index.html">firstIndex</a>, <a href="last-index.html">lastIndex</a>]; That means, that for <a href="-pagination/index.html">Pagination</a> with <a href="-pagination/size.html">Pagination.size</a> == 10 and <a href="-pagination/page.html">Pagination.page</a> == 1 you will retrieve <a href="first-index.html">Pagination.firstIndex</a> == 10 and <a href="last-index.html">Pagination.lastIndex</a> == 19.</p></div></div>
|
||||
<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">val </span><a href="-pagination/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><span class="clearfix"><span class="floating-right">(<a href="https://github.com/InsanusMokrassar/MicroUtils/blob/master//pagination/common/src/commonMain/kotlin/dev/inmo/micro_utils/pagination/Pagination.kt#L64">source</a>)</span></span></div><p class="paragraph">Last number in index of objects. In fact, one <a href="-pagination/index.html">Pagination</a> object represent data in next range:</p><p class="paragraph">[<a href="first-index.html">firstIndex</a>, <a href="last-index.html">lastIndex</a>]; That means, that for <a href="-pagination/index.html">Pagination</a> with <a href="-pagination/size.html">Pagination.size</a> == 10 and <a href="-pagination/page.html">Pagination.page</a> == 1 you will retrieve <a href="first-index.html">Pagination.firstIndex</a> == 10 and <a href="last-index.html">Pagination.lastIndex</a> == 19.</p></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 Copyright</span><span
|
||||
|
Reference in New Issue
Block a user