V- the graph vertex type
E- the graph edge type
@Deprecated public class ClassBasedEdgeFactory<V,E> extends Object implements EdgeFactory<V,E>, Serializable
EdgeFactoryfor producing edges by using a class as a factory.
Note that when used inside a
Graph the factory must always return a unique object on each
call. This implementation calls the no-arguments constructor of the provided class. It is the
user's responsibility to make sure that the no-arguments constructor creates unique objects.
|Constructor and Description|
Create a new class based edge factory.
|Modifier and Type||Method and Description|
Creates a new edge whose endpoints are the specified source and target vertices.
Copyright © 2018. All rights reserved.