summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java/com/wireguard/android/databinding/Keyed.kt
blob: f91581d08cb1119a0fc8bf51912c8758a5aaaafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright © 2017-2023 WireGuard LLC. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */
package com.wireguard.android.databinding

/**
 * Interface for objects that have a identifying key of the given type.
 */
interface Keyed<K> {
    val key: K
}