public class StructureDefinition<T> extends Object implements IStructureDefinition<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
StructureDefinition.Builder<T> |
| Modifier and Type | Method and Description |
|---|---|
static <B> StructureDefinition.Builder<B> |
builder()
Create a new instance of builder.
|
Map<Character,IStructureElement<T>> |
getElements() |
Map<String,String> |
getShapes() |
IStructureElement<T>[] |
getStructureFor(String name)
Used internally
|
Map<String,IStructureElement<T>[]> |
getStructures() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, buildOrHints, check, hints, iterate, survivalBuildpublic static <B> StructureDefinition.Builder<B> builder()
IStructureDefinitionbuilder in interface IStructureDefinition<T>B - type of context objectpublic Map<Character,IStructureElement<T>> getElements()
public Map<String,IStructureElement<T>[]> getStructures()
public IStructureElement<T>[] getStructureFor(String name)
IStructureDefinition
Might, but is not required, to throw NoSuchElementException if the given structure piece is not found.
getStructureFor in interface IStructureDefinition<T>name - same name as for other methods here