Package edu.uci.ics.jung.samples
Class TreeCollapseDemo.ClusterVertexSizeFunction<V>
- java.lang.Object
-
- edu.uci.ics.jung.samples.TreeCollapseDemo.ClusterVertexSizeFunction<V>
-
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
com.google.common.base.Function<V,java.lang.Integer>
,java.util.function.Function<V,java.lang.Integer>
- Enclosing class:
- TreeCollapseDemo
class TreeCollapseDemo.ClusterVertexSizeFunction<V> extends java.lang.Object implements com.google.common.base.Function<V,java.lang.Integer>
A demo class that will make vertices larger if they represent a collapsed collection of original vertices
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
size
-
Constructor Summary
Constructors Constructor Description ClusterVertexSizeFunction(java.lang.Integer size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
apply(V v)
-