Packages

package util

The util package contains classes, traits and objects for basic utility functions.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class BiMap[K, V] extends HashMap[K, V]

    The BiMap class maps keys to values and values to keys.

    The BiMap class maps keys to values and values to keys.

    K

    the key type

    V

    the value type

  2. class BpTreeMap[K, V] extends AbstractMap[K, V] with Map[K, V] with MapLike[K, V, BpTreeMap[K, V]] with Serializable

    The BpTreeMap class provides B+Tree maps.

    The BpTreeMap class provides B+Tree maps. B+Trees are used as multi-level index structures that provide efficient access for both point queries and range queries.

    See also

    docs.scala-lang.org/overviews/collections/concrete-mutable-collection-classes.html

    www.scala-lang.org/api/current/#scala.collection.mutable.MapLike ------------------------------------------------------------------------------

  3. class CircularQueue[A] extends LinearSeqOptimized[A, CircularQueue[A]]

    The CircularQueue provides a circular queue that can be used to store the latest 'cap' elements.

  4. class DArray[A] extends AbstractSeq[A] with IndexedSeq[A] with Serializable

    The DArray class provides an implementation of large mutable arrays.

    The DArray class provides an implementation of large mutable arrays. It used a double array with hi 'i1' and low 'i2' indices. Index 'i1' uses the hi-order bits to determine the chunk and 'i2' to determine the offset within a chunk. ------------------------------------------------------------------------------------------- 'apply (i) => i1 = i >> bits; val i2 = i - i1' ------------------------------------------------------------------------------------------- Could be extended to use a 'Long' rather than 'Int' in apply to very large arrays. -------------------------------------------------------------------------------------------

  5. class EasyWriter extends Writer

    The EasyWriter class makes it easy to switch between writing to standard output and a (log) file.

  6. trait Error extends AnyRef

    The Error trait is used to report errors showing the class and method within which the error or flaw occurred.

    The Error trait is used to report errors showing the class and method within which the error or flaw occurred. For performance reasons, 'getClass' is commented out. Uncomment to include this information.

  7. trait Identifiable extends Error

    The Identifiable trait provides unique identification for simulation components, entities and events.

    The Identifiable trait provides unique identification for simulation components, entities and events. Includes a mandatory id and an optional name.

  8. trait Locatable extends Error

    The Locatable trait provides location information/coordinates for objects (e.g., Components).

  9. final class MM_ArrayC extends AbstractSeq[Complex] with IndexedSeq[Complex] with Serializable with Cloneable

    The MM_ArrayC class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayC class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  10. final class MM_ArrayD extends AbstractSeq[Double] with IndexedSeq[Double] with Serializable with Cloneable

    The MM_ArrayD class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayD class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  11. final class MM_ArrayI extends AbstractSeq[Int] with IndexedSeq[Int] with Serializable with Cloneable

    The MM_ArrayI class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayI class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  12. final class MM_ArrayL extends AbstractSeq[Long] with IndexedSeq[Long] with Serializable with Cloneable

    The MM_ArrayL class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayL class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  13. final class MM_ArrayQ extends AbstractSeq[Rational] with IndexedSeq[Rational] with Serializable with Cloneable

    The MM_ArrayQ class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayQ class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  14. final class MM_ArrayR extends AbstractSeq[Real] with IndexedSeq[Real] with Serializable with Cloneable

    The MM_ArrayR class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayR class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  15. final class MM_ArrayS extends AbstractSeq[StrNum] with IndexedSeq[StrNum] with Serializable with Cloneable

    The MM_ArrayS class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayS class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  16. final class MM_ArrayT extends AbstractSeq[TimeNum] with IndexedSeq[TimeNum] with Serializable with Cloneable

    The MM_ArrayT class provides support for large, persistent arrays via memory mapped files.

    The MM_ArrayT class provides support for large, persistent arrays via memory mapped files. Currently, the size of a memory mapped array is limited to 2GB (2^31), since indices are signed 32-bit integers. FIX: use Long for indices and multiple files to remove 2GB limitation

    See also

    https://github.com/xerial/larray/blob/develop/README.md

  17. class MM_SortingC extends AnyRef

    The MM_SortingC class provides direct and indirect methods to:

    The MM_SortingC class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Complex.

    See also

    Sorting for a generic version of this class.

  18. class MM_SortingD extends AnyRef

    The MM_SortingD class provides direct and indirect methods to:

    The MM_SortingD class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Double.

    See also

    Sorting for a generic version of this class.

  19. class MM_SortingI extends AnyRef

    The MM_SortingI class provides direct and indirect methods to:

    The MM_SortingI class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Int.

    See also

    Sorting for a generic version of this class.

  20. class MM_SortingL extends AnyRef

    The MM_SortingL class provides direct and indirect methods to:

    The MM_SortingL class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Long.

    See also

    Sorting for a generic version of this class.

  21. class MM_SortingQ extends AnyRef

    The MM_SortingQ class provides direct and indirect methods to:

    The MM_SortingQ class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Rational.

    See also

    Sorting for a generic version of this class.

  22. class MM_SortingR extends AnyRef

    The MM_SortingR class provides direct and indirect methods to:

    The MM_SortingR class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Real.

    See also

    Sorting for a generic version of this class.

  23. class MM_SortingS extends AnyRef

    The MM_SortingS class provides direct and indirect methods to:

    The MM_SortingS class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for StrNum.

    See also

    Sorting for a generic version of this class.

  24. class MM_SortingT extends AnyRef

    The MM_SortingT class provides direct and indirect methods to:

    The MM_SortingT class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for TimeNum.

    See also

    Sorting for a generic version of this class.

  25. trait Matchable extends AnyRef

    The Matchable trait serves as a bases for string pattern matchers.

  26. class MemoryMappedFile extends AnyRef

    The MemoryMappedFile class provides support for memory-mapped files.

    The MemoryMappedFile class provides support for memory-mapped files. This version works for Array [Byte].

  27. class MemoryMappedFileD extends AnyRef

    The MemoryMappedFileD class provides support for memory-mapped files.

    The MemoryMappedFileD class provides support for memory-mapped files. This version works for Double

  28. class MergeSortIndirect extends AnyRef

    The MergeSortIndirect class provides an implementation of Indirect Merge Sort, a version of mergesort that does not re-arrange the array, but modifies an Int array called 'perm' such that 'perm(i)' is the index of the i-th smallest entry in the array (i.e., a(perm(i)) <= a(perm(i+1)).

    The MergeSortIndirect class provides an implementation of Indirect Merge Sort, a version of mergesort that does not re-arrange the array, but modifies an Int array called 'perm' such that 'perm(i)' is the index of the i-th smallest entry in the array (i.e., a(perm(i)) <= a(perm(i+1)). The 'isort' method returns the permutation that sorts array 'a' in 'perm'. Will indirectly sort any type supported by the Vec_Elem less-than operator.

    See also

    scalation.linalgebra.Vec_Elem

  29. class MultiSet[T] extends MutableList[T]

    The MultiSet class provides an implementation for Union, Intersection and Subset for the generic MultiSet data type that extends MutableList.

  30. class Node[K] extends Error

    The Node class defines a splittable node type with methods for finding entries (keys and values).

  31. trait PQItem extends Identifiable

    The PQItem trait should be mixed in for items going on a PQueue.

  32. class PQueue[T <: PQItem] extends ReArray[T] with Serializable

    The PQueue class provides a simple linear implementation for priority queues.

    The PQueue class provides a simple linear implementation for priority queues. Once bug in scala 2.8 if fixed, may wish to switch to logarithmic implementation in scala.collection.mutable.PriorityQueue.

  33. trait PackageInfo extends AnyRef

    The PackageInfo trait provides methods to retrieve meta-data about packages.

  34. class PatMatcher extends MatchResult with Matchable with Error

    The PatMatcher class provides a simple means for using Java regular expressions.

    The PatMatcher class provides a simple means for using Java regular expressions. Following the Facade design pattern, it combines functionality from both Pattern and Matcher. A faster alternative is PatMatcherB, see below.

  35. class PriorityQueue[A] extends AbstractIterable[A] with Iterable[A] with GenericOrderedTraversableTemplate[A, PriorityQueue] with IterableLike[A, PriorityQueue[A]] with Growable[A] with Builder[A, PriorityQueue[A]] with Serializable with Cloneable

    The PriorityQueue class implements priority queues using a heap.

    The PriorityQueue class implements priority queues using a heap. To prioritize elements of type A there must be an implicit Ordering [A] available at creation.

    Only the dequeue and dequeueAll methods will return methods in priority order (while removing elements from the heap). Standard collection methods including drop and iterator will remove or traverse the heap in whichever order seems most convenient.

    A

    type of the elements in this priority queue.

    Version

    1.0, 03/05/2004

    Since

    1

  36. class ReArray[A] extends AbstractSeq[A] with IndexedSeq[A] with Serializable

    The ReArray class provides an implementation of mutable, resizable/dynamic arrays.

    The ReArray class provides an implementation of mutable, resizable/dynamic arrays. It is based on Scala's ResizableArray trait with additions and modifications. Preliminary testing has shown it to be faster than its competition: ArrayList and ArrayBuffer. ------------------------------------------------------------------------------------------- Added methods: 'shiftLeft', 'shiftLeft2', 'shiftRight', 'shiftRight2' and 'expand'. ------------------------------------------------------------------------------------------- Modified methods: 'reduceToSize': modified for performance reasons; instead of decreasing the size0 by 1 in a while loop and setting elements to null, it just decrements the size0 variable. FIX: possible minor memory leak 'companion': modified to return null as it is not required by our implementation; the ReArray object does not extend SeqFactory and thus 'newBuilder [A]' is absent. 'update': modified to catch the IndexOutOfBoundsException' and automatically expand the array. 'constructor': modified to take in the initial length and a normal Array; by doing this we can easily convert an object of type Array to a ReArray as the internal 'array' is changed from AnyRef to type A'. ------------------------------------------------------------------------------------------- Modified variables: 'array': the type is changed to A from AnyRef; this helps in assigning an Array [A] to a ReArray [A]; the initial value is changed to check if '_array' is null. 'size0': the initial value is changed to take care if '_array' is null. -------------------------------------------------------------------------------------------

  37. class SortedLinkedHashMap[A, B] extends LinkedHashMap[A, B] with Serializable

    The SortedLinkedHashMap class extends the scala LinkedHashMap class.

    The SortedLinkedHashMap class extends the scala LinkedHashMap class. It maintains the keys (type A) in order, so when you iterate the entry set, the entries are in key order. This is useful for merge algorithms, such as those used for sparse matrices.

  38. class Sorting[T] extends AnyRef

    The Sorting class provides direct and indirect methods to:

    The Sorting class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort large arrays using MergeSort (slower than quicksort, but stable) sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is generic.

    See also

    SortingC for a version of this class specialized for Complex.

    SortingD for a version of this class specialized for Double.

    SortingI for a version of this class specialized for Int.

    SortingL for a version of this class specialized for Long.

    SortingQ for a version of this class specialized for Rational.

    SortingR for a version of this class specialized for Real.

    SortingS for a version of this class specialized for StrNum.

  39. class SortingC extends AnyRef

    The SortingC class provides direct and indirect methods to:

    The SortingC class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Complex.

    See also

    Sorting for a generic version of this class.

  40. class SortingD extends AnyRef

    The SortingD class provides direct and indirect methods to:

    The SortingD class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Double.

    See also

    Sorting for a generic version of this class.

  41. class SortingI extends AnyRef

    The SortingI class provides direct and indirect methods to:

    The SortingI class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Int.

    See also

    Sorting for a generic version of this class.

  42. class SortingL extends AnyRef

    The SortingL class provides direct and indirect methods to:

    The SortingL class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Long.

    See also

    Sorting for a generic version of this class.

  43. class SortingQ extends AnyRef

    The SortingQ class provides direct and indirect methods to:

    The SortingQ class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Rational.

    See also

    Sorting for a generic version of this class.

  44. class SortingR extends AnyRef

    The SortingR class provides direct and indirect methods to:

    The SortingR class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for Real.

    See also

    Sorting for a generic version of this class.

  45. class SortingS extends AnyRef

    The SortingS class provides direct and indirect methods to:

    The SortingS class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for StrNum.

    See also

    Sorting for a generic version of this class.

  46. class SortingT extends AnyRef

    The SortingT class provides direct and indirect methods to:

    The SortingT class provides direct and indirect methods to:

    find 'k'-th median ('k'-th smallest element) using QuickSelect sort large arrays using QuickSort sort small arrays using SelectionSort

    Direct methods are faster, but modify the array, while indirect methods are slower, but do not modify the array. This class is specialized for TimeNum.

    See also

    Sorting for a generic version of this class.

  47. class Wildcard extends Matchable

    The Wildcard value class provides an implementation for wildcard string matching that checks if the 'pattern' string matches against a given 'self' string based on single (CHAR_WILD_ONE) and/or multiple (CHAR_WILD_MANY) wildcards.

Value Members

  1. val NS_PER_MS: Double

    The number of nanoseconds per millisecond

  2. def banner(str: String): Unit

    Print a banner, i.e., a string in a box.

    Print a banner, i.e., a string in a box.

    str

    the string to put in the banner

  3. def gauge[R](block: ⇒ R): Double

    Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'gauge { block }'.

    Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'gauge { block }'. Return the block of code's elapsed time.

    block

    the block of code to be executed

    See also

    http://stackoverflow.com/questions/9160001/how-to-profile-methods-in-scala

  4. def getFromURL_File(path: String): Iterator[String]

    Return a line iterator for a line-oriented data source (e.g., CSV file).

    Return a line iterator for a line-oriented data source (e.g., CSV file). The data source is accessed via (1) URL, (2) file's absolute path, or (3) file's relative path (relative to 'DATA-DIR').

    path

    the path name of the data source (via URL or file's path name)

    See also

    stackoverflow.com/questions/5713558/detect-and-extract-url-from-a-string

  5. def removeAt(str: String, i: Int, n: Int = 1): String

    Remove 'n' characters starting at position 'i' in string 'str' and return the new string.

    Remove 'n' characters starting at position 'i' in string 'str' and return the new string.

    str

    the source string

    i

    the starting position for character removal

    n

    the number of characters to remove

  6. def sline(n: Int = 60): String

    Make a string for use in printing a line of '-'s.

    Make a string for use in printing a line of '-'s.

    n

    the number of '-'s to use

  7. def time[R](block: ⇒ R): R

    Print the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'.

    Print the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'time { block }'. Return any result produced by the block of code.

    block

    the block of code to be executed

    See also

    http://stackoverflow.com/questions/9160001/how-to-profile-methods-in-scala

  8. def timed[R](block: ⇒ R): (R, Double)

    Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'timed { block }'.

    Calculate the elapsed time in milliseconds (ms) for the execution of an arbitrary block of code: 'timed { block }'. Return any result produced by the block of code and its elapsed time.

    block

    the block of code to be executed

    See also

    http://stackoverflow.com/questions/9160001/how-to-profile-methods-in-scala

  9. object AnObject extends Serializable

    The AnObject object is a sample singleton object that is made serialiable via "extends Serializable".

    The AnObject object is a sample singleton object that is made serialiable via "extends Serializable". May also make is serializable by making it a case object.

  10. object BiMapTest extends App

    The BiMapTest class is used the test the BiMap class.

    The BiMapTest class is used the test the BiMap class. runMain scalation.util.BiMapTest

  11. object BinarySearch

    The BinarySearch object provides a method for binary search.

  12. object BpTreeMapTest extends App

    The BpTreeMapTest object is used to test the BpTreeMap class by inserting increasing key values.

    The BpTreeMapTest object is used to test the BpTreeMap class by inserting increasing key values. > run-main scalation.util.BpTreeMapTest

  13. object BpTreeMapTest2 extends App

    The BpTreeMapTest2 object is used to test the BpTreeMap class by inserting random key values.

    The BpTreeMapTest2 object is used to test the BpTreeMap class by inserting random key values. > run-main scalation.util.BpTreeMapTest2

  14. object CircularQueueTest extends App

    The CircularQueueTest object is used to test the CircularQueue class.

    The CircularQueueTest object is used to test the CircularQueue class. > runMain scalation.util.CircularQueueTest

  15. object CommentExtractor extends App

    The CommentExtractor object is used to extract comments from source code (for example to send it to a spell checker).

    The CommentExtractor object is used to extract comments from source code (for example to send it to a spell checker). It reads from standard input and writes to standard output.

    See also

    http://ostermiller.org/findcomment.html > runMain scalation.util.CommentExtractor

  16. object DArray extends Serializable

    The DArray object is the companion object for the DArray class.

  17. object DArrayTest extends App

    The DArrayTest object tests the operations provided by DArrayTest.

    The DArrayTest object tests the operations provided by DArrayTest. > runMain scalation.util.DArrayTest

  18. object EasyWriterTest extends App

    The EasyWriterTest object is used to test the EasyWriter class.

    The EasyWriterTest object is used to test the EasyWriter class. It will write into a file, unless there is a command-line argument. > runMain scalation.util.EasyWriterTest

  19. object FloatLiteral extends App

    The FloatLiteral object is used to add '0' to floating point literals, which end in a dot ('.'), e.g., "12." -> "12.0".

    The FloatLiteral object is used to add '0' to floating point literals, which end in a dot ('.'), e.g., "12." -> "12.0".

    See also

    http://stackoverflow.com/questions/9655080/scala-operator-oddity "In scala 2.9 and before, 2. is interpreted as 2.0 so the ambiguous dot denotes a float literal. You should explicitly call the method by using the syntax (2).+(2). The ambiguous floating point syntax has been be deprecated since scala 2.10."

  20. object Identifiable

    The Identifiable object is used to generate unique identifiers.

  21. object MM_ArrayC extends Serializable

    The MM_ArrayC companion object provides factory methods for the MM_ArrayC class.

  22. object MM_ArrayCTest extends App

    The MM_ArrayCTest is used to test the MM_ArrayC class.

    The MM_ArrayCTest is used to test the MM_ArrayC class. > runMain scalation.util.MM_ArrayCTest

  23. object MM_ArrayD extends Serializable

    The MM_ArrayD companion object provides factory methods for the MM_ArrayD class.

  24. object MM_ArrayDTest extends App

    The MM_ArrayDTest is used to test the MM_ArrayD class.

    The MM_ArrayDTest is used to test the MM_ArrayD class. > runMain scalation.util.MM_ArrayDTest

  25. object MM_ArrayI extends Serializable

    The MM_ArrayI companion object provides factory methods for the MM_ArrayI class.

  26. object MM_ArrayITest extends App

    The MM_ArrayITest is used to test the MM_ArrayI class.

    The MM_ArrayITest is used to test the MM_ArrayI class. > runMain scalation.util.MM_ArrayITest

  27. object MM_ArrayL extends Serializable

    The MM_ArrayL companion object provides factory methods for the MM_ArrayL class.

  28. object MM_ArrayLTest extends App

    The MM_ArrayLTest is used to test the MM_ArrayL class.

    The MM_ArrayLTest is used to test the MM_ArrayL class. > runMain scalation.util.MM_ArrayLTest

  29. object MM_ArrayQ extends Serializable

    The MM_ArrayQ companion object provides factory methods for the MM_ArrayQ class.

  30. object MM_ArrayQTest extends App

    The MM_ArrayQTest is used to test the MM_ArrayQ class.

    The MM_ArrayQTest is used to test the MM_ArrayQ class. > runMain scalation.util.MM_ArrayQTest

  31. object MM_ArrayR extends Serializable

    The MM_ArrayR companion object provides factory methods for the MM_ArrayR class.

  32. object MM_ArrayRTest extends App

    The MM_ArrayRTest is used to test the MM_ArrayR class.

    The MM_ArrayRTest is used to test the MM_ArrayR class. > runMain scalation.util.MM_ArrayRTest

  33. object MM_ArrayS extends Serializable

    The MM_ArrayS companion object provides factory methods for the MM_ArrayS class.

  34. object MM_ArraySTest extends App

    The MM_ArraySTest is used to test the MM_ArrayS class.

    The MM_ArraySTest is used to test the MM_ArrayS class. > runMain scalation.util.MM_ArraySTest

  35. object MM_ArrayT extends Serializable

    The MM_ArrayT companion object provides factory methods for the MM_ArrayT class.

  36. object MM_ArrayTTest extends App

    The MM_ArrayTTest is used to test the MM_ArrayT class.

    The MM_ArrayTTest is used to test the MM_ArrayT class. > runMain scalation.util.MM_ArrayTTest

  37. object MM_SortingC

    The MM_SortingC companion object provides shortcuts for calling methods from the MM_SortingC class.

  38. object MM_SortingCTest extends App

    The MM_SortingCTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingC class.

  39. object MM_SortingCTest2 extends App

    The MM_SortingCTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingC class.

  40. object MM_SortingCTest3 extends App

    The MM_SortingCTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingC class.

  41. object MM_SortingCTest4 extends App

    The MM_SortingCTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingC class.

    The MM_SortingCTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingC class. The sort is in decreasing order.

  42. object MM_SortingCTest5 extends App

    The MM_SortingCTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingC class.

    The MM_SortingCTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingC class. The sort is in decreasing order.

  43. object MM_SortingD

    The MM_SortingD companion object provides shortcuts for calling methods from the MM_SortingD class.

  44. object MM_SortingDTest extends App

    The MM_SortingDTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingD class.

  45. object MM_SortingDTest2 extends App

    The MM_SortingDTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingD class.

  46. object MM_SortingDTest3 extends App

    The MM_SortingDTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingD class.

  47. object MM_SortingDTest4 extends App

    The MM_SortingDTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingD class.

    The MM_SortingDTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingD class. The sort is in decreasing order.

  48. object MM_SortingDTest5 extends App

    The MM_SortingDTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingD class.

    The MM_SortingDTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingD class. The sort is in decreasing order.

  49. object MM_SortingI

    The MM_SortingI companion object provides shortcuts for calling methods from the MM_SortingI class.

  50. object MM_SortingITest extends App

    The MM_SortingITest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingI class.

  51. object MM_SortingITest2 extends App

    The MM_SortingITest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingI class.

  52. object MM_SortingITest3 extends App

    The MM_SortingITest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingI class.

  53. object MM_SortingITest4 extends App

    The MM_SortingITest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingI class.

    The MM_SortingITest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingI class. The sort is in decreasing order.

  54. object MM_SortingITest5 extends App

    The MM_SortingITest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingI class.

    The MM_SortingITest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingI class. The sort is in decreasing order.

  55. object MM_SortingL

    The MM_SortingL companion object provides shortcuts for calling methods from the MM_SortingL class.

  56. object MM_SortingLTest extends App

    The MM_SortingLTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingL class.

  57. object MM_SortingLTest2 extends App

    The MM_SortingLTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingL class.

  58. object MM_SortingLTest3 extends App

    The MM_SortingLTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingL class.

  59. object MM_SortingLTest4 extends App

    The MM_SortingLTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingL class.

    The MM_SortingLTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingL class. The sort is in decreasing order.

  60. object MM_SortingLTest5 extends App

    The MM_SortingLTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingL class.

    The MM_SortingLTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingL class. The sort is in decreasing order.

  61. object MM_SortingQ

    The MM_SortingQ companion object provides shortcuts for calling methods from the MM_SortingQ class.

  62. object MM_SortingQTest extends App

    The MM_SortingQTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingQ class.

  63. object MM_SortingQTest2 extends App

    The MM_SortingQTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingQ class.

  64. object MM_SortingQTest3 extends App

    The MM_SortingQTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingQ class.

  65. object MM_SortingQTest4 extends App

    The MM_SortingQTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingQ class.

    The MM_SortingQTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingQ class. The sort is in decreasing order.

  66. object MM_SortingQTest5 extends App

    The MM_SortingQTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingQ class.

    The MM_SortingQTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingQ class. The sort is in decreasing order.

  67. object MM_SortingR

    The MM_SortingR companion object provides shortcuts for calling methods from the MM_SortingR class.

  68. object MM_SortingRTest extends App

    The MM_SortingRTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingR class.

  69. object MM_SortingRTest2 extends App

    The MM_SortingRTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingR class.

  70. object MM_SortingRTest3 extends App

    The MM_SortingRTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingR class.

  71. object MM_SortingRTest4 extends App

    The MM_SortingRTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingR class.

    The MM_SortingRTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingR class. The sort is in decreasing order.

  72. object MM_SortingRTest5 extends App

    The MM_SortingRTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingR class.

    The MM_SortingRTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingR class. The sort is in decreasing order.

  73. object MM_SortingS

    The MM_SortingS companion object provides shortcuts for calling methods from the MM_SortingS class.

  74. object MM_SortingSTest extends App

    The MM_SortingSTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingS class.

  75. object MM_SortingSTest2 extends App

    The MM_SortingSTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingS class.

  76. object MM_SortingSTest3 extends App

    The MM_SortingSTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingS class.

  77. object MM_SortingSTest4 extends App

    The MM_SortingSTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingS class.

    The MM_SortingSTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingS class. The sort is in decreasing order.

  78. object MM_SortingSTest5 extends App

    The MM_SortingSTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingS class.

    The MM_SortingSTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingS class. The sort is in decreasing order.

  79. object MM_SortingT

    The MM_SortingT companion object provides shortcuts for calling methods from the MM_SortingT class.

  80. object MM_SortingTTest extends App

    The MM_SortingTTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the MM_SortingT class.

  81. object MM_SortingTTest2 extends App

    The MM_SortingTTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the MM_SortingT class.

  82. object MM_SortingTTest3 extends App

    The MM_SortingTTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the MM_SortingT class.

  83. object MM_SortingTTest4 extends App

    The MM_SortingTTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingT class.

    The MM_SortingTTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the MM_SortingT class. The sort is in decreasing order.

  84. object MM_SortingTTest5 extends App

    The MM_SortingTTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingT class.

    The MM_SortingTTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the MM_SortingT class. The sort is in decreasing order.

  85. object MemoryMappedFileDTest extends App

    The MemoryMappedFileDTest is used to test the MemoryMappedFileD class.

    The MemoryMappedFileDTest is used to test the MemoryMappedFileD class. > runMain scalation.util.MemoryMappedFileDTest

  86. object MemoryMappedFileTest extends App

    The MemoryMappedFileTest is used to test the MemoryMappedFile class.

    The MemoryMappedFileTest is used to test the MemoryMappedFile class. > runMain scalation.util.MemoryMappedFileTest

  87. object MergeSortIndirectTest extends App

    The MergeSortIndirectTest is used to test the MergeSortIndirect class.

    The MergeSortIndirectTest is used to test the MergeSortIndirect class. This test illustrates sorting multiple types. > runMain scalation.util.MergeSortIndirectTest

  88. object MergeSortIndirectTest2 extends App

    The MergeSortIndirectTest2 is used to test the MergeSortIndirect class.

    The MergeSortIndirectTest2 is used to test the MergeSortIndirect class. This test illustrates sorting multiple columns. > runMain scalation.util.MergeSortIndirectTest2

  89. object Monitor

    The Monitor object is used to trace the actions/events in the models.

  90. object MultiSet extends Serializable

    The MultiSet object is the companion object for the MultiSet' class.

  91. object MultiSetTest extends App

    The MultiSetTest object is used to test the MultiSet class.

    The MultiSetTest object is used to test the MultiSet class. > runMain scalation.util.MultiSetTest

  92. object NodeTest extends App

    The NodeTest object is used to test the Node class.

    The NodeTest object is used to test the Node class. > runMain scalation.util.NodeTest

  93. object ObjectSerialization extends App

    The ObjectSerialization object is used to serialize a Scala singleton object.

    The ObjectSerialization object is used to serialize a Scala singleton object. > runMain scalation.util.ObjectSerialization

  94. object PQueueTest extends App

    The PQueueTest object is used to test the PQueue class.

    The PQueueTest object is used to test the PQueue class. > runMain scalation.util.PQueueTest

  95. object PatMatcherTest extends App

    The PatMatcherTest object is used to test the PatMatcher vs.

    The PatMatcherTest object is used to test the PatMatcher vs. PatMatcherB classes. It compares the match results and performance of Java and Brics regex pattern matchers.

    See also

    http://lh3lh3.users.sourceforge.net/reb.shtml > runMain scalation.util.PatMatcherTest

  96. object PriorityQueue extends OrderedTraversableFactory[PriorityQueue] with Serializable

    The PriorityQueue companion object provides builder methods.

  97. object PriorityQueueTest extends App

    The PriorityQueueTest object is used to test the PriorityQueue class.

    The PriorityQueueTest object is used to test the PriorityQueue class. Note, element 'e1' has higher priority than 'e2' when 'e1 > e2'. To change from "largest first" to "smallest first", could use negative numbers or swap the comparison order. > runMain scalation.util.PriorityQueueTest

  98. object QuasiQuoteTest extends App

    The QuasiQuoteTest object is used to test how Quasi-Quotes can be used for code generation.

    The QuasiQuoteTest object is used to test how Quasi-Quotes can be used for code generation. FIX: generate class files (.class) rather than execute the code > runMain scalation.util.QuasiQuoteTest

  99. object ReArray extends Serializable

    The ReArray object is the companion object for the ReArray class.

  100. object ReArrayTest extends App

    The ReArrayTest object tests the operations provided by ReArrayTest.

    The ReArrayTest object tests the operations provided by ReArrayTest. > run-main scalation.util.ReArrayTest

  101. object RunSpellCheck extends App

    The RunSpellCheck object is used to check the spelling of the a given package.

    The RunSpellCheck object is used to check the spelling of the a given package. The package directory (relative path) is entered as a command-line argument. Ex: 'scalation/math' > runMain scalation.util.RunSpellCheck <package directory>

  102. object SortedLinkedHashMapTest extends App

    The SortedLinkedHashMapTest object is used to test the SortedLinkedHashMap class.

  103. object Sorting

    The Sorting companion object provides shortcuts for calling methods from the Sorting class.

    The Sorting companion object provides shortcuts for calling methods from the Sorting class. Only works for Array [Double].

  104. object SortingC

    The SortingC companion object provides shortcuts for calling methods from the SortingC class.

  105. object SortingCTest extends App

    The SortingCTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingC class.

  106. object SortingCTest2 extends App

    The SortingCTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingC class.

  107. object SortingCTest3 extends App

    The SortingCTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingC class.

  108. object SortingCTest4 extends App

    The SortingCTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingC class.

    The SortingCTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingC class. The sort is in decreasing order.

  109. object SortingCTest5 extends App

    The SortingCTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingC class.

    The SortingCTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingC class. The sort is in decreasing order.

  110. object SortingD

    The SortingD companion object provides shortcuts for calling methods from the SortingD class.

  111. object SortingDTest extends App

    The SortingDTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingD class.

  112. object SortingDTest2 extends App

    The SortingDTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingD class.

  113. object SortingDTest3 extends App

    The SortingDTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingD class.

  114. object SortingDTest4 extends App

    The SortingDTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingD class.

    The SortingDTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingD class. The sort is in decreasing order.

  115. object SortingDTest5 extends App

    The SortingDTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingD class.

    The SortingDTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingD class. The sort is in decreasing order.

  116. object SortingI

    The SortingI companion object provides shortcuts for calling methods from the SortingI class.

  117. object SortingITest extends App

    The SortingITest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingI class.

  118. object SortingITest2 extends App

    The SortingITest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingI class.

  119. object SortingITest3 extends App

    The SortingITest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingI class.

  120. object SortingITest4 extends App

    The SortingITest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingI class.

    The SortingITest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingI class. The sort is in decreasing order.

  121. object SortingITest5 extends App

    The SortingITest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingI class.

    The SortingITest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingI class. The sort is in decreasing order.

  122. object SortingL

    The SortingL companion object provides shortcuts for calling methods from the SortingL class.

  123. object SortingLTest extends App

    The SortingLTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingL class.

  124. object SortingLTest2 extends App

    The SortingLTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingL class.

  125. object SortingLTest3 extends App

    The SortingLTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingL class.

  126. object SortingLTest4 extends App

    The SortingLTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingL class.

    The SortingLTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingL class. The sort is in decreasing order.

  127. object SortingLTest5 extends App

    The SortingLTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingL class.

    The SortingLTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingL class. The sort is in decreasing order.

  128. object SortingQ

    The SortingQ companion object provides shortcuts for calling methods from the SortingQ class.

  129. object SortingQTest extends App

    The SortingQTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingQ class.

  130. object SortingQTest2 extends App

    The SortingQTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingQ class.

  131. object SortingQTest3 extends App

    The SortingQTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingQ class.

  132. object SortingQTest4 extends App

    The SortingQTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingQ class.

    The SortingQTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingQ class. The sort is in decreasing order.

  133. object SortingQTest5 extends App

    The SortingQTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingQ class.

    The SortingQTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingQ class. The sort is in decreasing order.

  134. object SortingR

    The SortingR companion object provides shortcuts for calling methods from the SortingR class.

  135. object SortingRTest extends App

    The SortingRTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingR class.

  136. object SortingRTest2 extends App

    The SortingRTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingR class.

  137. object SortingRTest3 extends App

    The SortingRTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingR class.

  138. object SortingRTest4 extends App

    The SortingRTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingR class.

    The SortingRTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingR class. The sort is in decreasing order.

  139. object SortingRTest5 extends App

    The SortingRTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingR class.

    The SortingRTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingR class. The sort is in decreasing order.

  140. object SortingS

    The SortingS companion object provides shortcuts for calling methods from the SortingS class.

  141. object SortingSTest extends App

    The SortingSTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingS class.

  142. object SortingSTest2 extends App

    The SortingSTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingS class.

  143. object SortingSTest3 extends App

    The SortingSTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingS class.

  144. object SortingSTest4 extends App

    The SortingSTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingS class.

    The SortingSTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingS class. The sort is in decreasing order.

  145. object SortingSTest5 extends App

    The SortingSTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingS class.

    The SortingSTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingS class. The sort is in decreasing order.

  146. object SortingT

    The SortingT companion object provides shortcuts for calling methods from the SortingT class.

  147. object SortingTTest extends App

    The SortingTTest object is used to test the correctness and performance of the 'median' and 'imedian' methods in the SortingT class.

  148. object SortingTTest2 extends App

    The SortingTTest2 object is used to test the correctness and performance of the 'qsort' and 'iqsort' sorting methods in the SortingT class.

  149. object SortingTTest3 extends App

    The SortingTTest3 object is used to test the correctness and performance of the 'selsort' and 'iselsort' sorting methods in the SortingT class.

  150. object SortingTTest4 extends App

    The SortingTTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingT class.

    The SortingTTest4 object is used to test the correctness and performance of the 'qsort2' and 'iqsort2' sorting methods in the SortingT class. The sort is in decreasing order.

  151. object SortingTTest5 extends App

    The SortingTTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingT class.

    The SortingTTest5 object is used to test the correctness and performance of the 'selsort2' and 'iselsort2' sorting methods in the SortingT class. The sort is in decreasing order.

  152. object SortingTest extends App

    The SortingTest object is used to test the correctness and performance of the methods in the Sorting class that find 'k'-medians.

    The SortingTest object is used to test the correctness and performance of the methods in the Sorting class that find 'k'-medians. > runMain scalation.util.SortingTest

  153. object SortingTest2 extends App

    The SortingTest2 object is used to test the correctness and performance of the sorting methods in the Sorting class.

    The SortingTest2 object is used to test the correctness and performance of the sorting methods in the Sorting class. > runMain scalation.util.SortingTest2

  154. object SortingTest3 extends App

    The SortingTest3 object is used to test the correctness of top-k (smallest) and bottom-k (largest) algorithms that are based on partial selection sort.

    The SortingTest3 object is used to test the correctness of top-k (smallest) and bottom-k (largest) algorithms that are based on partial selection sort. > runMain scalation.util.SortingTest3

  155. object SortingTest4 extends App

    The SortingTest4 object is used to test Merge Sort.

    The SortingTest4 object is used to test Merge Sort. > runMain scalation.util.SortingTest4

  156. object SpellCheck extends Error

    The SpellCheck object is used to check the spelling in source code comments.

    The SpellCheck object is used to check the spelling in source code comments. If not using Linux, may need to replace path for 'DICTIONARY'. Note, okay to use '/' since the dictionary location is system-dependent anyway.

  157. object SpellCheckTest extends App

    The SpellCheckTest object is used to test the SpellCheck object.

    The SpellCheckTest object is used to test the SpellCheck object. run-main scalation.util.SpellCheckTest

  158. object Swap

    The Swap class provides a method to swap elements in an Array or ArrayBuffer.

    The Swap class provides a method to swap elements in an Array or ArrayBuffer. Note, ArrayBuffer is resizable (similar to Java's ArrayList).

  159. object SwapTest extends App

    This SwapTest is used to test the Swap object.

    This SwapTest is used to test the Swap object. > runMain scalation.util.SwapTest

  160. object TestBreak extends App

    The TestBreak object provides an example of how to use 'breaks' in Scala.

    The TestBreak object provides an example of how to use 'breaks' in Scala.

    See also

    http://daily-scala.blogspot.com/2010/04/breaks.html

    http://www.scala-lang.org/archives/downloads/distrib/files/nightly/docs/library/scala/util/control/Breaks.html

  161. object Unicode

    The Unicode object provides arrays to facilitate the use of Unicode.

    The Unicode object provides arrays to facilitate the use of Unicode. ScalaTion currently uses a few UTF-16 characters, see code below. Most UTF-16 characters are 2 bytes (16 bits). Extended characters are encoded in 4 bytes. ScalaTion limits characters to the range 'U+0000' to 'U+2bff'. Developers should test Unicode symbols here before trying them in the code.

    See also

    en.wikipedia.org/wiki/UTF-16

    www.tamasoft.co.jp/en/general-info/unicode.html

    en.wikipedia.org/wiki/List_of_Unicode_characters

    arxiv.org/abs/1112.1751 ------------------------------------------------------------------------------ Classes using Unicode include the following:

    scalation.analytics.Regression

    scalation.linalgebra.bld.BldVector

    scalation.math (package object)

    scalation.math.Complex

    scalation.math.Rational

    scalation.math.Real

    scalation.math.StrNum

    scalation.columnar_db.Relation

  162. object UnicodeTest extends App

    The UnicodeTest object is used to the Unicode object.

    The UnicodeTest object is used to the Unicode object. > runMain scalation.util.UnicodeTest

  163. object Wildcard

    The Wildcard object defines useful contants for the Wildcard class.

  164. object WildcardTest extends App

    The WildcardTest object is used to test the Wildcard class.

    The WildcardTest object is used to test the Wildcard class. > runMain scalation.util.WildcardTest

Inherited from AnyRef

Inherited from Any

Ungrouped