Stage::countPensOf()
Returns the number of pens of the specified class.
Syntax
Java
.countPensOf(c)
Parameters
| Name | Data Type | Description |
|---|---|---|
| c | Class<T> | the class of the pens to count |
Return
long

Returns the number of pens of the specified class.
.countPensOf(c)
| Name | Data Type | Description |
|---|---|---|
| c | Class<T> | the class of the pens to count |
long