blob: cf78b983e2ca6425e0e43e0c5bb6d6ddd929f447 [file] [log] [blame]
package org.onlab.onos.net;
import java.util.Set;
/**
* Represents an set of simply key/value string annotations.
*/
public interface Annotations {
/**
* Returns the set of keys for available annotations.
*
* @return annotation keys
*/
public Set<String> keys();
/**
* Returns the value of the specified annotation.
*
* @param key annotation key
* @return annotation value
*/
public String value(String key);
}