Skip to content

Features

UnquietCode edited this page May 29, 2011 · 1 revision

This is a list of the current components of the library.

Number Tools

  • Cardinal - for generating the cardinal form of a number
  • Ordinal - for generating the ordinal form of a number
  • ShinyNumber - encapsulates a number and provides access to its ordinal and cardinal form
  • NumberTools - a collection of static methods for working with numbers ** splitDigits: from an integer to an array of ints ** addCommas: adds number grouping to an integer ** truncateDouble: given a double, truncate to N places ** signum: given a double, return the String form with N significant figures
  • Standardized approach to creating typed pseudo-closure functions.
  • Chains of closures.
  • MultiClosure
  • ClosureView - a facade for passing around immutable closures.

Util

  • Iterables - for creating iterable objects, such as simple ranges
  • Pair - a simple class for combining two objects into a pair
  • Shortcuts - helpful methods to avoid constantly writing verbose code
  • StringUtils - collection of methods for working on String objects

Clone this wiki locally