geotrellis

util

package util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. object Filesystem

  2. object Timer

    Utility class for timing the execution time of a function.

  3. object Units

  4. def pairwise[A](as: List[A], sofar: List[A])(f: (A, A) ⇒ A): List[A]

    This function uses an associative binary function "f" to combine elements of a List[A] pairwise into a shorter List[A].

    This function uses an associative binary function "f" to combine elements of a List[A] pairwise into a shorter List[A].

    For instance, List(1,2,3,4,5) results in List(5, f(3, 4), f(1, 2)).

    Annotations
    @tailrec()
  5. def reducePairwise[A](as: List[A])(f: (A, A) ⇒ A): Option[A]

    This function uses an associative binary function "f" to combine the elements of a List[A] into a Option[A].

    This function uses an associative binary function "f" to combine the elements of a List[A] into a Option[A].

    If the list is empty, None is returned. If the list is non-empty, Some[A] will be returned.

    For example, List(1,2,3,4)(f) results in Some(f(f(3, 4), f(1, 2))).

    Annotations
    @tailrec()

Inherited from AnyRef

Inherited from Any

Ungrouped