aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/util/Keyed.java
blob: f0b32b6db7a13642a3bae1e610bdf94bcc02f6ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * Copyright © 2018 Samuel Holland <samuel@sholland.org>
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

package com.wireguard.util;

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

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