All Packages Class Hierarchy This Package Previous Next Index
Class COM.objectspace.jgl.algorithms.Printing
java.lang.Object
|
+----COM.objectspace.jgl.algorithms.Printing
- public final class Printing
- extends Object
Printing is a class that contains generic printing algorithms.
- See Also:
- PrintingExamples
-
print(Container)
- Print the contents of the container
to the standard output stream, System.out.
-
print(InputIterator, InputIterator)
- Print the contents of the data structure associated with a particular iterator
to the standard output stream, System.out.
-
println(Container)
- Print the contents of the container
to the standard output stream, System.out, followed by a newline.
-
println(InputIterator, InputIterator)
- Print the contents of the data structure associated with a particular iterator
to the standard output stream, System.out, followed by a newline.
-
toString(Container, String)
- Return a string that describes a container.
-
toString(InputIterator, InputIterator)
- Return a string that describes the contents of the sequence
associated with an iterator.
toString
public static String toString(Container container,
String name)
- Return a string that describes a container.
- Parameters:
- container - The container to describe.
- name - The type of the container.
- Returns:
- A string that describes the container.
toString
public static String toString(InputIterator first,
InputIterator last)
- Return a string that describes the contents of the sequence
associated with an iterator.
- Parameters:
- first - An iterator positioned at the first element to describe.
- last - An iterator positioned immediately after the last element to describe.
- Returns:
- A string that describes the container's contents.
- Throws: IllegalArgumentException
- If the iterators are incompatible.
print
public static void print(InputIterator first,
InputIterator last)
- Print the contents of the data structure associated with a particular iterator
to the standard output stream, System.out.
- Parameters:
- first - An iterator positioned at the first element to print.
- last - An iterator positioned immediately after the last element to print.
- Throws: IllegalArgumentException
- If the iterators are incompatible.
print
public static void print(Container container)
- Print the contents of the container
to the standard output stream, System.out.
- Parameters:
- container - The container to describe.
println
public static void println(InputIterator first,
InputIterator last)
- Print the contents of the data structure associated with a particular iterator
to the standard output stream, System.out, followed by a newline.
- Parameters:
- first - An iterator positioned at the first element to print.
- last - An iterator positioned immediately after the last element to print.
- Throws: IllegalArgumentException
- If the iterators are incompatible.
println
public static void println(Container container)
- Print the contents of the container
to the standard output stream, System.out, followed by a newline.
- Parameters:
- container - The container to describe.
All Packages Class Hierarchy This Package Previous Next Index