aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/java/com/wireguard/util/Keyed.java
blob: b4dc40cd81e4de4bd7333a553a583a5a4db9a33e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright © 2017-2019 WireGuard LLC. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

package com.wireguard.util;

import com.wireguard.util.NonNullForAll;

/**
 * Interface for objects that have a identifying key of the given type.
 */

@NonNullForAll
public interface Keyed<K> {
    K getKey();
}