Interface VertexDecoder<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 VertexDecoder<V>
    extends Serializable

    Decodes a Vertex object into a given type.

    Author:
    David B. Bracewell
    • Method Detail

      • decode

        V decode​(Vertex vertex)
        Decodes a Vertex object into a given type.
        Parameters:
        vertex - the vertex to decode
        Returns:
        the vertex of type V