Class FilteredAnnotation

  • All Implemented Interfaces:
    org.onosproject.net.Annotations

    @Beta
    public class FilteredAnnotation
    extends java.lang.Object
    implements org.onosproject.net.Annotations
    Filtered Annotations view.
    • Constructor Summary

      Constructors 
      Constructor Description
      FilteredAnnotation​(org.onosproject.net.Annotations delegate, java.util.Set<java.lang.String> keys)
      Creates filtered Annotations view based on delegate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> keys()  
      java.lang.String toString()  
      java.lang.String value​(java.lang.String key)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FilteredAnnotation

        public FilteredAnnotation​(org.onosproject.net.Annotations delegate,
                                  java.util.Set<java.lang.String> keys)
        Creates filtered Annotations view based on delegate.
        Parameters:
        delegate - input Annotations
        keys - to filter-out
    • Method Detail

      • value

        public java.lang.String value​(java.lang.String key)
        Specified by:
        value in interface org.onosproject.net.Annotations
      • keys

        public java.util.Set<java.lang.String> keys()
        Specified by:
        keys in interface org.onosproject.net.Annotations
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object