Class GraphFilter<N,​E>

    • Constructor Detail

      • GraphFilter

        protected GraphFilter​(GraphAdapter<N,​E> delegate)
    • Method Detail

      • checkNodeValidity

        protected void checkNodeValidity​(N node)
        Checks that a node belongs to delegate.
        Parameters:
        node - The tested node.
        Throws:
        IllegalArgumentException - When delegate does not contain node.
      • checkEdgeValidity

        protected void checkEdgeValidity​(E edge)
        Checks that an edge belongs to delegate.
        Parameters:
        edge - The tested edge.
        Throws:
        IllegalArgumentException - When delegate does not contain edge.