V- the graph vertex type
E- the graph edge type
public class ArrayUnenforcedSetEdgeSetFactory<V,E> extends Object implements EdgeSetFactory<V,E>, Serializable
ArrayUnenforcedSetof size 1, suitable for small degree vertices.
|Constructor and Description|
|Modifier and Type||Method and Description|
Create a new edge set for a particular vertex.
vertex- the vertex for which the edge set is being created; sophisticated factories may be able to use this information to choose an optimal set representation (e.g. ArrayUnenforcedSet for a vertex expected to have low degree, and LinkedHashSet for a vertex expected to have high degree)
Copyright © 2017. All rights reserved.