SMFCoordinateSystem coordinateSystem() { if (coordinateSystemBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (coordinateSystemBuildStage == STAGE_UNINITIALIZED) { coordinateSystemBuildStage = STAGE_INITIALIZING; this.coordinateSystem = Objects.requireNonNull(coordinateSystemInitialize(), "coordinateSystem"); coordinateSystemBuildStage = STAGE_INITIALIZED; } return this.coordinateSystem; }
SortedMap<SMFAttributeName, SMFAttribute> attributesByName() { if (attributesByNameBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (attributesByNameBuildStage == STAGE_UNINITIALIZED) { attributesByNameBuildStage = STAGE_INITIALIZING; this.attributesByName = Objects.requireNonNull(attributesByNameInitialize(), "attributesByName"); attributesByNameBuildStage = STAGE_INITIALIZED; } return this.attributesByName; } private long metaCount;
SortedMap<SMFAttributeName, SMFAttribute> attributesByName() { if (attributesByNameBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (attributesByNameBuildStage == STAGE_UNINITIALIZED) { attributesByNameBuildStage = STAGE_INITIALIZING; this.attributesByName = Objects.requireNonNull(attributesByNameInitialize(), "attributesByName"); attributesByNameBuildStage = STAGE_INITIALIZED; } return this.attributesByName; }
long metaCount() { if (metaCountBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (metaCountBuildStage == STAGE_UNINITIALIZED) { metaCountBuildStage = STAGE_INITIALIZING; this.metaCount = metaCountInitialize(); metaCountBuildStage = STAGE_INITIALIZED; } return this.metaCount; }
long vertexCount() { if (vertexCountBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (vertexCountBuildStage == STAGE_UNINITIALIZED) { vertexCountBuildStage = STAGE_INITIALIZING; this.vertexCount = vertexCountInitialize(); vertexCountBuildStage = STAGE_INITIALIZED; } return this.vertexCount; }
SMFTriangles triangles() { if (trianglesBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (trianglesBuildStage == STAGE_UNINITIALIZED) { trianglesBuildStage = STAGE_INITIALIZING; this.triangles = Objects.requireNonNull(trianglesInitialize(), "triangles"); trianglesBuildStage = STAGE_INITIALIZED; } return this.triangles; }
long vertexCount() { if (vertexCountBuildStage == STAGE_INITIALIZING) throw new IllegalStateException(formatInitCycleMessage()); if (vertexCountBuildStage == STAGE_UNINITIALIZED) { vertexCountBuildStage = STAGE_INITIALIZING; this.vertexCount = vertexCountInitialize(); vertexCountBuildStage = STAGE_INITIALIZED; } return this.vertexCount; }