jetbrains.buildServer.util.graph
Class Edge<T>

java.lang.Object
  extended by com.intellij.openapi.util.Pair<T,T>
      extended by jetbrains.buildServer.util.graph.Edge<T>

public class Edge<T>
extends com.intellij.openapi.util.Pair<T,T>

Edge of the DAG

Author:
dmitry.neverov

Field Summary
 
Fields inherited from class com.intellij.openapi.util.Pair
first, second
 
Constructor Summary
Edge(T from, T to)
           
 
Method Summary
static
<T> Edge<T>
createEdge(T from, T to)
           
 T from()
           
 T to()
           
 
Methods inherited from class com.intellij.openapi.util.Pair
create, equals, getFirst, getSecond, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Edge

public Edge(@NotNull
            T from,
            @Nullable
            T to)
Method Detail

createEdge

public static <T> Edge<T> createEdge(@NotNull
                                     T from,
                                     @Nullable
                                     T to)

from

@NotNull
public T from()

to

@Nullable
public T to()