blob: e0b2252a5be6aff5a41a79be5c60ea0295d850ff [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.model;
/**
* 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);
}