Interface VertexEncoder<V>

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

    @FunctionalInterface
    public interface VertexEncoder<V>
    extends Serializable

    Encodes a vertex into a specialized Vertex object which contains a label and set of properties.

    Author:
    David B. Bracewell
    • Method Detail

      • encode

        Vertex encode​(V vertex)
        ncodes a vertex into a specialized Vertex object which contains a label and set of properties.
        Parameters:
        vertex - the vertex of type v
        Returns:
        the vertex of type Vertex