Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

ICS.GetCounter

Gets the value of a counter.

Syntax

Parameters

counter
Name of counter to get.

Returns

Value of counter.

Throws

Exception
If there is no counter with this name, the GetCounter() method returns null. This will cause Integer.parseInt() to throw a NumberFormatException.

Example

The following example gets the value of a counter:

See Also

RemoveCounter , SetCounter

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.