All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.objectspace.jgl.algorithms.Filling

java.lang.Object
   |
   +----COM.objectspace.jgl.algorithms.Filling

public final class Filling
extends Object
The Filling class contains generic filling algorithms.

See Also:
FillingExamples

Method Index

 o fill(Container, Object)
Fill a container with a particular value.
 o fill(ForwardIterator, ForwardIterator, Object)
Fill a specified range with a particular value.
 o fillN(OutputIterator, int, Object)
Assign an object to a number of elements starting at a specified location.

Methods

 o fill
 public static void fill(ForwardIterator first,
                         ForwardIterator last,
                         Object object)
Fill a specified range with a particular value.

Parameters:
first - An iterator positioned at the first element of the sequence.
last - An iterator positioned immediately after the last element of the sequence.
object - The object to fill the sequence with.
Throws: IllegalArgumentException
If the iterators are incompatible.
 o fill
 public static void fill(Container container,
                         Object object)
Fill a container with a particular value.

Parameters:
container - The container.
object - The object to fill the container with.
 o fillN
 public static void fillN(OutputIterator output,
                          int n,
                          Object object)
Assign an object to a number of elements starting at a specified location.

Parameters:
output - An iterator positioned at the first element of the sequence.
n - The number of objects to assign.
object - The object to fill the sequence with.

All Packages  Class Hierarchy  This Package  Previous  Next  Index