package common
- Alphabetic
- By Inheritance
- common
- FooPackage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- type ->[L, R] = (L, R)
->
type alias for tuples and extractor for pattern matches.->
type alias for tuples and extractor for pattern matches. Complementary to thePredef.->
Tuple2 constructor.- Definition Classes
- FooPackage
- implicit final class AnyExtensions[T] extends AnyVal
- implicit final class BooleanExtensions extends AnyVal
- case class ByteArray(bytes: Array[Byte]) extends Ordered[ByteArray] with Product with Serializable
Pimped byte array.
- trait Closable extends AnyRef
- trait CloseableIterator[+T] extends Iterator[T] with Closeable
- class Counter[A, B] extends AnyRef
- trait CurrentTime extends AnyRef
Current Time trait that return current time in millisec (UTC Timestamp)
- abstract class DateTimeHelper extends AnyRef
- trait EnvHacker extends AnyRef
- final case class ExecutionContextForBlockingOps(value: ExecutionContext) extends AnyVal with Product with Serializable
- class FooPackage extends AnyRef
- Attributes
- protected
- class :=[T, Q] extends AnyRef
Allows to provide default value for type parameter.
Allows to provide default value for type parameter. NOTE: Be careful when you use this. Result type inference order reasoning can be very tricky.
scala> def foo[T](implicit default: T := Int, ct: ClassTag[T]) = ct.toString scala> foo Int scala> foo[String] String
For foo: useDefault[Int] wins over useProvided[Nothing,Int] For foo[String]: useProvided[String,Int] applies, useDefault does not
- Definition Classes
- FooPackage
- implicit class SafeStringContext extends AnyRef
type-safe alternative to s"..." that requires explicit toString conversions rather than implicit
type-safe alternative to s"..." that requires explicit toString conversions rather than implicit
- Definition Classes
- FooPackage
- trait IdGenerator[T] extends AnyRef
Trait for creating identifier.
- trait Inflector extends AnyRef
- trait InflectorImports extends AnyRef
- class InvalidUriEncodingException extends RuntimeException
An error caused by processing a value that isn't encoded correctly.
- abstract class Lazy[A] extends AnyRef
- class LazyAtomicImpl[A] extends Lazy[A]
- class LazyImpl[A] extends Lazy[A]
- class MacAddressProvider extends AnyRef
- sealed trait OperativeSystem extends AnyRef
- implicit final class OptionExtensions[T] extends AnyVal
- implicit final class StringExtensions extends AnyVal
- trait SynchronizedIdGenerator[T] extends IdGenerator[T]
This trait should be used as a mixin to synchronize id generation for the class it is mixed in.
- abstract class ThreadLocalFactory[T] extends Factory[T] with Closeable
- class TimestampIdGenerator extends IdGenerator[Long] with CurrentTime
Generate unique long id based on the current time.
Generate unique long id based on the current time. Can generate up to 10K unique id if invoked in the same millisecond. This class is not thread safe and must be invoked from a single thread, synchronized externally or used with SynchronizedIdGenerator
- class UUID extends AnyRef
- class UUID5 extends AnyRef
- sealed abstract class WeakRefFactory[T <: AnyRef] extends Factory[T]
Value Members
- object AlgoUtils
- object Closable
- object CloseableIterator
- object Colors
- object Counter
- object DateTimeUtils
Helper functions for converting between internal and external date and time representations.
Helper functions for converting between internal and external date and time representations. Dates are exposed externally as java.sql.Date and are represented internally as the number of dates since the Unix epoch (1970-01-01). Timestamps are exposed externally as java.sql.Timestamp and are stored internally as longs, which are capable of storing timestamps with microsecond precision.
- object Encryption
- object ->
- Definition Classes
- FooPackage
- object :=
- Definition Classes
- FooPackage
- object GzipUtils
- object IOUtils
IO utilities.
- object InetUtils
Internet Protocol utilities
- object Inflector extends Inflector
- object InflectorImports extends InflectorImports
- object Lazy
- object LocalDateHelper extends DateTimeHelper
- object LocalDateTimeHelper extends DateTimeHelper
- object NamespaceUtils
- object OffsetDateTimeHelper
- object OperativeSystem
- object Platform
- object Resources
Provide resources helpers
- object StringUtils
- object SystemAttributes
- object ThreadLocalFactory
- object ThrowableUtils
- object TraverseUtils
- object UriEncoding
Provides support for correctly encoding pieces of URIs.
Provides support for correctly encoding pieces of URIs.
- See also
http://www.ietf.org/rfc/rfc3986.txt
- object Using
- object UuidStringGenerator extends IdGenerator[String]
Trait generating string representation of UUID identifier.
Trait generating string representation of UUID identifier. This implementation is thread safe.
- object WeakRefFactory