Class Graph<A>

java.lang.Object
com.xebialabs.xlrelease.utils.Graph<A>
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class Graph<A> extends Object implements scala.Product, Serializable
See Also:
  • Constructor Details

    • Graph

      public Graph(scala.collection.immutable.Set<Graph.Edge<A>> edges)
  • Method Details

    • apply

      public static <A> Graph<A> apply(scala.collection.Iterable<Graph.Edge<A>> edges)
    • sort

      public static <A> scala.util.Either<Graph.DFS<A,scala.runtime.BoxedUnit>,scala.collection.immutable.List<A>> sort(Graph<A> graph)
    • walk

      public static <A, B> Graph.DFS<A,B> walk(Graph<A> graph, B z, scala.Function2<Graph.DFS<A,B>,A,B> f)
    • apply

      public static <A> Graph<A> apply(scala.collection.immutable.Set<Graph.Edge<A>> edges)
    • unapply

      public static <A> scala.Option<scala.collection.immutable.Set<Graph.Edge<A>>> unapply(Graph<A> x$0)
    • grizzled$slf4j$Logging$$_logger

      public static grizzled.slf4j.Logger grizzled$slf4j$Logging$$_logger()
    • logger

      protected static grizzled.slf4j.Logger logger()
    • loggerName

      protected static String loggerName()
    • isTraceEnabled

      protected static boolean isTraceEnabled()
    • trace

      protected static void trace(scala.Function0<Object> msg)
    • trace

      protected static void trace(scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • trace

      protected static void trace(org.slf4j.Marker mkr, scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • isDebugEnabled

      protected static boolean isDebugEnabled()
    • debug

      protected static void debug(scala.Function0<Object> msg)
    • debug

      protected static void debug(scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • debug

      protected static void debug(org.slf4j.Marker mkr, scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • isErrorEnabled

      protected static boolean isErrorEnabled()
    • error

      protected static void error(scala.Function0<Object> msg)
    • error

      protected static void error(scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • error

      protected static void error(org.slf4j.Marker mkr, scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • isInfoEnabled

      protected static boolean isInfoEnabled()
    • info

      protected static void info(scala.Function0<Object> msg)
    • info

      protected static void info(scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • info

      protected static void info(org.slf4j.Marker mkr, scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • isWarnEnabled

      protected static boolean isWarnEnabled()
    • warn

      protected static void warn(scala.Function0<Object> msg)
    • warn

      protected static void warn(scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • warn

      protected static void warn(org.slf4j.Marker mkr, scala.Function0<Object> msg, scala.Function0<Throwable> t)
    • edges

      public scala.collection.immutable.Set<Graph.Edge<A>> edges()
    • nodes

      public scala.collection.immutable.Set<A> nodes()
    • outgoing

      public scala.collection.immutable.Set<A> outgoing(A a)
    • incoming

      public scala.collection.immutable.Set<A> incoming(A a)
    • order

      public scala.collection.immutable.List<A> order()
    • hasCycle

      public boolean hasCycle()
    • copy

      public <A> Graph<A> copy(scala.collection.immutable.Set<Graph.Edge<A>> edges)
    • copy$default$1

      public <A> scala.collection.immutable.Set<Graph.Edge<A>> copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object