aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/util/SortedKeyedList.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/wireguard/util/SortedKeyedList.java')
-rw-r--r--app/src/main/java/com/wireguard/util/SortedKeyedList.java31
1 files changed, 0 insertions, 31 deletions
diff --git a/app/src/main/java/com/wireguard/util/SortedKeyedList.java b/app/src/main/java/com/wireguard/util/SortedKeyedList.java
deleted file mode 100644
index b144fc85..00000000
--- a/app/src/main/java/com/wireguard/util/SortedKeyedList.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright © 2017-2019 WireGuard LLC. All Rights Reserved.
- * SPDX-License-Identifier: Apache-2.0
- */
-
-package com.wireguard.util;
-
-import androidx.annotation.Nullable;
-
-import java.util.Collection;
-import java.util.Comparator;
-import java.util.Set;
-
-/**
- * A keyed list where all elements are sorted by the comparator returned by {@code comparator()}
- * applied to their keys.
- */
-
-public interface SortedKeyedList<K, E extends Keyed<? extends K>> extends KeyedList<K, E> {
- Comparator<? super K> comparator();
-
- @Nullable
- K firstKey();
-
- Set<K> keySet();
-
- @Nullable
- K lastKey();
-
- Collection<E> values();
-}