Package

org.gerweck.scala

util

Permalink

package util

Miscellaneous utility code for manipulating standard objects.

This package is designed to be maximally convenient if you import org.gerweck.scala.util._.

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

Type Members

  1. class BeanWrapper extends AnyRef

    Permalink

    A wrapper around JavaBeans that allows one to get and set properties.

    A wrapper around JavaBeans that allows one to get and set properties.

    This uses reflection, so it will not perform as quickly as setting those properties statically.

  2. implicit final class CharUtils extends AnyVal

    Permalink

    Utility functionality for working with characters.

  3. final class ExitCode extends AnyVal

    Permalink

    An exit code used for UNIX processes.

    An exit code used for UNIX processes.

    These are based on the BSD standardized exit codes.

  4. trait LexerUtil extends Scanners with ParserUtil

    Permalink
  5. class PairArray[A] extends AnyRef

    Permalink

    An array of pairs.

  6. trait ParserUtil extends Parsers

    Permalink
  7. implicit final class RichMessageFormat extends AnyVal

    Permalink

    Enhancements to Java's MessageFormat API.

  8. class SquareArray[T] extends AnyRef

    Permalink
  9. class SquarePairArray[A] extends AnyRef

    Permalink
  10. implicit final class StringUtils extends AnyVal

    Permalink

    Utility functionality for working with strings.

  11. trait TokenParserUtil extends TokenParsers with ParserUtil

    Permalink

    Mix-in utility code to assist with Parser development.

  12. implicit final class TraversableUtil[A] extends AnyVal

    Permalink

    Additional methods for traversables.

  13. trait UniversalOrdering[A <: SmartComparable[A]] extends Ordered[A]

    Permalink
  14. final class VersionNumber extends Ordered[VersionNumber]

    Permalink

    A class for managing standard version numbers.

Value Members

  1. object BeanWrapper

    Permalink
  2. object ExitCode

    Permalink

    A container of standardized exit codes.

    A container of standardized exit codes.

    These are based on the BSD standardized exit codes. Linux and SysV don't really have a OS-level standard, and many applications use different codes, but these are the most standardized codes that exist.

  3. object FileUtil

    Permalink

    Simple utility methods for dealing with files.

  4. object LexerUtil

    Permalink
  5. object PairArray

    Permalink
  6. object Regex

    Permalink

    Utilities to make it more convenient to work with regular expressions.

  7. object Resources

    Permalink

    A utility for working with resources bundled into your application.

  8. object SquareArray

    Permalink
  9. object SquarePairArray

    Permalink
  10. object Support

    Permalink
  11. object ThreadFactories

    Permalink

    Utility mechanisms for constructing thread factories.

  12. object TypeUtils

    Permalink

    Utilities for working with types

  13. object UniversalOrdering

    Permalink
  14. object VersionNumber

    Permalink
  15. object XmlUtil

    Permalink

    Utilities and implicit enhancements for working with XML.

    Utilities and implicit enhancements for working with XML.

    In particular, this is designed to enhance Scala's built-in XML handling and make it more convenient and powerful.

  16. package date

    Permalink
  17. final def hashProduct(p: Product): Int

    Permalink
    Annotations
    @inline()
  18. package io

    Permalink

  19. package jdbc

    Permalink
  20. package joda

    Permalink

    Implicit utilities for working with Joda Time.

    Implicit utilities for working with Joda Time.

    These have moved out of the date package as I now recommend that you use the new JSR 310 libraries, either from Java 8 directly or through the ThreeTenBP backport project.

  21. package math

    Permalink

    Global imports for math utility.

    Global imports for math utility.

    Since

    0.9.9

  22. object resource

    Permalink
  23. def rotateHash(v1: Any, v2: Any, inputs: Any*): Int

    Permalink

    Compute a very fast hash functional of all the inputs' hashes.

    Compute a very fast hash functional of all the inputs' hashes.

    There is no guarantee that this value will be stable between releases. It's suitable for an ephemeral hashCode if all the versions of the code are on the same versions of GerweckUtil.

  24. final def rotateHash(v1: Any, v2: Any): Int

    Permalink
    Annotations
    @inline()
  25. final def rotateHash(v1: Any): Int

    Permalink
    Annotations
    @inline()
  26. object timed

    Permalink
  27. object timedFuture

    Permalink

    Timer that operates on a scala.concurrent.Future.

    Timer that operates on a scala.concurrent.Future.

    Warning: This is not as accurate as org.gerweck.scala.util.timed, because it relies on scheduling another job to run after the original future is complete.

    Whenever possible, use timed instead.

    The inline flag tells it to actually give you back a new Future that only completes when the timer logging has been completed. This is a useful way to ensure that your log statements all have the correct sequencing, with a small amount of overhead required to process the callback.

  28. package yaml

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped