V - the type of the nodepublic class DirectedEdge<V> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectedEdge.EdgeBuilder<V> |
| Modifier and Type | Field and Description |
|---|---|
V |
destination |
V |
source |
| Constructor and Description |
|---|
DirectedEdge(V source,
V destination) |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
competesWith(Set<DirectedEdge<T>> required) |
boolean |
equals(Object o) |
static <T> DirectedEdge.EdgeBuilder<T> |
from(T source) |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
hasDestination(T node) |
int |
hashCode() |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
isAutoCycle() |
static <T> com.google.common.base.Predicate<DirectedEdge<T>> |
isIn(Set<DirectedEdge<T>> banned) |
String |
toString() |
public static <T> DirectedEdge.EdgeBuilder<T> from(T source)
public static <T> com.google.common.base.Predicate<DirectedEdge<T>> hasDestination(T node)
public static <T> com.google.common.base.Predicate<DirectedEdge<T>> competesWith(Set<DirectedEdge<T>> required)
public static <T> com.google.common.base.Predicate<DirectedEdge<T>> isAutoCycle()
public static <T> com.google.common.base.Predicate<DirectedEdge<T>> isIn(Set<DirectedEdge<T>> banned)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.