Packages

c

gitbucket.core.util.SyntaxSugars

HeadValueAccessibleMap

implicit class HeadValueAccessibleMap extends AnyRef

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.

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

Instance Constructors

  1. new HeadValueAccessibleMap(map: Map[String, Seq[String]])

Value Members

  1. def optionValue(key: String): Option[String]
  2. def value(key: String): String
  3. def values(key: String): Seq[String]