Class ModificationDAG

    • Method Detail

      • toposort

        @NotNull
        public java.util.List<java.lang.Long> toposort()
        Specified by:
        toposort in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • getParents

        @NotNull
        public java.util.List<java.lang.Long> getParents​(@NotNull
                                                         java.lang.Long node)
        Specified by:
        getParents in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • isEmpty

        public boolean isEmpty()
        Overrides:
        isEmpty in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • getSelfParents

        @Nullable
        protected java.util.List<java.lang.Long> getSelfParents​(@NotNull
                                                                java.lang.Long node)
        Specified by:
        getSelfParents in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • hasParents

        public boolean hasParents​(@NotNull
                                  java.lang.Long node)
        Overrides:
        hasParents in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • fillSelfChildren

        protected void fillSelfChildren​(@NotNull
                                        java.lang.Long node,
                                        @NotNull
                                        java.util.List<java.lang.Long> accumulator)
        Specified by:
        fillSelfChildren in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • containsNode

        public boolean containsNode​(@NotNull
                                    java.lang.Long node)
        Specified by:
        containsNode in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • processNodesWithoutChildren

        protected void processNodesWithoutChildren​(@NotNull
                                                   ItemProcessor<java.lang.Long> nodesProcessor)
        Specified by:
        processNodesWithoutChildren in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • getNodesWithoutParents

        @NotNull
        public java.util.List<java.lang.Long> getNodesWithoutParents()
        Specified by:
        getNodesWithoutParents in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • size

        public int size()
        Specified by:
        size in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>
      • selfSize

        protected int selfSize()
      • getInitialEdges

        @NotNull
        protected java.util.Collection<com.intellij.openapi.util.Pair<java.lang.Long,​java.lang.Long>> getInitialEdges()
      • getTail

        @NotNull
        protected jetbrains.buildServer.util.graph.DAG<java.lang.Long> getTail()
      • getAllNodes

        @NotNull
        public java.util.Set<java.lang.Long> getAllNodes()
        Specified by:
        getAllNodes in class jetbrains.buildServer.util.graph.DAG<java.lang.Long>