blob: 7abae0da0092fe63afaa89beacd09871f5aa0658 [file] [log] [blame]
// Copyright 2016 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package io.v.todos;
/**
* KeyedData represents data that has a key and is comparable.
* Most subclasses will use this key as part of their comparison function.
*
* @author alexfandrianto
*/
public interface KeyedData<T> extends Comparable<T> {
String getKey();
void setKey(String key);
}