Package gnu.trove.procedure.array

# Class ToObjectArrayProceedure<T>

java.lang.Object
gnu.trove.procedure.array.ToObjectArrayProceedure<T>

All Implemented Interfaces:
  `TObjectProcedure<T>`

public final class ToObjectArrayProceedure<T> extends Object implements TObjectProcedure<T>
A procedure which stores each value it receives into a target array.

Created: Sat Jan 12 10:13:42 2002

## Constructor Summary

Constructors
Constructor
Description
`ToObjectArrayProceedure(T[] target)`

## Method Summary

Modifier and Type
Method
Description
`final boolean`
`execute(T value)`
Executes this procedure.

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Details

### ToObjectArrayProceedure

public ToObjectArrayProceedure(T[] target)

## Method Details

### execute

public final boolean execute(T value)
Description copied from interface: `TObjectProcedure`
Executes this procedure. A false return value indicates that the application executing this procedure should not invoke this procedure again.

Specified by:
  `execute` in interface `TObjectProcedure<T>`
Parameters:
  `value` - an `Object` value
Returns:
  true if additional invocations of the procedure are allowed.