o

gitbucket.core.util

SyntaxSugars

object SyntaxSugars

Provides control facilities.

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

Type Members

  1. implicit class HeadValueAccessibleMap extends AnyRef

    Provides easier and explicit ways to access to a head value of Map[String, Seq[String]].

    Provides easier and explicit ways to access to a head value of Map[String, Seq[String]]. This is intended to use in implementations of scalatra-forms's Constraint or ValueType.

Value Members

  1. def defining[A, B](value: A)(f: (A) ⇒ B): B
  2. def ignore[T](f: ⇒ Unit): Unit
  3. def using[T](git1: Git, git2: Git)(f: (Git, Git) ⇒ T): T
  4. def using[T](git: Git)(f: (Git) ⇒ T): T
  5. def using[A <: AnyRef { def close(): Unit }, B <: AnyRef { def close(): Unit }, C](resource1: A, resource2: B)(f: (A, B) ⇒ C): C
  6. def using[A <: AnyRef { def close(): Unit }, B](resource: A)(f: (A) ⇒ B): B
  7. object ~