public abstract class AbstractModelBuilder<T> extends Object implements ModelBuilder<T>
| Constructor and Description |
|---|
AbstractModelBuilder() |
| Modifier and Type | Method and Description |
|---|---|
T |
fix() |
T |
fromResource(String resourceLocation) |
Class<T> |
getGenericType() |
List<T> |
list() |
List<T> |
list(boolean skip) |
List<T> |
list(int size) |
protected List<T> |
list(int size,
boolean skip) |
T |
max() |
T |
min() |
protected T |
min(Method rootMethod,
boolean skip,
boolean required) |
T |
mix() |
Set<T> |
set() |
Set<T> |
set(boolean skip) |
Set<T> |
set(int size) |
protected Set<T> |
set(int size,
boolean skip) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActualTypeArgumentspublic Class<T> getGenericType()
getGenericType in interface ModelBuilder<T>public T min()
min in interface ModelBuilder<T>public T max()
max in interface ModelBuilder<T>public T mix()
mix in interface ModelBuilder<T>public T fix()
fix in interface ModelBuilder<T>public List<T> list()
list in interface ModelBuilder<T>public List<T> list(int size)
list in interface ModelBuilder<T>size - of Collectionpublic Set<T> set()
set in interface ModelBuilder<T>public Set<T> set(int size)
set in interface ModelBuilder<T>size - of Collectionpublic T fromResource(String resourceLocation)
fromResource in interface ModelBuilder<T>resourceLocation - may not be emptyCopyright © 2018 Mario Tema. All rights reserved.