GridShapeCollection

Inheritance: java.lang.Object

public class GridShapeCollection

Encapsulates a collection of GridShape objects.

Methods

MethodDescription
clear()Clear all shapes.
equals(Object arg0)
get(int index)Gets the GridShape element at the specified index.
getClass()
getCount()Gets the size of enumerator
hashCode()
iterator()Gets the rows enumerator
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

clear()

public void clear()

Clear all shapes.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int index)

public GridShape get(int index)

Gets the GridShape element at the specified index.

Parameters:

ParameterTypeDescription
indexintThe zero based index of the element.

Returns: GridShape - The element at the specified index.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCount()

public int getCount()

Gets the size of enumerator

Returns: int

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator iterator()

Gets the rows enumerator

Returns: java.util.Iterator - The rows enumerator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int