Class EmptyEdgeFinder

  • All Implemented Interfaces:
    EdgeFinder

    public class EmptyEdgeFinder
    extends Object
    implements EdgeFinder
    Deprecated.
    2D piccolo based code is being removed
    Implementation of EdgeFinder that always returns an empty list. This can be used when an EdgeFinder is necesary but there is no network.
    Author:
    Nick Collier
    • Constructor Detail

      • EmptyEdgeFinder

        public EmptyEdgeFinder()
        Deprecated.
    • Method Detail

      • findEdges

        public List<PEdge> findEdges​(org.piccolo2d.PNode node)
        Deprecated.
        Finds the PEdges associated with the specified PNode. This always returns an empty list.
        Specified by:
        findEdges in interface EdgeFinder
        Parameters:
        node - the node whose edges should be found
        Returns:
        an empty list