Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

coding collections clear method java

public void clear()
    {
        for (int i = 0; i < size; i++)
        {
            remove(i);
        }
        size = 0;
    }
 
PREVIOUS NEXT
Tagged: #coding #collections #clear #method #java
ADD COMMENT
Topic
Name
3+1 =