LatLongArr

ostrat.geom.pglobe.LatLongArr
See theLatLongArr companion object
final class LatLongArr(val unsafeArray: Array[Double]) extends AnyVal with LatLongSeqLike with Dbl2Arr[LatLong]

Immutable flat efficient Array[Double] based collection class for LatLongs. Prefer PolygonLL or LineSegLL where applicable.

Attributes

Companion:
object
Graph
Supertypes
trait Arr[LatLong]
trait Sequ[LatLong]
trait SpecialT
class AnyVal
trait Matchable
class Any

Members list

Concise view

Type members

Types

override type ThisT = LatLongArr

Gives the final type of this class.

Gives the final type of this class.

Attributes

Value members

Concrete methods

override def fromArray(array: Array[Double]): LatLongArr

Attributes

Definition Classes
override def seqDefElem(d1: Double, d2: Double): LatLong

Method for creating new data elements from 2 Doubles In the case of Dbl2Arr this will be thee type of the elements of the sequence.

Method for creating new data elements from 2 Doubles In the case of Dbl2Arr this will be thee type of the elements of the sequence.

Attributes

Definition Classes
override def typeStr: String

String specifying the type of this object.

String specifying the type of this object.

Attributes

Definition Classes

Inherited methods

def ++(operand: ThisT)(implicit build: DblNArrMapBuilder[LatLong, ThisT]): ThisT

Appends ProductValue collection with the same type of Elements to a new ValueProduct collection. Note the operand collection can have a different type, although it shares the same element type. In such a case, the returned collection will have the type of the operand not this collection.

Appends ProductValue collection with the same type of Elements to a new ValueProduct collection. Note the operand collection can have a different type, although it shares the same element type. In such a case, the returned collection will have the type of the operand not this collection.

Attributes

Inherited from:
DblNArr
def append(op: LatLong): ThisT

Functionally appends the operand of type A. This alphanumeric method is not aliased by the ++ operator, to avoid confusion with numeric operators.

Functionally appends the operand of type A. This alphanumeric method is not aliased by the ++ operator, to avoid confusion with numeric operators.

Attributes

Inherited from:
Dbl2Arr
override def apply(index: Int): A

Accesses the defining sequence element by a 0 based index.

Accesses the defining sequence element by a 0 based index.

Attributes

Definition Classes
Inherited from:
Dbl2Arr
def collect[B, BB <: Arr[B]](pf: PartialFunction[LatLong, B])(implicit ev: ArrMapBuilder[B, BB]): BB

Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Attributes

Inherited from:
Sequ
def contains[A1 >: LatLong](elem: A1): Boolean

Returns true if this sequence contains a value equal to the parameter value. The passed vvalue for equivlence testing an be a super type of the collection type.

Returns true if this sequence contains a value equal to the parameter value. The passed vvalue for equivlence testing an be a super type of the collection type.

Attributes

Inherited from:
Sequ
def cycleGet(index: Int): A

Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.

Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.

Attributes

Inherited from:
Sequ
override def dblBufferAppend(buffer: ArrayBuffer[Double], elem: LatLong): Unit

Utility method to append element on to an ArrayBuffer[Double]. End users should rarely need to use this method.

Utility method to append element on to an ArrayBuffer[Double]. End users should rarely need to use this method.

Attributes

Definition Classes
Inherited from:
Dbl2SeqLike
def eMap[B, ArrB <: Arr[B]](f: LatLong => EMon[B])(implicit ev: ArrMapBuilder[B, ArrB]): EMon[ArrB]

Attributes

Inherited from:
Sequ
def eMapList[B](f: LatLong => EMon[B]): EMon[List[B]]

Attributes

Inherited from:
Sequ
override def elemEq(a1: LatLong, a2: LatLong): Boolean

Checks if 2 values of the specifying sequence are equal.

Checks if 2 values of the specifying sequence are equal.

Attributes

Definition Classes
Inherited from:
Dbl2Arr
override def elemProdSize: Int

The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.

The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.

Attributes

Definition Classes
Inherited from:
Dbl2SeqLike
override def elemsStr: String

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Attributes

Definition Classes
Inherited from:
Sequ

Is this sequence empty?

Is this sequence empty?

Attributes

Inherited from:
Sequ

Tests if the condition exists for any element of this sequence.

Tests if the condition exists for any element of this sequence.

Attributes

Inherited from:
Sequ

Counts the number of elements that fulfil the condition A => Boolean

Counts the number of elements that fulfil the condition A => Boolean

Attributes

Inherited from:
Sequ
final override def fElemStr: LatLong => String

Attributes

Definition Classes
Inherited from:
LatLongSeqLike
def fMax[B](defaultValue: B)(f: LatLong => B)(implicit cmp: Ordering[B]): B

Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Attributes

Inherited from:
Sequ
def fMin[B](defaultValue: B)(f: LatLong => B)(implicit cmp: Ordering[B]): B

Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Attributes

Inherited from:
Sequ
final def filter(f: LatLong => Boolean): ThisT

Attributes

Inherited from:
DblNArr
def filter[ArrA <: Arr[LatLong]](f: LatLong => Boolean)(implicit ev: ArrMapBuilder[LatLong, ArrA]): ArrA

Attributes

Inherited from:
Sequ
def filterNot[ArrA <: Arr[LatLong]](f: LatLong => Boolean)(implicit ev: ArrMapBuilder[LatLong, ArrA]): ArrA

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ
def find(f: LatLong => Boolean): Option[A]

Tries to find te first element of this sequence conforming to the predicate.

Tries to find te first element of this sequence conforming to the predicate.

Attributes

Inherited from:
Sequ
def findIndex(value: LatLong): OptInt

Find the index of the the first value of this sequence.

Find the index of the the first value of this sequence.

Attributes

Inherited from:
ValueNArr
def flatMap[ArrB <: Arr[_]](f: LatLong => ArrB)(implicit ev: ArrFlatBuilder[ArrB]): ArrB

Specialised flatMap to a Arr.

Specialised flatMap to a Arr.

Attributes

Inherited from:
Sequ
def flatToIterableMap[B, ArrB <: Arr[B]](f: LatLong => Iterable[B])(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

Maps over a function from A to any Iterable and flattens the result into an RArr[A].

Maps over a function from A to any Iterable and flattens the result into an RArr[A].

Attributes

Inherited from:
Sequ
def foldHeadTail[B](initVal: B)(f: LatLong => B, fAcc: (B, B) => B): B

Attributes

Inherited from:
Sequ
def foldLeft[B](f: (B, LatLong) => B)(implicit ev: DefaultValue[B]): B

Attributes

Inherited from:
Sequ
def foldLeft[B](initial: B)(f: (B, LatLong) => B): B

Folds over this sequence starting with the initial value

Folds over this sequence starting with the initial value

Attributes

Inherited from:
Sequ
def foldStr(f: LatLong => String, seperator: String): String

Folds left to a String accumulator with an initial value of the empty string. The first parameter is a function from A tp String. The second parameter is a separator String the 2nd and subsequent A => String values.

Folds left to a String accumulator with an initial value of the empty string. The first parameter is a function from A tp String. The second parameter is a separator String the 2nd and subsequent A => String values.

Attributes

Inherited from:
Sequ
def foldWithPrevious[B](initPrevious: LatLong, initAcc: B)(f: (B, LatLong, LatLong) => B): B

Attributes

Inherited from:
ValueNArr

Returns true if the predicate holds true for all values of this sequence, else retruns false.

Returns true if the predicate holds true for all values of this sequence, else retruns false.

Attributes

Inherited from:
Sequ
def foreach[U](f: LatLong => U): Unit

Performs a side effecting function on each element of this sequence in order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Performs a side effecting function on each element of this sequence in order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Attributes

Inherited from:
Sequ
override def foreachArr(f: DblArr => Unit): Unit

Not sure about this method.

Not sure about this method.

Attributes

Definition Classes
Inherited from:
Dbl2Arr
def foreachPairTail[U](f: (Double, Double) => U): Unit

Attributes

Inherited from:
Dbl2Arr
def getPair(index: Int): (Double, Double)

Attributes

Inherited from:
Dbl2Arr
def head: A

The first element of this sequence.

The first element of this sequence.

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Dbl2Arr

Attributes

Inherited from:
Dbl2Arr
def headFold[B](noHead: => B)(ifHead: LatLong => B): B

Folds over the non existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.

Folds over the non existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.

Attributes

Inherited from:
Sequ
def headFoldToString[B](noHead: => String): String

Folds over the non existence / existence of a head element. If the sequence is nonEmpty applies toString to head element else returns the noHead parameter string.

Folds over the non existence / existence of a head element. If the sequence is nonEmpty applies toString to head element else returns the noHead parameter string.

Attributes

Inherited from:
Sequ
def iFlatMap[ArrB <: Arr[_]](iInit: Int)(f: (Int, LatLong) => ArrB)(implicit build: ArrFlatBuilder[ArrB]): ArrB

Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Attributes

Inherited from:
Sequ
def iFlatMap[ArrB <: Arr[_]](f: (Int, LatLong) => ArrB)(implicit build: ArrFlatBuilder[ArrB]): ArrB

Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Index with element flatMap. Applies the parameter function to the index and each respective element of this sequence. The function returns a Arr of elements of type B and the method as a whole flattens and then returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Attributes

Inherited from:
Sequ

Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
Sequ
def iForeach[U](startIndex: Int)(f: (Int, LatLong) => U): Unit

Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
Sequ
def iForeach[U](f: (Int, LatLong) => U): Unit

Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Index with foreach. Performs a side effecting function on the index and each element of this sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
Sequ
def iMap[B, ArrB <: Arr[B]](startindex: Int)(f: (Int, LatLong) => B)(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. Ideally this method should be overridden in sub classes.

Attributes

Inherited from:
Sequ
def iMap[B, ArrB <: Arr[B]](f: (Int, LatLong) => B)(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. This method should be overridden in sub classes.

Index with element map. Applies the parameter function to the index and each respective element of this sequence. The function returns an element of type B and the method as a whole returns the specialised Arr of type B. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature. This method should be overridden in sub classes.

Attributes

Inherited from:
Sequ
def ifHead[U](f: LatLong => U): Unit

if this Sequ is nonEmpty performs the side effecting function on the head. If empty procedure is applied.

if this Sequ is nonEmpty performs the side effecting function on the head. If empty procedure is applied.

Attributes

Inherited from:
Sequ
def indexOf(elem: LatLong): Int

Attributes

Inherited from:
Sequ

Return the index of the first element where predicate is true, or -1 if predicate not true forall.

Return the index of the first element where predicate is true, or -1 if predicate not true forall.

Attributes

Inherited from:
Sequ
def initForeach[U](f: LatLong => U): Unit

Performs a side effecting function on each element of this sequence excluding the last. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Performs a side effecting function on each element of this sequence excluding the last. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Attributes

Inherited from:
Sequ
def last: A

The last element of this sequence.

The last element of this sequence.

Attributes

Inherited from:
Sequ
def lastFold[B](noLast: => B)(ifLast: LatLong => B): B

Folds over the non existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.

Folds over the non existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.

Attributes

Inherited from:
Sequ

Just a handy short cut to give the length of this collection as a string.

Just a handy short cut to give the length of this collection as a string.

Attributes

Inherited from:
Sequ
final override def length: Int

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon

Attributes

Definition Classes
Inherited from:
Dbl2Arr
def map[B, ArrB <: Arr[B]](f: LatLong => B)(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

Specialised map to an immutable Arr of B. Applies the supplied function to every element of this sequence.

Specialised map to an immutable Arr of B. Applies the supplied function to every element of this sequence.

Attributes

Inherited from:
Sequ
def map2To1[B, ArrB <: Arr[B]](f: (LatLong, LatLong) => B)(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

Attributes

Inherited from:
Sequ
def mapArray[B](f: LatLong => B)(implicit ct: ClassTag[B]): Array[B]

Maps to an Array.

Maps to an Array.

Attributes

Inherited from:
Sequ
def mapCollectGoods[B, BB <: Arr[B]](f: LatLong => EMon[B])(implicit ev: ArrMapBuilder[B, BB]): BB

maps from A to EMon[B], collects the good values.

maps from A to EMon[B], collects the good values.

Attributes

Inherited from:
Sequ
def mapList[B <: AnyRef](f: LatLong => B): List[B]

maps ValueProduct collection to List

maps ValueProduct collection to List

Attributes

Inherited from:
Sequ
def mapPair[B1, ArrB1 <: Arr[B1], B2, B <: ElemPair[B1, B2], ArrB <: PairArr[B1, ArrB1, B2, B]](f1: LatLong => B1)(f2: LatLong => B2)(implicit build: PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]): ArrB

Specialised map to an immutable PairArr of B. Applies the supplied function to every element of this sequence.

Specialised map to an immutable PairArr of B. Applies the supplied function to every element of this sequence.

Attributes

Inherited from:
Sequ
def mapTo[B, BB <: SeqLike[B]](build: SeqLikeMapBuilder[B, BB])(f: LatLong => B): BB

A map operation where the return type of the SeqLike is explicitly given by the the first parameter.

A map operation where the return type of the SeqLike is explicitly given by the the first parameter.

Attributes

Inherited from:
Sequ
def mapUniqueGood[B](f: LatLong => EMon[B]): EMon[B]

Takes a function from A to EMon[B]. If the function applied to eqch element produces a single Good, it is returned else returns Bad.

Takes a function from A to EMon[B]. If the function applied to eqch element produces a single Good, it is returned else returns Bad.

Attributes

Inherited from:
Sequ
def mapWithAcc[B, ArrB <: Arr[B], C](initC: C)(f: (C, LatLong) => (B, C))(implicit ev: ArrMapBuilder[B, ArrB]): ArrB

Attributes

Inherited from:
Sequ
def max[B >: LatLong](implicit ord: Ordering[B]): A

Gives the maximum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.

Gives the maximum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.

Attributes

Inherited from:
Sequ
def min[B >: LatLong](implicit ord: Ordering[B]): A

Gives the minimum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.

Gives the minimum value of this sequence according to the implicit ordering type class instance, which can be passed explicitly.

Attributes

Inherited from:
Sequ
def mkString(separator: String): String

Not sure about this method.

Not sure about this method.

Attributes

Inherited from:
Sequ
def modifyAll(pred: LatLong => Boolean, fNewValue: LatLong => LatLong): ThisT

Modifies all instances of the old value that fulfill predicate, with a new value by applying the parameter function.

Modifies all instances of the old value that fulfill predicate, with a new value by applying the parameter function.

Attributes

Inherited from:
ArrSingle

Is this sequence non empty?

Is this sequence non empty?

Attributes

Inherited from:
Sequ
def partition[ArrA <: Arr[LatLong]](f: LatLong => Boolean)(implicit build: ArrMapBuilder[LatLong, ArrA]): (ArrA, ArrA)

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
ArrSingle
def replace(oldValue: LatLong, newValue: LatLong): ThisT

Replaces all instances of the old value with the new value.

Replaces all instances of the old value with the new value.

Attributes

Inherited from:
ArrSingle
def replaceAll(pred: LatLong => Boolean, newValue: LatLong): ThisT

Replaces all instances of the old value that fulfill predicate with the new value.

Replaces all instances of the old value that fulfill predicate with the new value.

Attributes

Inherited from:
ArrSingle

Method for keeping the typer happy when returning this as an instance of ThisT.

Method for keeping the typer happy when returning this as an instance of ThisT.

Attributes

Inherited from:
Sequ
final def reverse: ThisT

Reverses the order of the elements of this sequence.

Reverses the order of the elements of this sequence.

Attributes

Inherited from:
DblNArr
def reverseForeach[U](f: LatLong => U): Unit

Performs a side effecting function on each element of this sequence in reverse order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Performs a side effecting function on each element of this sequence in reverse order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.

Attributes

Inherited from:
Sequ
def reverseIForeach[U](f: (Int, LatLong) => U): Unit

Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.

Attributes

Inherited from:
Sequ
def sum(implicit ev: Sumable[LatLong]): A

Attributes

Inherited from:
Sequ
def sumBy(f: LatLong => Int): Int

Sums aaccumulating the results of the A => Int function.

Sums aaccumulating the results of the A => Int function.

Attributes

Inherited from:
Sequ
def tailForeach[U](f: LatLong => U): Unit

Foreachs over the tail of this sequence.

Foreachs over the tail of this sequence.

Attributes

Inherited from:
Sequ
def tailfold[B](initial: B)(f: (B, LatLong) => B): B

foldLeft over the tail of this sequence.

foldLeft over the tail of this sequence.

Attributes

Inherited from:
Sequ
def toList: List[A]

Converts this SeqGen to a list.

Converts this SeqGen to a list.

Attributes

Inherited from:
Sequ
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
SeqLike -> Any
Inherited from:
SeqLike

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ
final def unsafeLength: Int

The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

Attributes

Inherited from:
DblNSeqLike
def unsafeSameSize(length: Int): ThisT

Attributes

Inherited from:
DblNSeqLike
override def unsafeSetElem(index: Int, elem: LatLong): Unit

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Definition Classes
Inherited from:
Dbl2SeqLike
def unsafeSetElemSeq(index: Int, elems: Iterable[LatLong]): Unit

Attributes

Inherited from:
Arr
def unsafeSetElems(index: Int, elems: LatLong*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Attributes

Inherited from:
SeqLike

Sets / mutates the head element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.

Sets / mutates the head element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.

Attributes

Inherited from:
Arr

Sets / mutates the last element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.

Sets / mutates the last element in the Arr. This method should rarely be needed by end users, but is used by initialisation and factory methods.

Attributes

Inherited from:
Arr
def zipMap[B, C, ArrC <: Arr[C]](operator: Sequ[B])(f: (LatLong, B) => C)(implicit ev: ArrMapBuilder[C, ArrC]): ArrC

Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

Attributes

Inherited from:
Sequ
def zipMap2[B, C, D, ArrD <: Arr[D]](operator1: Sequ[B], operator2: Sequ[C])(f: (LatLong, B, C) => D)(implicit ev: ArrMapBuilder[D, ArrD]): ArrD

Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

Attributes

Inherited from:
Sequ

Concrete fields