Package org.onosproject.net
Interface SparseAnnotations
- 
- All Superinterfaces:
- Annotations
 - All Known Implementing Classes:
- DefaultAnnotations
 
 public interface SparseAnnotations extends Annotations Represents an set of sparse key/value string annotations capable of carrying annotation keys tagged for removal.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRemoved(String key)Indicates whether the specified key has been tagged as removed.Set<String>keys()Returns the set of keys for available annotations.- 
Methods inherited from interface org.onosproject.net.Annotationsvalue
 
- 
 
- 
- 
- 
Method Detail- 
keysSet<String> keys() Returns the set of keys for available annotations.Note that this set includes keys for any attributes tagged for removal. - Specified by:
- keysin interface- Annotations
- Returns:
- annotation keys
 
 - 
isRemovedboolean isRemoved(String key) Indicates whether the specified key has been tagged as removed. This is used for merging sparse annotation sets.- Parameters:
- key- annotation key
- Returns:
- true if the previous annotation has been tagged for removal
 
 
- 
 
-