Package

molecule

utils

Permalink

package utils

Misc utilities

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class ByteArrayListInputStream extends InputStream

    Permalink

    Class use for compatibility with existing blocking java serialization frameworks e.g.

    Class use for compatibility with existing blocking java serialization frameworks e.g. Avro.

  2. class ByteArrayListOutputStream extends OutputStream

    Permalink

    Contrarily to the regular ByteArrayOutputStream this class accumulate byte arrays into a list buffer and assumes a thread-safe environment and immutability which permit to optimize the code by removing synchronization and defense copying.

  3. class ByteBufferSegOutputStream extends OutputStream

    Permalink

    Contrarily to the regular ByteArrayOutputStream this class accumulate byte buffers into a list segment and assumes a thread-safe environment and immutability which permit to optimize the code by removing synchronization and defense copying.

  4. class CharBufferSegOutputStream extends AnyRef

    Permalink

    Contrarily to the regular CharArrayOutputStream this class accumulate byte buffers into a list segment and assumes a thread-safe environment and immutability which permit to optimize the code by removing synchronization and defense copying.

  5. class ConcurrentLinkedBlockingQueueSC[E] extends AbstractQueue[E] with Serializable with BlockingQueue[E]

    Permalink
  6. trait HashcodeCaching extends AnyRef

    Permalink

    Suggested by John Sullivan on scala-user mailing list (4 mai 2011)

  7. final class Mutex extends AbstractQueuedSynchronizer

    Permalink

    A simple non-reentrant lock used for exclusion when managing queues and workers.

    A simple non-reentrant lock used for exclusion when managing queues and workers. We use a custom lock so that we can readily probe lock state in constructions that check among alternative actions. The lock is normally only very briefly held, and sometimes treated as a spinlock, but other usages block to reduce overall contention in those cases where locked code bodies perform allocation/resizing.

    Code and comments borrowed from Doug Lea's FJPool.

  8. final class Unsafe extends AnyRef

    Permalink
  9. class __[_] extends AnyRef

    Permalink

Value Members

  1. val NOOP: (Any) ⇒ Unit

    Permalink
  2. val NOOP0: () ⇒ Unit

    Permalink
  3. val NOOP2: (Any, Any) ⇒ Unit

    Permalink
  4. object Reflect

    Permalink
  5. object Unsigned

    Permalink
  6. object __

    Permalink
  7. def decode(charset: String): (ByteBuffer) ⇒ CharBuffer

    Permalink
  8. def encode(charset: String): (CharBuffer) ⇒ ByteBuffer

    Permalink
  9. val lineSep: String

    Permalink

    Platform specific line separator

  10. final def random(): Random

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped