Package

japgolly.microlibs

utils

Permalink

package utils

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

Type Members

  1. final class BiMap[A, B] extends AnyRef

    Permalink

    Bidirectional maps between values of two key types.

    Bidirectional maps between values of two key types.

    Since

    31/05/2013

  2. trait EqualsByRef extends AnyRef

    Permalink

    Implements .equals using reference equality

  3. trait Platform extends AnyRef

    Permalink
  4. final class Ref[A <: AnyRef] extends AnyRef

    Permalink

    Wraps a value such that reference equality holds.

    Wraps a value such that reference equality holds.

    Allows values to be used as map-keys, in sets, etc with uniqueness being by reference.

  5. trait SafeBool[B <: SafeBool[B]] extends Product with Serializable

    Permalink

    Boolean isomorphism.

    Boolean isomorphism.

    Mix into the base type and override this.companion there.

    Examples:

    sealed trait Enabled extends SafeBool[Enabled] {
      override final def companion = Enabled
    }
    
    case object Enabled extends Enabled with SafeBool.Object[Enabled] {
      override def positive = Enabled
      override def negative = Disabled
    }
    
    case object Disabled extends Enabled
    sealed abstract class Permission extends SafeBool.WithBoolOps[Permission] {
      override final def companion = Permission
    }
    
    case object Allow extends Permission
    case object Deny extends Permission
    
    object Permission extends SafeBool.Object[Permission] {
      override def positive = Allow
      override def negative = Deny
    }

Value Members

  1. object AsciiTable

    Permalink

    Taken from https://github.com/dsl-platform/101-dsl-examples/blob/master/001-periodic-table-of-elements/scala/src/main/scala/com/dslplatform/examples/AsciiTable.scala

  2. object BiMap

    Permalink
  3. object ConciseIntSetFormat

    Permalink

    Format a set of ints into a concise textual description.

    Format a set of ints into a concise textual description.

    Example: "2, 5, 7-14, 20"

  4. object EqualsByRef

    Permalink
  5. object Memo

    Permalink
  6. val Platform: Platform

    Permalink
  7. object PlatformJVM extends Platform

    Permalink
  8. object Ref

    Permalink
  9. object SafeBool extends Serializable

    Permalink
  10. object StaticLookupFn

    Permalink

    Fast, efficient lookup functions for static data.

    Fast, efficient lookup functions for static data.

    Creation verifies key uniqueness and throws runtime exceptions on failure.

  11. object Utils

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped