blob: 2fede3ce96f3201a6e5c29130ba4d6a90e359567 [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;
/**
* Represents data that has a key and is comparable. Most subclasses will use this key as part of
* their comparison function.
*
* @author alexfandrianto
*/
public abstract class KeyedData<T> implements Comparable<T> {
public final String key;
protected KeyedData(String key) {
this.key = key;
}
}