scalax.data

trait Bistate

[source: scalax/data/Bistate.scala]

trait Bistate[+P, +N]
extends Tristate[P, N]
Direct Known Subclasses:
Positive, Negative

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

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

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

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


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