Class IterationHelper

java.lang.Object
org.drip.spaces.iterator.IterationHelper

public class IterationHelper
extends java.lang.Object
IterationHelper contains the Functionality that helps perform Checked Multidimensional Iterative Scans. It provides the following Functionality:
  • Scan through the Integer Array looking for a repeating Index
  • Display the Contents of the Index Array
  • Compose a String constructed from the specified Array Index

Module Computational Core Module
Library Statistical Learning Library
Project R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes
Package Iterative/Exhaustive Vector Space Scanners
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    IterationHelper()  
  • Method Summary

    Modifier and Type Method Description
    static boolean CheckForRepeatingIndex​(int[] indexArray)
    Scan through the Integer Array looking for a repeating Index
    static java.lang.String ComposeFromIndex​(java.lang.String master, int[] indexArray)
    Compose a String constructed from the specified Array Index
    static void DumpIndexArray​(java.lang.String prefix, int[] indexArray)
    Display the Contents of the Index Array

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IterationHelper

      public IterationHelper()
  • Method Details

    • CheckForRepeatingIndex

      public static final boolean CheckForRepeatingIndex​(int[] indexArray)
      Scan through the Integer Array looking for a repeating Index
      Parameters:
      indexArray - The Index Array
      Returns:
      TRUE - A Repeating Index exists
    • DumpIndexArray

      public static final void DumpIndexArray​(java.lang.String prefix, int[] indexArray)
      Display the Contents of the Index Array
      Parameters:
      prefix - The Dump Prefix
      indexArray - The Index Array
    • ComposeFromIndex

      public static final java.lang.String ComposeFromIndex​(java.lang.String master, int[] indexArray)
      Compose a String constructed from the specified Array Index
      Parameters:
      master - The Master String
      indexArray - The Index Array
      Returns:
      The Composed String