decaf::util::Arrays Class Reference

#include <src/main/decaf/util/Arrays.h>

Public Member Functions

virtual ~Arrays ()

Static Public Member Functions

template<typename E >
static void fill (E *array, int size, const E &value)
 Fills an array with the specified element.
template<typename E >
static void fill (E *array, int size, int start, int end, const E &value)
 Fills an array with the specified element within the range given.

Constructor & Destructor Documentation

virtual decaf::util::Arrays::~Arrays (  )  [virtual]

Member Function Documentation

template<typename E >
static void decaf::util::Arrays::fill ( E *  array,
int  size,
int  start,
int  end,
const E &  value 
) [inline, static]

Fills an array with the specified element within the range given.

Parameters:
array The Array to fill.
size The actual size of the array passed.
start The index to start the fill from (inclusive).
end The index to fill to (exclusive).
value The value to fill the array with.
Exceptions:
NullPointerException if array is Null.
IllegalArgumentException if the size parameter is negative, or the start index is greater than the end index.
IndexOutOfBoundsException if the start index is negative or the end index is greater than the size parameter.

References NULL.

template<typename E >
static void decaf::util::Arrays::fill ( E *  array,
int  size,
const E &  value 
) [inline, static]

Fills an array with the specified element.

Parameters:
array The Array to fill.
size The actual size of the array passed.
value The value to fill the array with.
Exceptions:
NullPointerException if array is Null.
IllegalArgumentException if the size parameter is negative, or the start index is greater than the end index.

References NULL.

Referenced by decaf::lang::ArrayPointer< HashMapEntry * >::ArrayPointer().


The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1