V - public class RandomLocationTransformer<V>
extends java.lang.Object
implements org.apache.commons.collections15.Transformer<V,java.awt.geom.Point2D>
| Constructor and Description |
|---|
RandomLocationTransformer(java.awt.Dimension d)
Creates an instance with the specified size which uses the current time
as the random seed.
|
RandomLocationTransformer(java.awt.Dimension d,
long seed)
Creates an instance with the specified dimension and random seed.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Point2D |
transform(V v) |
public RandomLocationTransformer(java.awt.Dimension d)
public RandomLocationTransformer(java.awt.Dimension d,
long seed)
d - seed - Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence