source: josm/trunk/src/org/openstreetmap/josm/data/SortableModel.java@ 17335

Last change on this file since 17335 was 15226, checked in by Don-vip, 5 years ago

fix #14208 - add dedicated buttons in filter dialog to sort/reverse filters order.

Major overhaul/harmonization of our reorderable/sortable models.

  • Property svn:eol-style set to native
File size: 365 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data;
3
4/**
5 * Defines a model that can be sorted.
6 * @param <T> item type
7 * @since 15226
8 */
9public interface SortableModel<T> extends ReorderableModel<T> {
10
11 /**
12 * Sort the items.
13 */
14 void sort();
15
16 /**
17 * Reverse the items order.
18 */
19 void reverse();
20}
Note: See TracBrowser for help on using the repository browser.