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

package com.wireguard.util;

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

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