Packages

object Helpers

Various helper functions used in the rest of the code.

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

Type Members

  1. implicit final class AnyOps[A] extends AnyRef
    Annotations
    @SuppressWarnings()
  2. implicit final class AnyOptionOps[A] extends AnyRef
    Annotations
    @SuppressWarnings()
  3. implicit final class BigDecimalOps extends AnyRef
    Annotations
    @SuppressWarnings()
  4. implicit final class BigIntOps extends AnyRef
    Annotations
    @SuppressWarnings()
  5. implicit final class BooleanOps extends AnyRef
    Annotations
    @SuppressWarnings()
  6. implicit final class StringOps extends AnyRef
    Annotations
    @SuppressWarnings()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MaxExpandRounds: Int

    The maximum number of rounds to consider during schema expansion.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def contractInt(current: Int, limit: Int, exclusive: Boolean, force: Boolean, round: Int): (Option[Int], Boolean)

    Contracts an integer used for a maxium value to meet a given limit.

    Contracts an integer used for a maxium value to meet a given limit.

    current

    the current maximum value

    limit

    the limit from the other schema

    exclusive

    whether the current limit is exclusive or not

    round

    the current round of expansion

    returns

    the new maximum value and whether it is exclusive

    Annotations
    @SuppressWarnings()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def expandInt(current: BigInt, limit: BigInt, exclusive: Boolean, force: Boolean = false, round: Int): (Option[BigInt], Boolean)

    Expands an integer used for a minimum value to meet a given limit.

    Expands an integer used for a minimum value to meet a given limit.

    current

    the current minimum value

    limit

    the limit from the other schema

    exclusive

    whether the current limit is exclusive or not

    round

    the current round of expansion

    returns

    the new minimum value and whether it is exclusive

  11. def factorize(x: Int): List[Int]

    Produce a list of all prime factors of an integer.

    Produce a list of all prime factors of an integer.

    Annotations
    @SuppressWarnings()
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def findCommonPrefix(str1: Option[String], str2: Option[String]): Option[String]
  14. def findCommonPrefix(str1: String, str2: String): String

    Find a possible common prefix of two strings.

    Find a possible common prefix of two strings.

    Annotations
    @SuppressWarnings()
  15. def gcd(a: BigDecimal, b: BigDecimal): BigDecimal

    Find the greatest common divisor of two decimals.

    Find the greatest common divisor of two decimals.

    Annotations
    @tailrec() @SuppressWarnings()
  16. def gcd(a: BigInt, b: BigInt): BigInt

    Find the greatest common divisor of two integers.

    Find the greatest common divisor of two integers.

    Annotations
    @tailrec() @SuppressWarnings()
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def intersectOrNone[A](first: Option[Set[A]], second: Option[Set[A]]): Option[Set[A]]

    Find the intersection of two optional sets or None if neither set is specified.

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isMaxCoveredBy[A](value1: Option[A], exclusive1: Boolean, value2: Option[A], exclusive2: Boolean)(implicit arg0: Order[A]): Boolean

    Determine if one maximum value covers the values of another, considering whether each maximum is exclusive or not.

    Determine if one maximum value covers the values of another, considering whether each maximum is exclusive or not.

    value1

    the first maximum value

    exclusive1

    whether the first maximum value is exclusive

    value2

    the second maximum value

    exclusive2

    whether the second maximum value is exclusive

    returns

    true if the second value covers the first, false otherwise

    Annotations
    @SuppressWarnings()
  22. def isMinCoveredBy[A](value1: Option[A], exclusive1: Boolean, value2: Option[A], exclusive2: Boolean)(implicit arg0: Order[A]): Boolean

    Determine if one minimum values the values of another, considering whether each minimum is exclusive or not.

    Determine if one minimum values the values of another, considering whether each minimum is exclusive or not.

    value1

    the first minimum value

    exclusive1

    whether the first minimum value is exclusive

    value2

    the second minimum value

    exclusive2

    whether the second minimum value is exclusive

    returns

    true if the second value covers the first, false otherwise

    Annotations
    @SuppressWarnings()
  23. def lcm(a: BigDecimal, b: BigDecimal): BigDecimal

    Find the lowest common mu,tiple of two decimals.

  24. def lcm(a: BigInt, b: BigInt): BigInt

    Find the lowest common mu,tiple of two integers.

  25. def maxOrNone[A](first: Option[A], second: Option[A])(implicit arg0: Order[A]): Option[A]

    Find the maximum of two values or None if neither is specified.

  26. def maybeContractInt(current: Option[Int], limit: Option[Int], exclusive: Boolean, force: Boolean = false, round: Int = 1): (Option[Int], Boolean)

    A wrapper for contractInt that works with scala.Option values.

    A wrapper for contractInt that works with scala.Option values.

    Annotations
    @SuppressWarnings()
  27. def maybeExpandInt(current: Option[BigInt], limit: Option[BigInt], exclusive: Boolean, force: Boolean = false, round: Int = 1): (Option[BigInt], Boolean)

    A wrapper for expandInt that works with scala.Option values.

    A wrapper for expandInt that works with scala.Option values.

    Annotations
    @SuppressWarnings()
  28. def minOrNone[A](first: Option[A], second: Option[A])(implicit arg0: Order[A]): Option[A]

    Find the minimum of two values or None if neither is specified.

  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def pathToInexactPointer(path: String): JsonPointer
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def unionOrNone[A](first: Option[Set[A]], second: Option[Set[A]]): Option[Set[A]]

    Find the union of two optional sets or None if neither set is specified.

  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped