Package

fm

common

Permalink

package common

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. common
  2. Implicits
  3. JVMImplicitsBase
  4. ImplicitsBase
  5. Implicits
  6. RichCrossImplicitsBase
  7. OrderingImplicits
  8. PackageBase
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BaseEncoding extends AnyRef

    Permalink
  2. abstract class Bootstring extends AnyRef

    Permalink

    Bootstring encoding as defined in From: https://tools.ietf.org/html/rfc3492

  3. class BoundedInputStream extends org.apache.commons.io.input.BoundedInputStream

    Permalink
  4. final class ByteArrayImageInputStream extends ImageInputStreamImpl

    Permalink

    An ImageInputStream implementation that reads from an Array[Byte]

  5. final class ByteArrayImageOutputStream extends ImageOutputStreamImpl

    Permalink

    An ImageOutputStream implementation that writes to a Array[Byte]

  6. class ByteArrayOutputStream extends org.apache.commons.io.output.ByteArrayOutputStream

    Permalink
  7. final class ByteBufferInputStream extends InputStream

    Permalink

    A Simple InputStream wrapper around a ByteBuffer

  8. final class ByteBufferOutputStream extends OutputStream

    Permalink

    A Simple OutputStream wrapper around a ByteBuffer

  9. trait ByteEnum[A <: ByteEnumEntry] extends ValueEnum[Byte, A]

    Permalink

    Value enum with ByteEnumEntry entries

    Value enum with ByteEnumEntry entries

    This is similar to ValueEnum, but different in that values must be literal values. This restraint allows us to enforce uniqueness at compile time.

    Note that uniqueness is only guaranteed if you do not do any runtime string manipulation on values.

  10. abstract class ByteEnumEntry extends ValueEnumEntry[Byte]

    Permalink

    Value Enum Entry parent class for Byte valued entries

  11. sealed class Cache[K, V] extends AnyRef

    Permalink

    Wrapper around com.google.common.cache.Cache

  12. trait CharEnum[A <: CharEnumEntry] extends ValueEnum[Char, A]

    Permalink

    Value enum with CharEnumEntry entries

    Value enum with CharEnumEntry entries

    This is similar to ValueEnum, but different in that values must be literal values. This restraint allows us to enforce uniqueness at compile time.

    Note that uniqueness is only guaranteed if you do not do any runtime string manipulation on values.

  13. abstract class CharEnumEntry extends ValueEnumEntry[Char]

    Permalink

    Value Enum Entry parent class for Char valued entries

  14. trait CodePointReader extends AnyRef

    Permalink

    Similar to Reader except for reading Unicode Code Points instead of Java Characters.

    Similar to Reader except for reading Unicode Code Points instead of Java Characters.

    See java.io.Reader for API descriptions. The behavior of this trait should mimic java.io.Reader.

  15. final class ColorPatternLayoutEncoder extends PatternLayoutEncoder

    Permalink

    A simple Logback extension to the PatternLayoutEncoder that adds simple coloring for WARN and ERROR levels

  16. final class ConcurrentHashMap[A, B] extends ConcurrentHashMapBase[A, B]

    Permalink

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

  17. final class ConcurrentHashSet[A] extends ConcurrentHashSetBase[A]

    Permalink

    EXPERIMENTAL - A Scala mutable Set based on ConcurrentHashMap

  18. final class Crypto extends Logging

    Permalink

    A Simple Crypto Class

    A Simple Crypto Class

    NOTE: Use at your own risk. We make no claim that any of this Crypto code is correct.

  19. final case class DummyResource[A](a: A) extends Resource[A] with Product with Serializable

    Permalink

    A Dummy Resource that does nothing

  20. final case class EmailSender(user: String, pass: String, host: String) extends Product with Serializable

    Permalink
  21. 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.

    Example:

    scala> sealed trait DummyEnum extends EnumEntry
    defined trait DummyEnum
    
    scala> object DummyEnum extends Enum[DummyEnum] {
         |   val values = findValues
         |   case object Hello   extends DummyEnum
         |   case object GoodBye extends DummyEnum
         |   case object Hi      extends DummyEnum
         | }
    
    scala> DummyEnum.withNameOption("Hello")
    res0: Option[DummyEnum] = Some(Hello)
    
    scala> DummyEnum.withNameOption("Nope")
    res1: Option[DummyEnum] = None
    A

    The sealed trait

  22. trait 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 deserialising 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, Lowercase etc.

  23. final class FlatMappedResource[A, B] extends Resource[B]

    Permalink

    For Resource.flatMap

  24. final class GrowableByteArray extends OutputStream

    Permalink

    Like java.io.ByteArrayOutputStream but exposes the internal Array

  25. final class IP extends AnyVal with Ordered[IP] with IPOrSubnet

    Permalink

    Simple Wrapper around an IPv4 Address

  26. sealed trait IPMap[T] extends AnyRef

    Permalink
  27. final class IPMapImmutable[T] extends IPMap[T]

    Permalink
  28. final class IPMapMutable[T] extends IPMap[T] with IPMapMutableBase[T]

    Permalink
  29. trait IPOrSubnet extends Any

    Permalink
  30. sealed trait IPSet extends AnyRef

    Permalink
  31. final class IPSetImmutable extends IPSet

    Permalink
  32. final class IPSetMutable extends IPSet with IPSetMutableBase

    Permalink
  33. final case class IPSubnet(ip: IP, bits: Int) extends IPOrSubnet with Product with Serializable

    Permalink
  34. final case class IPSubnets(subnets: Vector[IPSubnet]) extends Product with Serializable

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

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

    Permalink
  37. final case class ImmutableDate(millis: Long) extends Ordered[ImmutableDate] with Product with Serializable

    Permalink

    Represents an immutable java.util.Date

    Represents an immutable java.util.Date

    This provides an immutable milliseconds since epoch representation of a date when it might be a mismatch to use the newer java.time.Instance (which represents things as nanoseconds since or before epoch)

    NOTE: NOT extending AnyVal so that nulls still work (just like with java.util.Date)

  38. trait Implicits extends JVMImplicitsBase

    Permalink
  39. trait ImplicitsBase extends OrderingImplicits with RichCrossImplicitsBase with typesafeequals.Implicits

    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
  40. trait IndexedSeqProxy[A] extends AnyRef

    Permalink
  41. final case class InputStreamResource(resource: Resource[InputStream], fileName: String = "", autoDecompress: Boolean = true, autoBuffer: Boolean = true) extends Resource[InputStream] with Logging with Product with Serializable

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

    Permalink

    Value enum with IntEnumEntry entries

  43. abstract class IntEnumEntry extends ValueEnumEntry[Int]

    Permalink

    Value Enum Entry parent class for Int valued entries

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

    Permalink

    Wraper around Guava's Interner class.

    Wraper around Guava's Interner class.

    Originally I had a generic Intern object that had a map of Class[_] to Guava Interner but that relies on a correct implementation of equals which can make it error prone. For Example an Option[Char] can == an Option[Int]. So instead you have to be explicit about creating an Interner.

  45. abstract class InvalidCharFilterReader extends FilterReader with Logging

    Permalink
  46. final case class InvalidIPException(msg: String) extends IllegalArgumentException with Product with Serializable

    Permalink
  47. type IterableOnce[+A] = TraversableOnce[A]

    Permalink
    Definition Classes
    PackageBase
  48. trait IterableProxy[A] extends AnyRef

    Permalink
  49. trait JVMImplicitsBase extends ImplicitsBase

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

    Permalink

    EXPERIMENTAL - A Java Set based on ConcurrentHashMap

  51. class LineIterator extends org.apache.commons.io.LineIterator

    Permalink
  52. final class LoadingCache[K, V] extends Cache[K, V]

    Permalink

    Wrapper around com.google.common.cache.LoadingCache

  53. trait Logger extends AnyRef

    Permalink
  54. trait Logging extends AnyRef

    Permalink

    This can be extended for basic logging functionality

  55. final case class LoggingCaptureConfig(logger: org.slf4j.Logger, pattern: String, file: File, overwrite: Boolean) extends Product with Serializable

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

    Permalink

    Value enum with LongEnumEntry entries

  57. abstract class LongEnumEntry extends ValueEnumEntry[Long]

    Permalink

    Value Enum Entry parent class for Long valued entries

  58. trait MapProxy[K, V] extends AnyRef

    Permalink
  59. final class MappedResource[A, B] extends Resource[B]

    Permalink

    For Resource.map

  60. final class MessageCrypto extends AnyRef

    Permalink

    Compatible with the Rails MessageEncryptor using 'aes-256-cbc' and MessageVerifier using 'sha1' when working with *String* values.

    Compatible with the Rails MessageEncryptor using 'aes-256-cbc' and MessageVerifier using 'sha1' when working with *String* values.

    Also compatible with the custom MessageCrypto which marshalls values as JSON instead of using the ruby Marshal.dump and Marshal.load. Use json=true to dump using JSON.

    MessageEncryptor uses Marshal.dump and Marshal.load on whatever values you are trying to encrypt/sign. A subset of Marshal.dump and Marshal.load have been implemented to support String values.

    NOTE: This is a legacy class that was created when we switched from Rails to Scala. It is still used in a few places but probably needs to be refactored to remove the old Ruby marshalling stuff.

  61. final class MultiReadOnlySeekableByteChannel extends SeekableByteChannel

    Permalink

    Takes multiple SeekableByteChannel instances and turns them into a single virtual one.

    Takes multiple SeekableByteChannel instances and turns them into a single virtual one.

    This is used for reading multi-part 7 Zip archives via commons-compress where we just need to concatenate all the parts of the 7 Zip archive into a single SeekableByteChannel which can then be used with the commons-compress SevenZFile class.

  62. final class MultiUseResource[+A <: ReflectiveCloseable] extends Resource[A]

    Permalink

    A Resource that can be used multiple times (e.g.

    A Resource that can be used multiple times (e.g. opening an InputStream or Reader for a File)

  63. trait OptionCacheBase extends AnyRef

    Permalink
    Attributes
    protected
  64. trait OrderingImplicits extends AnyRef

    Permalink

    scala.math.Ordering only goes up to Tuple9

  65. final case class OutputStreamResource(resource: Resource[OutputStream], fileName: String = "", autoCompress: Boolean = true, compressionLevel: Int = Deflater.BEST_SPEED, buffered: Boolean = true, internalArchiveFileName: Option[String] = None) extends Resource[OutputStream] with Product with Serializable

    Permalink
  66. trait PackageBase extends AnyRef

    Permalink
  67. final class PriorityTaskRunner extends TaskRunnerBase

    Permalink

    Similar to a TaskRunner but allows you to pass in a priority value such that lower priority tasks will execute before higher priority tasks.

  68. final case class ProgressStats(dotPer: Long = 1000L, statsPer: Long = 25000L, logFinalStats: Boolean = false) extends Logging with Product with Serializable

    Permalink
  69. final class QueryParams extends QueryParamsBase

    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"
  70. final class QueryParamsBuilder extends QueryParamsBuilderBase

    Permalink
  71. final class ReaderCodePointReader extends CodePointReader

    Permalink
  72. type ReflectiveCloseable = AnyRef { def close(): Any }

    Permalink

    Structural type for close()able resources

  73. abstract class ReloadableFileResource[T] extends ReloadableResource[T]

    Permalink
  74. abstract class ReloadableResource[T] extends Logging

    Permalink
  75. trait Resource[+A] extends AnyRef

    Permalink

    An Automatically Managed Resource that can either be used once (e.g.

    An Automatically Managed Resource that can either be used once (e.g. reading an input stream) or multiple times (e.g. reading a file).

    The purpose of Resource is two-fold: 1 - To automatically handle closing a resource after it is done being used. 2 - To abstract the fact that some resources can be read multiple times while other resources are one-time use.

  76. trait RichCrossImplicitsBase extends Any

    Permalink
  77. final class ScheduledFuture[T] extends Future[T] with ScheduledTask

    Permalink
  78. trait ScheduledTask extends AnyRef

    Permalink
  79. final case class ScheduledTaskRunner(name: String, executor: ScheduledThreadPoolExecutor) extends TaskRunnerNonPriority with Product with Serializable

    Permalink
    Annotations
    @implicitNotFound( ... )
  80. 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

  81. 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.

  82. trait SetProxy[A] extends AnyRef

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

    Permalink

    Value enum with ShortEnumEntry entries

  84. abstract class ShortEnumEntry extends ValueEnumEntry[Short]

    Permalink

    Value Enum Entry parent class for Short valued entries

  85. final class SingleUseResource[+A <: ReflectiveCloseable] extends Resource[A]

    Permalink

    A Resource that can only be used once (e.g.

    A Resource that can only be used once (e.g. reading an InputStream)

  86. class StacklessException extends Exception

    Permalink
  87. class StacklessThrowable extends Throwable

    Permalink
  88. class StringBuilderWriter extends org.apache.commons.io.output.StringBuilderWriter

    Permalink
  89. trait StringEnum[A <: StringEnumEntry] extends ValueEnum[String, A]

    Permalink

    Value enum with StringEnumEntry entries

    Value enum with StringEnumEntry entries

    This is similar to Enum, but different in that values must be literal values. This restraint allows us to enforce uniqueness at compile time.

    Note that uniqueness is only guaranteed if you do not do any runtime string manipulation on values.

  90. abstract class StringEnumEntry extends ValueEnumEntry[String]

    Permalink

    Value Enum Entry parent class for String valued entries

    Value Enum Entry parent class for String valued entries

    This is similar to Enum, but different in that values must be literal values. This restraint allows us to enforce uniqueness at compile time.

    Note that uniqueness is only guaranteed if you do not do any runtime string manipulation on values.

  91. trait StringEscapeUtilsBase extends AnyRef

    Permalink
    Attributes
    protected
  92. final class TaskRunner extends TaskRunnerNonPriority

    Permalink
  93. abstract class TaskRunnerBase extends Closeable with Logging

    Permalink
  94. final class TaskRunnerBuilder extends AnyRef

    Permalink
  95. abstract class TaskRunnerNonPriority extends TaskRunnerBase

    Permalink
  96. class TeeInputStream extends org.apache.commons.io.input.TeeInputStream

    Permalink
  97. class TeeOutputStream extends org.apache.commons.io.output.TeeOutputStream

    Permalink
  98. 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

  99. trait TraversableProxy[A] extends AnyRef

    Permalink
  100. type URI = java.net.URI

    Permalink

    A type alias for java.net.URI

  101. type URL = java.net.URL

    Permalink

    A type alias for java.net.URL

  102. final case class UUID(timeAndCounter: Long, nodeIdAndRandom: Long) extends Ordered[UUID] with Product with Serializable

    Permalink

    A custom UUID implementation (not to be confused with java.util.UUID or RFC4122 implementations) that allows natural sorting by timestamp based on the string or numeric representation.

    A custom UUID implementation (not to be confused with java.util.UUID or RFC4122 implementations) that allows natural sorting by timestamp based on the string or numeric representation.

    The UUID consists of 16 bytes (128 bits) broken up into 2 longs:

    timeAndCounter: {6-Byte Millis since epoch}{2-Byte Counter} nodeIdAndRandom: {2-Byte Node ID}{6-Byte Random Number}

    The "pretty" hex encoded representation is: {6-byte millis since epoch}-{2-byte-counter}-{2-byte-optional-node-id}-{4-byte-random}

    Example: 015247f01787-9740-85e0-3e9672a8dfa2

  103. abstract class UUIDFactory[T <: UUIDWrapper[T]] extends AnyRef

    Permalink

    This goes along with the UUIDWrapper

    This goes along with the UUIDWrapper

    See documentation of UUIDWrapper for the intended usage of this class

  104. trait UUIDWrapper[T <: UUIDWrapper[T]] extends Ordered[T]

    Permalink

    An UUID wrapper class that allow you to define custom types that represent an UUID.

    An UUID wrapper class that allow you to define custom types that represent an UUID.

    The intended usage pattern is something like:

    object UserId extends UUIDFactory[UserId](new UserId(_))
    final class UserId(val uuid: UUID) extends UUIDWrapper[UserId]

    This allows you to then reference UserId instead of UUID and to have methods that take a strongly typed UserId instead of an UUID (which could represent something other than a User id)

    Note: The class that extends this should also extends AnyVal so that serialization will just pass through to the underlying uuid

  105. final class UncloseableInputStream extends FilterInputStream

    Permalink

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

  106. final class UncloseableOutputStream extends FilterOutputStream

    Permalink

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

  107. trait UnicodeNormalizationBase extends AnyRef

    Permalink
    Attributes
    protected
  108. abstract class UserFriendlyException extends Exception

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

    Permalink

    Base trait for a Value-based enums.

    Base trait for a Value-based enums.

    Example:

    sealed abstract class Greeting(val value: Int) extends IntEnumEntry
    
    object Greeting extends IntEnum[Greeting] {
      val values = findValues
      case object Hello   extends Greeting(1)
      case object GoodBye extends Greeting(2)
      case object Hi      extends Greeting(3)
      case object Bye     extends Greeting(4)
    }
    
    Greeting.withValueOpt(1) == Some(GreetingHello)
    
    Greeting.withValueOpt(6) ==  None
  110. sealed trait ValueEnumEntry[ValueType] extends AnyRef

    Permalink

    Created by Lloyd on 4/11/16.

    Created by Lloyd on 4/11/16.

    Copyright 2016

  111. final class WeakObjectPool[T] extends AnyRef

    Permalink

    DEPRECATED - Should use fm.common.Intern instead

    DEPRECATED - Should use fm.common.Intern instead

    An object pool based on a WeakHashMap (using weak key AND weak values) that can be used to return canonical versions of objects. Once all references to the object go away the WeakHashMap entry will be GC'd.

    This is similar to how String.intern() works (although probably not as efficient)

    Annotations
    @Deprecated

Abstract Value Members

  1. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. object ASCIIUtil

    Permalink
  5. object ArrayUtils extends Logging

    Permalink
  6. object Base16 extends BaseEncoding

    Permalink

    Hex (Base16) encoding/decoding

    Hex (Base16) encoding/decoding

    Note: encodes to lowercase by default but will decode both lower/upper case Hex.

  7. object Base32 extends BaseEncoding

    Permalink

    Base32 encoding/decoding

    Base32 encoding/decoding

    Note: encodes to lowercase by default but will decode both lower/upper case Base32.

  8. object Base32Hex extends BaseEncoding

    Permalink

    Base32Hex encoding/decoding

    Base32Hex encoding/decoding

    Note: encodes to lowercase by default but will decode both lower/upper case Base32.

  9. object Base58 extends BaseEncoding

    Permalink

    Base58 is a way to encode Bitcoin addresses (or arbitrary data) as alphanumeric strings.

    Base58 is a way to encode Bitcoin addresses (or arbitrary data) as alphanumeric strings.

    Note that this is not the same base58 as used by Flickr, which you may find referenced around the Internet.

    You may want to consider working with PrefixedChecksummedBytes instead, which adds support for testing the prefix and suffix bytes commonly found in addresses.

    Satoshi explains: why base-58 instead of standard base-64 encoding?

    • Don't want 0OIl characters that look the same in some fonts and could be used to create visually identical looking account numbers.
    • A string with non-alphanumeric characters is not as easily accepted as an account number.
    • E-mail usually won't line-break if there's no punctuation to break at.
    • Doubleclicking selects the whole number as one word if it's all alphanumeric.

    However, note that the encoding/decoding runs in O(n²) time, so it is not useful for large data.

    The basic idea of the encoding is to treat the data bytes as a large number represented using base-256 digits, convert the number to be represented using base-58 digits, preserve the exact number of leading zeros (which are otherwise lost during the mathematical operations on the numbers), and finally represent the resulting base-58 digits as alphanumeric ASCII characters.

  10. object Base64 extends BaseEncoding

    Permalink

    Base64 encoding/decoding methods.

    Base64 encoding/decoding methods.

    Note: This will decode normal Base64 and the modified Base64 for URL variant. If you don't want this behavior then use Base64Strict or Base64URL directly.

  11. object Base64Strict extends BaseEncoding

    Permalink
  12. object Base64URL extends BaseEncoding

    Permalink
  13. object BaseEncoding

    Permalink
  14. object BitUtils

    Permalink
  15. object ByteBufferInputStream

    Permalink
  16. object ByteBufferUtil

    Permalink
  17. object ByteEnum

    Permalink
  18. object Cache

    Permalink

    Wrapper for Google Guava's Cache classes

  19. object CharEnum

    Permalink
  20. object CharsetUtil

    Permalink
  21. object ClassUtil extends Logging

    Permalink

    This contains utility methods for scanning Classes or Files on the classpath.

    This contains utility methods for scanning Classes or Files on the classpath.

    Originally we used the classpath scanning functionality in the Spring Framework and then later switched to the Reflections library (https://code.google.com/p/reflections/) to avoid the dependency on Spring. At some point we ran into issues with the Reflections library not properly detecting classes so I ended up writing this as a replacement.

  22. object CodePointReader

    Permalink
  23. object Crypto

    Permalink

    NOTE: Use at your own risk.

    NOTE: Use at your own risk. We make no claim that any of this Crypto code is correct.

  24. object DigestUtils

    Permalink

    MD5/SHA1/SHA256 Helpers

  25. object EmailSender extends Serializable

    Permalink
  26. object Enum

    Permalink
  27. object EnumContextUtils extends EnumContextUtilsBase

    Permalink
  28. object EnumEntry

    Permalink
  29. object EnumMacros

    Permalink
  30. object FileOutputStreamResource

    Permalink
  31. object FileUtil extends Logging

    Permalink
  32. object Hex

    Permalink

    Deprecated.

    Deprecated. Prefer the fm.common.Base16 object

    Annotations
    @Deprecated
  33. object IOUtils

    Permalink

    Collection of IO Utilities.

    Collection of IO Utilities. Some implemented via Apache Commons IO

  34. object IP

    Permalink

    Helpers for parsing and working with IPv4 addresses

  35. object IPMap

    Permalink
  36. object IPMapImmutable

    Permalink
  37. object IPMapMutable

    Permalink
  38. object IPOrSubnet

    Permalink
  39. object IPSet

    Permalink
  40. object IPSetImmutable

    Permalink
  41. object IPSetMutable

    Permalink
  42. object IPSubnet extends Serializable

    Permalink
  43. object IPSubnets extends Serializable

    Permalink
  44. object ImmutableArray

    Permalink
  45. object ImmutableDate extends Serializable

    Permalink
  46. object Implicits extends Implicits

    Permalink
  47. object IndexedSeqProxy

    Permalink
  48. object InputStreamResource extends Serializable

    Permalink
  49. object IntEnum

    Permalink
  50. object IntegerCacheUtil

    Permalink

    A helper for determining the java.lang.Integer.IntegerCache.high value (controlled by -XX:AutoBoxCacheMax)

    A helper for determining the java.lang.Integer.IntegerCache.high value (controlled by -XX:AutoBoxCacheMax)

    Originally from fm-serializer

    Attributes
    protected
  51. object IterableProxy

    Permalink
  52. object JavaConverters extends JavaConvertersBase

    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

  53. object LoadingCache

    Permalink
  54. object Logger

    Permalink
  55. object Logging

    Permalink

    This has SLF4J/Logback Helpers that depend on SLF4j/Logback

    This has SLF4J/Logback Helpers that depend on SLF4j/Logback

    TODO: Clean this up!!

  56. object LongEnum

    Permalink
  57. object MapProxy

    Permalink
  58. object MessageCrypto

    Permalink
  59. object MultiReadOnlySeekableByteChannel

    Permalink
  60. object MultiUseResource

    Permalink
  61. object Normalize

    Permalink
  62. object OptionCache extends OptionCacheBase

    Permalink

    Provides cached instances of Boolean/Char/Byte/Int/Long wrapped in Scala's Option type to avoid boxing and allocations for commonly used values.

    Provides cached instances of Boolean/Char/Byte/Int/Long wrapped in Scala's Option type to avoid boxing and allocations for commonly used values. Similar to how the JDK Integer cache works

    Caching behavior per type:

    Boolean - true/false cached Byte - All bytes cached (0 to 255) Char - All ASCII chars cached Int - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties Long - Defaults to -XX:AutoBoxCacheMax range, can override with fm.common.IntegerCache.low/fm.common.IntegerCache.high properties

  63. object OrderingImplicits extends OrderingImplicits

    Permalink
  64. object OutputStreamResource extends Serializable

    Permalink
  65. object PackageBase

    Permalink
  66. object PriorityTaskRunner extends Logging

    Permalink
  67. object ProgressStats extends Serializable

    Permalink
  68. object Punycode extends Bootstring

    Permalink

    Punycode as defined in From: https://tools.ietf.org/html/rfc3492

  69. object QueryParams

    Permalink
  70. object ReaderCodePointReader

    Permalink
  71. object ReloadableResource

    Permalink
  72. object Resource

    Permalink
  73. object ScheduledFuture

    Permalink
  74. object ScheduledTask

    Permalink
  75. object ScheduledTaskRunner extends Serializable

    Permalink
  76. object SeqProxy

    Permalink
  77. object Serializer

    Permalink

    Implicits that go along with the Serializer trait

  78. object Service

    Permalink
  79. object SetProxy

    Permalink
  80. object SevenZipUtils

    Permalink
  81. object ShortEnum

    Permalink
  82. object SingleUseResource

    Permalink
  83. object Snappy

    Permalink
  84. object StringEnum

    Permalink
  85. object StringEscapeUtils extends StringEscapeUtilsBase

    Permalink
  86. object TaskRunner extends Logging

    Permalink
  87. object TaskRunnerBase extends Logging

    Permalink
  88. object TaskRunnerBuilder

    Permalink
  89. object TraversableProxy

    Permalink
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. object URI extends Serializable

    Permalink

    Simple wrappers for the java.net.URI constructors

  102. object URL extends Serializable

    Permalink

    Simple wrappers for the java.net.URL constructors

  103. object UTF_8_BOM extends Charset

    Permalink

    This is a marker Charset that is used to write out UTF-8 BOM encoding in OutputStreamResource

    This is a marker Charset that is used to write out UTF-8 BOM encoding in OutputStreamResource

    Originally I attempted to have the Charset directly encode the BOM (like the UTF-16 Charsets) but ran into problems with not being able to call into protected methods of the UTF-8 Charset implementation and did not want to copy/paste a bunch of code and/or implement a bunch of hacks to make it work properly.

  104. object UUID extends Serializable

    Permalink
  105. object UUIDWrapper

    Permalink
  106. object UncloseableInputStream

    Permalink
  107. object UncloseableOutputStream

    Permalink
  108. object UnicodeNormalization extends UnicodeNormalizationBase

    Permalink
  109. object UnitResource extends Resource[Unit]

    Permalink

    An empty resource

  110. object UserFriendlyException extends Serializable

    Permalink
  111. object Util extends Logging

    Permalink
  112. object ValueEnumEntry

    Permalink
  113. object ValueEnumMacros

    Permalink
  114. object XMLUtil

    Permalink
  115. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  116. implicit def bigDecimalOrdering: Ordering[BigDecimal]

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

    Permalink
    Definition Classes
    ImplicitsBase
  118. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  119. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  120. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  121. package rich

    Permalink
  122. implicit def toAnyRefNullChecks[A <: AnyRef](ref: A): AnyRefNullChecks[A]

    Permalink
    Definition Classes
    Implicits
  123. implicit def toRichAnyRef[A <: AnyRef](ref: A): RichAnyRef[A]

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

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

    Permalink
    Definition Classes
    ImplicitsBase
  126. implicit def toRichAwait[V](await: Await.type): RichAwait

    Permalink
    Definition Classes
    JVMImplicitsBase
  127. implicit def toRichBigDecimal(d: BigDecimal): RichBigDecimal

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

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

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

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

    Permalink
    Definition Classes
    ImplicitsBase
  132. implicit def toRichChar(ch: Char): RichChar

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

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

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

    Permalink
    Definition Classes
    ImplicitsBase
  136. implicit def toRichFile(f: File): RichFile

    Permalink
    Definition Classes
    JVMImplicitsBase
  137. implicit def toRichFuture[V](f: Future[V]): RichFuture[V]

    Permalink
    Definition Classes
    JVMImplicitsBase
  138. implicit def toRichImmutableArray[A](arr: ImmutableArray[A]): RichImmutableArray[A]

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

    Permalink
    Definition Classes
    RichCrossImplicitsBase
  140. implicit def toRichInputStream(is: InputStream): RichInputStream

    Permalink
    Definition Classes
    JVMImplicitsBase
  141. implicit def toRichInstant(instant: Instant): RichInstant

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

    Permalink
    Definition Classes
    ImplicitsBase
  143. implicit def toRichIterableOnce[A](i: IterableOnce[A]): RichIterableOnce[A]

    Permalink
    Definition Classes
    PackageBase
  144. implicit def toRichJVMString(s: String): RichJVMString

    Permalink
    Definition Classes
    JVMImplicitsBase
  145. implicit def toRichLocalDate(date: LocalDate): RichLocalDate

    Permalink
    Definition Classes
    ImplicitsBase
  146. implicit def toRichLocale(locale: Locale): RichLocale

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

    Permalink
    Definition Classes
    ImplicitsBase
  148. 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
    RichCrossImplicitsBase
  149. implicit def toRichOption[T](opt: Option[T]): RichOption[T]

    Permalink
    Definition Classes
    ImplicitsBase
  150. implicit def toRichOptional[T](opt: Optional[T]): RichOptional[T]

    Permalink
    Definition Classes
    ImplicitsBase
  151. implicit def toRichPath(p: Path): RichPath

    Permalink
    Definition Classes
    JVMImplicitsBase
  152. implicit def toRichPattern(regex: Regex): RichRegex

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

    Permalink
    Definition Classes
    ImplicitsBase
  154. implicit def toRichQueryParamsObject(obj: QueryParams.type): RichQueryParams.type

    Permalink
    Definition Classes
    JVMImplicitsBase
  155. implicit def toRichSomeObject(some: Some.type): RichSomeObject

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

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

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

    Permalink
    Definition Classes
    RichCrossImplicitsBase
  159. implicit def toRichTry[T](t: Try[T]): RichTry[T]

    Permalink
    Definition Classes
    JVMImplicitsBase
  160. implicit def toRichURI(uri: URI): RichURI

    Permalink
    Definition Classes
    ImplicitsBase
  161. implicit def toRichURL(url: URL): RichURL

    Permalink
    Definition Classes
    JVMImplicitsBase
  162. def toString(): String

    Permalink
    Definition Classes
    Any
  163. implicit def toTypeSafeEquals[L](left: L): TypeSafeEquals[L]

    Permalink
    Definition Classes
    Implicits
  164. def void(as: Any*): Unit

    Permalink

    Used to swallow unused warnings.

    Used to swallow unused warnings.

    Definition Classes
    ImplicitsBase
    Annotations
    @inline()

Inherited from Implicits

Inherited from JVMImplicitsBase

Inherited from ImplicitsBase

Inherited from typesafeequals.Implicits

Inherited from RichCrossImplicitsBase

Inherited from OrderingImplicits

Inherited from PackageBase

Inherited from AnyRef

Inherited from Any

Ungrouped