scalax.data

trait Tristate

[source: scalax/data/Tristate.scala]

trait Tristate[+P, +N]
extends AnyRef
Direct Known Subclasses:
Bistate, Absent

Method Summary
abstract def negFlatmap [A >: P, B >: N](f : (N) => Bistate[A, B]) : Tristate[A, B]
abstract def negMap [A](f : (N) => A) : Tristate[P, A]
abstract def negValue : scala.Option[N]
abstract def posFlatmap [A >: P, B >: N](f : (P) => Bistate[A, B]) : Tristate[A, B]
abstract def posMap [A](f : (P) => A) : Tristate[A, N]
abstract def posValue : scala.Option[P]
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def posValue : scala.Option[P]

abstract def negValue : scala.Option[N]

abstract def posMap[A](f : (P) => A) : Tristate[A, N]

abstract def negMap[A](f : (N) => A) : Tristate[P, A]

abstract def posFlatmap[A >: P, B >: N](f : (P) => Bistate[A, B]) : Tristate[A, B]

abstract def negFlatmap[A >: P, B >: N](f : (N) => Bistate[A, B]) : Tristate[A, B]


Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.