diff options
author | 2022-11-30 16:45:40 +0100 | |
---|---|---|
committer | 2022-11-30 16:45:40 +0100 | |
commit | 0ec31af57fec8a97672b5a1bf032c58b339c4b5b (patch) | |
tree | 2a605e8e34ee63e5d3dd4553160d4bbc8046c990 | |
parent | 670ad0a3add275fe04812b419aa4bbfe6f806307 (diff) | |
download | commons-page-0ec31af57fec8a97672b5a1bf032c58b339c4b5b.tar.gz commons-page-0ec31af57fec8a97672b5a1bf032c58b339c4b5b.zip |
Remove Pages
-rw-r--r-- | src/main/java/it/alessandroiezzi/commons/page/Pages.java | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/main/java/it/alessandroiezzi/commons/page/Pages.java b/src/main/java/it/alessandroiezzi/commons/page/Pages.java deleted file mode 100644 index ab88999..0000000 --- a/src/main/java/it/alessandroiezzi/commons/page/Pages.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2022 Alessandro Iezzi <aiezzi AT alessandroiezzi PERIOD it> - * - * This file is part of commons-page. - * - * commons-page is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * commons-page is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with commons-page. If not, see <https://www.gnu.org/licenses/>. - */ - -package it.alessandroiezzi.commons.page; - -import it.alessandroiezzi.util.*; - -import java.util.*; -import java.util.function.*; - -public interface Pages<T> extends Page<T> { - Page<T> firstPage(); - Page<T> lastPage(); - Page<T> previousPage(); - Page<T> nextPage(); - Page<T> toPage(int page); - Page<T> getCurrentPage(); - int getCurrentPageNumber(); - int getTotalPages(); - void addElement(T element); - void removeElement(T element); - void removeElementIf(Predicate<T> predicate); - void addPageChangeListener(PageChangeListener<T> pageChangeListener); - List<T> getAllElements(); - boolean isPageChanged(); - int from(); - int to(); -} |