Package

fm

common

Permalink

package common

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. common
  2. Implicits
  3. ImplicitsBase
  4. OrderingImplicits
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class ConcurrentHashMap[A, B] extends Map[A, B]

    Permalink

    EXPERIMENTAL - A Scala mutable map that wraps a java ConcurrentHashMap and allows null values

  2. final class ConcurrentHashSet[A] extends Set[A]

    Permalink

    EXPERIMENTAL - A Scala mutable Set based on ConcurrentHashMap

  3. sealed abstract class ElementType[+T <: Element] extends AnyRef

    Permalink
  4. trait Enum[A <: EnumEntry] extends AnyRef

    Permalink

    All the cool kids have their own Enumeration implementation, most of which try to do so in the name of implementing exhaustive pattern matching.

    All the cool kids have their own Enumeration implementation, most of which try to do so in the name of implementing exhaustive pattern matching.

    This is yet another one.

    How to use:

    sealed trait DummyEnum
    
    object DummyEnum extends Enum[DummyEnum] {
    
    val values = findValues
    
    case object Hello extends DummyEnum
    case object GoodBye extends DummyEnum
    case object Hi extends DummyEnum
    
    }
    
    
    DummyEnum.values should be(Set(Hello, GoodBye, Hi))
    
    DummyEnum.withName("Hello") should be(Hello)
    A

    The sealed trait

  5. abstract class EnumEntry extends AnyRef

    Permalink

    Base type for an enum entry for Enum

    Base type for an enum entry for Enum

    By default, the entryName method used for serialising and deseralising Enum values uses toString, but feel free to override to fit your needs.

    Mix in the supplied stackable traits to convert the entryName to Snakecase, Uppercase, and Lowercase

  6. trait EventAttachments[T] extends AnyRef

    Permalink
  7. trait EventTargetOrTargets extends Any

    Permalink
  8. sealed abstract class EventType[+T <: Event] extends AnyRef

    Permalink
  9. trait Global extends AnyRef

    Permalink
  10. final class GrowableByteArray extends OutputStream

    Permalink

    Like java.io.ByteArrayOutputStream but exposes the internal Array

  11. final class HTMLDocumentById extends AnyVal

    Permalink

    Used in RichHTMLDocument

  12. sealed trait HTMLElementType[T] extends AnyRef

    Permalink
  13. final class ImmutableArray[+A] extends IndexedSeq[A] with IndexedSeqOptimized[A, ImmutableArray[A]]

    Permalink
  14. final class ImmutableArrayBuilder[A] extends Builder[A, ImmutableArray[A]]

    Permalink
  15. trait Implicits extends ImplicitsBase

    Permalink
  16. trait ImplicitsBase extends OrderingImplicits

    Permalink

    These are the Implicits that are shared between both the JVM and JS Implicits trait/object

    These are the Implicits that are shared between both the JVM and JS Implicits trait/object

    Attributes
    protected
  17. trait IndexedSeqProxy[A] extends AnyRef

    Permalink
  18. trait IntEnum[A <: IntEnumEntry] extends ValueEnum[Int, A]

    Permalink

    Value enum with IntEnumEntry entries

  19. abstract class IntEnumEntry extends ValueEnumEntry[Int]

    Permalink

    Value Enum Entry parent class for Int valued entries

  20. final case class Interner[T <: AnyRef]() extends Product with Serializable

    Permalink

    Javascript Stub that does nothing

  21. trait IterableProxy[A] extends AnyRef

    Permalink
  22. trait JQueryEventAttachments extends AnyRef

    Permalink
  23. final class JavaConcurrentHashSet[A] extends Set[A]

    Permalink

    EXPERIMENTAL - A Java Set based on ConcurrentHashMap

  24. trait LongEnum[A <: LongEnumEntry] extends ValueEnum[Long, A]

    Permalink

    Value enum with LongEnumEntry entries

  25. abstract class LongEnumEntry extends ValueEnumEntry[Long]

    Permalink

    Value Enum Entry parent class for Long valued entries

  26. trait MapProxy[K, V] extends AnyRef

    Permalink
  27. sealed trait NodeType[T] extends AnyRef

    Permalink
  28. trait OrderingImplicits extends AnyRef

    Permalink

    scala.math.Ordering only goes up to Tuple9

  29. final class QueryParams extends Seq[(String, String)] with SeqLike[(String, String), QueryParams]

    Permalink

    Represents immutable query parameters from a query string (e.g.

    Represents immutable query parameters from a query string (e.g. "?foo=bar&asd=qwe").

    This class distinguishes between 3 different types of values for a key:

    • null - "?foo"
    • blank - "?foo="
    • non-blank - "?foo=bar"
  30. final class QueryParamsBuilder extends Builder[(String, String), QueryParams]

    Permalink
  31. trait SeqProxy[A] extends AnyRef

    Permalink

    This is a replacement for the deprecated scala.collection.SeqProxy.

    This is a replacement for the deprecated scala.collection.SeqProxy.

    This doesn't implement Seq[A] like the original SeqProxy but instead just provides an implicit conversion from this trait into a Seq[A] which then gives you all the Seq functionality

  32. trait Serializer[T] extends AnyRef

    Permalink

    This is here so that LazySeq can be split out into it's own project.

    This is here so that LazySeq can be split out into it's own project.

    Some implementations are still in our internal Util package for now until we get a chance to refactor and possible merge with our fm-serializer project.

  33. trait SetProxy[A] extends AnyRef

    Permalink
  34. trait ShortEnum[A <: ShortEnumEntry] extends ValueEnum[Short, A]

    Permalink

    Value enum with ShortEnumEntry entries

  35. abstract class ShortEnumEntry extends ValueEnumEntry[Short]

    Permalink

    Value Enum Entry parent class for Short valued entries

  36. class StacklessException extends Exception

    Permalink
  37. class StacklessThrowable extends Throwable

    Permalink
  38. trait StringEscapeUtilsBase extends AnyRef

    Permalink
    Attributes
    protected
  39. class ThreadLocalHashMap[K, V] extends AnyRef

    Permalink

    Wraps a Scala mutable.HashMap inside of a ThreadLocal and exposes some simple operations.

    Wraps a Scala mutable.HashMap inside of a ThreadLocal and exposes some simple operations.

    The initial use case of this is for caching NumberFormat instances by Locale. This can be accomplished by overriding the initialValue method and just calling the apply() method with the Locale.

    K

    The HashMap Key

    V

    The HashMap Value

  40. trait TraversableProxy[A] extends AnyRef

    Permalink
  41. type URI = java.net.URI

    Permalink

    A type alias for java.net.URI

  42. type URL = java.net.URI

    Permalink

    A type alias for java.net.URL

  43. final class UncloseableInputStream extends FilterInputStream

    Permalink

    Wraps an InputStream and makes the close() method do nothing

  44. final class UncloseableOutputStream extends FilterOutputStream

    Permalink

    Wraps an OutputStream and makes the close() method do nothing

  45. sealed trait UndefNullOr[+A] extends Any

    Permalink
    Annotations
    @RawJSType() @native()
  46. final class UserDataAttributes extends AnyVal

    Permalink

    Helpers for accessing the "user-" attributes

    Helpers for accessing the "user-" attributes

    https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Using_data_attributes

  47. abstract class UserFriendlyException extends Exception

    Permalink
  48. sealed trait ValueEnum[ValueType <: AnyVal, EntryType <: ValueEnumEntry[ValueType]] extends AnyRef

    Permalink
  49. sealed trait ValueEnumEntry[ValueType <: AnyVal] extends AnyRef

    Permalink

    Created by Lloyd on 4/11/16.

    Created by Lloyd on 4/11/16.

    Copyright 2016

Value Members

  1. object ASCIIUtil

    Permalink
  2. object BitUtils

    Permalink
  3. object ElementType

    Permalink
  4. object EnumEntry

    Permalink
  5. object EnumMacros

    Permalink
  6. object EventType

    Permalink
  7. object Global extends Global

    Permalink
  8. object HTMLElementType

    Permalink

    Some type class hackery to solve the same problem as with the NodeType class

  9. object ImmutableArray

    Permalink
  10. object Implicits extends Implicits

    Permalink
  11. object IndexedSeqProxy

    Permalink
  12. object IterableProxy

    Permalink
  13. object JavaConverters extends DecorateAsJava with DecorateAsScala

    Permalink

    This is the same as scala.collection.JavaConverters with a few additional methods.

    This is the same as scala.collection.JavaConverters with a few additional methods.

    Specifically you can now call .asScalaNullToEmpty to have null java collections converted to an empty collection to avoid NullPointerExceptions

  14. object MapProxy

    Permalink
  15. object NodeType

    Permalink

    Some type class hackery to make our $ and $$ methods NOT default to Nothing when trying to do something like $("#some_id").parentNode.

    Some type class hackery to make our $ and $$ methods NOT default to Nothing when trying to do something like $("#some_id").parentNode. You'd think this would work:

    def $[T <: Node](selector: String): T = ??? $("#some_id").parentNode

    But it doesn't:

    Error: "value parentNode is not a member of Nothing"

  16. object Normalize

    Permalink
  17. object OrderingImplicits extends OrderingImplicits

    Permalink
  18. object QueryParams

    Permalink
  19. object SeqProxy

    Permalink
  20. object Serializer

    Permalink

    Implicits that go along with the Serializer trait

  21. object SetProxy

    Permalink
  22. object StringEscapeUtils extends StringEscapeUtilsBase

    Permalink
  23. object TestHelpers

    Permalink
  24. object TraversableProxy

    Permalink
  25. implicit def Tuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]

    Permalink
    Definition Classes
    OrderingImplicits
  26. implicit def Tuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]

    Permalink
    Definition Classes
    OrderingImplicits
  27. implicit def Tuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]

    Permalink
    Definition Classes
    OrderingImplicits
  28. implicit def Tuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]

    Permalink
    Definition Classes
    OrderingImplicits
  29. implicit def Tuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]

    Permalink
    Definition Classes
    OrderingImplicits
  30. implicit def Tuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]

    Permalink
    Definition Classes
    OrderingImplicits
  31. implicit def Tuple16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15], ord16: Ordering[T16]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]

    Permalink
    Definition Classes
    OrderingImplicits
  32. implicit def Tuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15], ord16: Ordering[T16], ord17: Ordering[T17]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]

    Permalink
    Definition Classes
    OrderingImplicits
  33. implicit def Tuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15], ord16: Ordering[T16], ord17: Ordering[T17], ord18: Ordering[T18]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]

    Permalink
    Definition Classes
    OrderingImplicits
  34. implicit def Tuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15], ord16: Ordering[T16], ord17: Ordering[T17], ord18: Ordering[T18], ord19: Ordering[T19]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]

    Permalink
    Definition Classes
    OrderingImplicits
  35. implicit def Tuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit ord1: Ordering[T1], ord2: Ordering[T2], ord3: Ordering[T3], ord4: Ordering[T4], ord5: Ordering[T5], ord6: Ordering[T6], ord7: Ordering[T7], ord8: Ordering[T8], ord9: Ordering[T9], ord10: Ordering[T10], ord11: Ordering[T11], ord12: Ordering[T12], ord13: Ordering[T13], ord14: Ordering[T14], ord15: Ordering[T15], ord16: Ordering[T16], ord17: Ordering[T17], ord18: Ordering[T18], ord19: Ordering[T19], ord20: Ordering[T20]): Ordering[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]

    Permalink
    Definition Classes
    OrderingImplicits
  36. object URI extends Serializable

    Permalink

    Simple wrappers for the java.net.URI constructors

  37. object URL extends Serializable

    Permalink

    Simple wrappers for the java.net.URL constructors

  38. object UncloseableInputStream

    Permalink
  39. object UncloseableOutputStream

    Permalink
  40. object UndefNullOr

    Permalink
  41. object UserFriendlyException extends Serializable

    Permalink
  42. object ValueEnumMacros

    Permalink
  43. implicit def bigDecimalOrdering: Ordering[BigDecimal]

    Permalink
    Definition Classes
    ImplicitsBase
  44. implicit def bigIntegerOrdering: Ordering[BigInteger]

    Permalink
    Definition Classes
    ImplicitsBase
  45. package rich

    Permalink
  46. implicit def toRichAnyRef[A <: AnyRef](ref: A): RichAnyRef[A]

    Permalink
    Definition Classes
    ImplicitsBase
  47. implicit def toRichAtomicInteger(int: AtomicInteger): RichAtomicInteger

    Permalink
    Definition Classes
    ImplicitsBase
  48. implicit def toRichAtomicLong(long: AtomicLong): RichAtomicLong

    Permalink
    Definition Classes
    ImplicitsBase
  49. implicit def toRichBigDecimal(d: BigDecimal): RichBigDecimal

    Permalink
    Definition Classes
    ImplicitsBase
  50. implicit def toRichBigDecimal(d: BigDecimal): RichBigDecimal

    Permalink
    Definition Classes
    ImplicitsBase
  51. implicit def toRichBigInteger(i: BigInt): RichBigInteger

    Permalink
    Definition Classes
    ImplicitsBase
  52. implicit def toRichBigInteger(i: BigInteger): RichBigInteger

    Permalink
    Definition Classes
    ImplicitsBase
  53. implicit def toRichBooleanOption(opt: Option[Boolean]): RichBooleanOption

    Permalink
    Definition Classes
    ImplicitsBase
  54. implicit def toRichCharOption(opt: Option[Char]): RichCharOption

    Permalink
    Definition Classes
    ImplicitsBase
  55. implicit def toRichCharSequence(s: CharSequence): RichCharSequence

    Permalink
    Definition Classes
    ImplicitsBase
  56. implicit def toRichConcurrentMap[K, V](m: ConcurrentMap[K, V]): RichConcurrentMap[K, V]

    Permalink
    Definition Classes
    ImplicitsBase
  57. implicit def toRichDOMList[T](list: DOMList[T]): RichDOMList[T]

    Permalink
    Definition Classes
    Implicits
  58. implicit def toRichDocument(doc: Document): RichDocument

    Permalink
    Definition Classes
    Implicits
  59. implicit def toRichElement(elem: Element): RichElement

    Permalink
    Definition Classes
    Implicits
  60. implicit def toRichElementTraversable(elems: Traversable[Element]): RichElementTraversable

    Permalink
    Definition Classes
    Implicits
  61. implicit def toRichEvent(event: Event): RichEvent

    Permalink
    Definition Classes
    Implicits
  62. implicit def toRichEventTarget(target: EventTarget): RichEventTarget

    Permalink
    Definition Classes
    Implicits
  63. implicit def toRichEventTargetTraversable(target: Traversable[EventTarget]): RichEventTargetTraversable

    Permalink
    Definition Classes
    Implicits
  64. implicit def toRichHTMLDocument(doc: HTMLDocument): RichHTMLDocument

    Permalink
    Definition Classes
    Implicits
  65. implicit def toRichHTMLElement(elem: HTMLElement): RichHTMLElement

    Permalink
    Definition Classes
    Implicits
  66. implicit def toRichHTMLElementTraversable(elems: Traversable[HTMLElement]): RichHTMLElementTraversable

    Permalink
    Definition Classes
    Implicits
  67. implicit def toRichHTMLImageElement(elem: HTMLImageElement): RichHTMLImageElement

    Permalink
    Definition Classes
    Implicits
  68. implicit def toRichIndexedSeq[T](t: IndexedSeq[T]): RichIndexedSeq[T]

    Permalink
    Definition Classes
    ImplicitsBase
  69. implicit def toRichInstant(instant: Instant): RichInstant

    Permalink
    Definition Classes
    ImplicitsBase
  70. implicit def toRichIntOption(opt: Option[Int]): RichIntOption

    Permalink
    Definition Classes
    ImplicitsBase
  71. implicit def toRichJQuery(jquery: JQuery): RichJQuery

    Permalink
    Definition Classes
    Implicits
  72. implicit def toRichLocalDate(date: LocalDate): RichLocalDate

    Permalink
    Definition Classes
    ImplicitsBase
  73. implicit def toRichLongOption(opt: Option[Long]): RichLongOption

    Permalink
    Definition Classes
    ImplicitsBase
  74. implicit def toRichMap[A, B, This <: MapLike[A, B, This] with Map[A, B]](m: MapLike[A, B, This]): RichMap[A, B, This]

    Permalink
    Definition Classes
    ImplicitsBase
  75. implicit def toRichNode[T <: Node](node: T): RichNode[T]

    Permalink
    Definition Classes
    Implicits
  76. implicit def toRichNodeList(list: NodeList): RichNodeList

    Permalink
    Definition Classes
    Implicits
  77. implicit def toRichNodeSelector(selector: NodeSelector): RichNodeSelector

    Permalink
    Definition Classes
    Implicits
  78. implicit def toRichNodeTraversable(elems: Traversable[Node]): RichNodeTraversable

    Permalink
    Definition Classes
    Implicits
  79. implicit def toRichOption[T](opt: Option[T]): RichOption[T]

    Permalink
    Definition Classes
    ImplicitsBase
  80. implicit def toRichPattern(regex: Regex): RichRegex

    Permalink
    Definition Classes
    ImplicitsBase
  81. implicit def toRichPattern(pattern: Pattern): RichPattern

    Permalink
    Definition Classes
    ImplicitsBase
  82. implicit def toRichString(s: String): RichString

    Permalink
    Definition Classes
    ImplicitsBase
  83. implicit def toRichStringOption(opt: Option[String]): RichStringOption

    Permalink
    Definition Classes
    ImplicitsBase
  84. implicit def toRichTraversableOnce[T](t: TraversableOnce[T]): RichTraversableOnce[T]

    Permalink
    Definition Classes
    ImplicitsBase
  85. implicit def toRichURI(uri: URI): RichURI

    Permalink
    Definition Classes
    ImplicitsBase
  86. implicit def toTypeSafeEquals[L](left: L): TypeSafeEquals[L]

    Permalink
    Definition Classes
    ImplicitsBase

Inherited from Implicits

Inherited from ImplicitsBase

Inherited from OrderingImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped