Scalax

This document is the API specification for Scalax

Class Summary
trait Bistate [+P, +N] extends Tristate[P, N]
class FastArrayBuffer [A] extends scala.RandomAccessSeq.Mutable[A] with scala.collection.mutable.Buffer[A]
A more efficient re-implementation of ArrayBuffer.
class IntExtras (i : Int) extends AnyRef
trait IteratorSeq [+A] extends scala.Seq[A]
A Seq variant that requires only the elements method to be implemented. Note that consequently the provided apply and length methods are O(n).
trait MonoidWithJoin [A] extends AnyRef
Type-class for monoids, where the operation looks like concatenation.
class MonoidWithJoinIterableExtras [A](i : scala.Iterable[A], monoid : MonoidWithJoin[A]) extends AnyRef
trait MonoidWithPlus [A] extends AnyRef
Type-class for monoids, where the operation looks like addition.
class MonoidWithPlusIterableExtras [A](i : scala.Iterable[A], monoid : MonoidWithPlus[A]) extends AnyRef
case class Negative [+N](val x : N) extends Bistate[Nothing, N] with scala.Product
trait Ord [A] extends AnyRef
class OrdIterableExtras [A](i : scala.Iterable[A], implicit ord : Ord[A]) extends AnyRef
class PolyHashMap [Key, Value] extends PolyMap[Key, Value] with AnyRef
A HashMap variant that operates over polymorphic element types. WARNING: This is currently sound only if Key and Value are invariant in their parameters, due to compiler issue #285.
trait PolyMap [Key, Value] extends scala.Collection[(Key[Any], Value[Any])]
A Map variant that operates over polymorphic element types.
case class Positive [+P](val x : P) extends Bistate[P, Nothing] with scala.Product
class StringExtras (s : java.lang.String) extends AnyRef
Provides extra methods for Strings.
trait Tristate [+P, +N] extends AnyRef
Object Summary
case object Absent extends Tristate[Nothing, Nothing] with scala.Product
object AsInt extends AnyRef
Converts strings to integers as part of a pattern match, e.g.:
     "42" match {
         case AsInt(x) => println(x + 5)
     }
 
object Implicits extends AnyRef
object IteratorHelp extends AnyRef
Functions which wrap various Java-style generators into Iterators which can be used within scala 'for' comprehensions.
object Negative extends AnyRef
object Numbers extends AnyRef
object Positive extends AnyRef
object StringHelp extends AnyRef
Some convenience functions for string manipulation.
object collection extends AnyRef
object misc extends AnyRef