Class StructureDefinition<T>
java.lang.Object
com.gtnewhorizon.structurelib.structure.StructureDefinition<T>
- All Implemented Interfaces:
IStructureDefinition<T>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic <B> StructureDefinition.Builder<B> builder()getStructureFor(String name) Used internallyMap<String, IStructureElement<T>[]> booleanisContainedInStructure(String name, int offsetA, int offsetB, int offsetC) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IStructureDefinition
build, buildOrHints, check, hints, iterate, survivalBuild, survivalBuild
-
Method Details
-
builder
-
getElements
-
getShapes
-
getStructures
-
getStructureFor
Description copied from interface:IStructureDefinitionUsed internallyMight, but is not required, to throw
NoSuchElementExceptionif the given structure piece is not found.- Specified by:
getStructureForin interfaceIStructureDefinition<T>- Parameters:
name- same name as for other methods here- Returns:
- the array of elements to process
-
isContainedInStructure
- Specified by:
isContainedInStructurein interfaceIStructureDefinition<T>
-