Class EmptyComponentAttributeProvider<T>

  • Type Parameters:
    T - the component type
    All Implemented Interfaces:
    ComponentAttributeProvider<T>

    @Deprecated
    public class EmptyComponentAttributeProvider<T>
    extends Object
    implements ComponentAttributeProvider<T>
    Deprecated.
    In favor of using lambdas.
    A component attribute provider which always returns an empty collection.
    Author:
    Dimitrios Michail
    • Constructor Detail

      • EmptyComponentAttributeProvider

        public EmptyComponentAttributeProvider()
        Deprecated.
    • Method Detail

      • getComponentAttributes

        public Map<String,​Attribute> getComponentAttributes​(T component)
        Deprecated.
        Description copied from interface: ComponentAttributeProvider
        Returns a set of attribute key/value pairs for a vertex or edge. If order is important in the output, be sure to use an order-deterministic map implementation.
        Specified by:
        getComponentAttributes in interface ComponentAttributeProvider<T>
        Parameters:
        component - vertex or edge for which attributes are to be obtained
        Returns:
        key/value pairs, or null if no attributes should be supplied