public static class PointFactory.Builder extends Object
PointFactory
instance. Call PointFactory.builder()
to
create an instance of the PointFactory.Builder
.Modifier and Type | Method and Description |
---|---|
PointFactory |
build() |
PointFactory.Builder |
initialSize(int size)
Sets the initial size of the internal
Point pool. |
PointFactory.Builder |
maximumSize(int size)
Sets the maximum size of the internal
Point pool. |
public PointFactory.Builder initialSize(int size)
Point
pool.size
- the initial size of the internal poolPointFactory.Builder
public PointFactory.Builder maximumSize(int size)
Point
pool.size
- the maximum size of the internal poolPointFactory.Builder
public PointFactory build()
Copyright © 2018 Brett Wooldridge. All rights reserved.