scalation

util

package util

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

Visibility
  1. Public
  2. All

Type Members

  1. trait Error extends AnyRef

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

  2. trait Identity extends Error

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

  3. trait PQItem extends Identity

    Items that go on PQueue should mixin the PQItem trait.

  4. class PQueue[T <: PQItem] extends ResizableArray[T] with Serializable

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

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

    The SortedLinkedHashMap class extends the scala LinkedHashMap class.

Value Members

  1. object CommentExtractor extends App

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

  2. object Counter extends AnyRef

    This Counter object is used to generate unique identifiers.

  3. object FloatLiteral extends App

    This object is used to add '0' to floating point literals, which end in a dot ('.

  4. object Monitor extends AnyRef

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

  5. object PQueueTest extends App

    This object is used to test the PQueue class.

  6. object Replace extends App

    This object is used to replace pattern pat1 with pat2.

  7. object SortedLinkedHashMapTest extends App

    This object is used to test the SortedLinkedHashMap class.

  8. object Swap extends AnyRef

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

  9. object SwapTest extends App

    This object is used to test the Swap object.

  10. object TestBreak extends App

    This object provides an example of how to use "breaks" in Scala.