Interface EdgeDecoder<V>

  • Type Parameters:
    V - the type of the vertex
    All Superinterfaces:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface EdgeDecoder<V>
    extends Serializable

    Interface decoding a set of properties and applying to a given edge.

    David B. Bracewell
    • Method Detail

      • decode

        Edge<V> decode​(Edge<V> edge,
                       Map<String,​String> properties)
        Decodes the properties in the Map adding them to the edge as necessary.
        edge - the edge
        properties - the properties
        the edge with the decoded properties