Static Method Summary
Static Public Methods | ||
public static |
Static constructor for a new, empty ClassCollection. |
|
public static |
of(classes: Map<string, ClassInfo>): ClassCollection Static constructor for creating a new ClassCollection instance from a Map. |
Constructor Summary
Private Constructor | ||
private |
constructor(map: Map<string, ClassInfo>) |
Method Summary
Public Methods | ||
public |
[Symbol.iterator](): Iterable |
|
public |
Retrieves a ClassInfo object from the collection by name. |
|
public |
Checks to see if the collection contains an entry for the specified name. |
|
public |
Sets the corresponding entry in the collection for the specified name. |
Static Public Methods
public static of(classes: Map<string, ClassInfo>): ClassCollection source
Static constructor for creating a new ClassCollection instance from a Map.
Private Constructors
Public Members
Private Members
Public Methods
public get(name: string): ClassInfo | undefined source
Retrieves a ClassInfo object from the collection by name.
Params:
Name | Type | Attribute | Description |
name | string |