연구 설문조사: Blockly 사용 경험을 알려주세요
설문조사 시작
차단 > 절차 > ObservableProcedureMap
Procedures.ObservableProcedureMap 클래스
서명:
export declare class ObservableProcedureMap extends Map<string, IProcedureModel> implements IProcedureMap
확장: Map<string, IProcedureModel>
구현: IProcedureMap
이 클래스의 생성자가 내부 생성자로 표시됩니다. 서드 파티 코드는 생성자를 직접 호출하거나 ObservableProcedureMap
클래스를 확장하는 서브클래스를 만들면 안 됩니다.
메서드
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-09-12(UTC)
[null,null,["최종 업데이트: 2024-09-12(UTC)"],[[["`ObservableProcedureMap` is a class that manages a collection of `ProcedureModel` objects, allowing for efficient retrieval and manipulation of procedures within Blockly."],["This class extends the standard JavaScript `Map` and implements the `IProcedureMap` interface, providing methods for adding, deleting, and accessing procedures."],["`ObservableProcedureMap`'s constructor is internal, meaning it is not intended for direct use by external code; instead, developers should interact with it through its public methods."],["Key methods include `add`, `clear`, `delete`, `getProcedures`, and `set`, which enable the management of procedures within the map."]]],["The `ObservableProcedureMap` class, extending `Map`, manages a collection of `IProcedureModel` objects. Key actions include adding procedures via `add` or `set`, removing them with `delete` or `clear` for all, and retrieving all stored procedures using `getProcedures`. This class implements the `IProcedureMap` interface. The constructor is internal, preventing direct instantiation by third-party code.\n"]]