SqVertArr

ostrat.prid.psq.SqVertArr
See theSqVertArr companion object
final class SqVertArr(val arrayUnsafe: Array[Int]) extends AnyVal, SqVertSeqLike, ArrInt2[SqVert]

An array[Int] based collection for SqVert.

Attributes

Companion
object
Graph
Supertypes
trait ArrInt2[SqVert]
trait ArrIntN[SqVert]
trait ArrValueN[SqVert]
trait Arr[SqVert]
trait Sequ[SqVert]
trait SeqLike[SqVert]
class AnyVal
trait Matchable
class Any
Show all

Members list

Type members

Types

type ThisT = SqVertArr

The final type of this Array[Int] backed collection class.

The final type of this Array[Int] backed collection class.

Attributes

Value members

Concrete methods

override def fromArray(array: Array[Int]): SqVertArr

Constructs the final type of these SeqLikeIntN from an Array[Int]. Mostly you will access this capability from the companion object or the appropriate builder, but it can be useful to access this from the class itself.

Constructs the final type of these SeqLikeIntN from an Array[Int]. Mostly you will access this capability from the companion object or the appropriate builder, but it can be useful to access this from the class itself.

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

final override def +%(operand: SqVert): ThisT

append. appends element to this Arr.

append. appends element to this Arr.

Attributes

Definition Classes
Inherited from:
ArrInt2
final override def ++(operand: ThisT): ThisT

append. Appends an Arr of the same final type of this Arr.

append. Appends an Arr of the same final type of this Arr.

Attributes

Definition Classes
Inherited from:
ArrIntN
final override def apply(index: Int): SqVert

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:
ArrInt2
final def arrayLen: Int

The length of the backing Array.

The length of the backing Array.

Attributes

Inherited from:
ArrayIntBacked
def bestOfGet(init: SqVert)(f1: SqVert => Boolean)(f2: (SqVert, SqVert) => Boolean): SqVert

Attributes

Inherited from:
Sequ
def collect[B, BB <: Arr[B]](pf: PartialFunction[SqVert, B])(implicit ev: BuilderArrMap[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 >: SqVert](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): SqVert

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
final override def drop(n: Int): ThisT

Attributes

Definition Classes
Inherited from:
ArrIntN
final override def dropRight(n: Int): ThisT

Attributes

Definition Classes
Inherited from:
ArrIntN
override def elemEq(a1: SqVert, a2: SqVert): 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:
ArrInt2
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:
SeqLikeInt2
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
def empty: Boolean

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
override def fElemStr: SqVert => String

Attributes

Definition Classes
Inherited from:
SqVertSeqLike
def fMax[B](defaultValue: B)(f: SqVert => 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: SqVert => 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: SqVert => Boolean): ThisT

Attributes

Inherited from:
ArrIntN
def filter[ArrA <: Arr[SqVert]](f: SqVert => Boolean)(implicit ev: BuilderArrMap[SqVert, ArrA]): ArrA

Attributes

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

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

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 findGood[B](f: SqVert => EMon[B]): EMon[B]

Takes a function that returns an EMon and returns the first Good.

Takes a function that returns an EMon and returns the first Good.

Attributes

Inherited from:
Sequ
def findIndex(value: SqVert): 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:
ArrValueN
def flatMap[ArrB <: Arr[_]](f: SqVert => ArrB)(implicit ev: BuilderArrFlat[ArrB]): ArrB

Specialised flatMap to a Arr.

Specialised flatMap to a Arr.

Attributes

Inherited from:
Sequ
def flatToIterableMap[B, ArrB <: Arr[B]](f: SqVert => Iterable[B])(implicit ev: BuilderArrMap[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: SqVert => B, fAcc: (B, B) => B): B

Attributes

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

Attributes

Inherited from:
Sequ
def foldLeft[B](initial: B)(f: (B, SqVert) => 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: SqVert => 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: SqVert, initAcc: B)(f: (B, SqVert, SqVert) => B): B

Attributes

Inherited from:
ArrValueN

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: SqVert => 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
def head: SqVert

The first element of this sequence.

The first element of this sequence.

Attributes

Inherited from:
Sequ
def head1: Int

Attributes

Inherited from:
ArrInt2
def head2: Int

Attributes

Inherited from:
ArrInt2

Returns the Some of the first element unless the sequence is empty in which case it returns None.

Returns the Some of the first element unless the sequence is empty in which case it returns None.

Attributes

Inherited from:
Sequ
def headFold[B](noHead: => B)(ifHead: SqVert => 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 headOrNone: Any

Attributes

Inherited from:
Arr
def iFlatMap[ArrB <: Arr[_]](iInit: Int)(f: (Int, SqVert) => ArrB)(implicit build: BuilderArrFlat[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, SqVert) => ArrB)(implicit build: BuilderArrFlat[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 iForAll(p: (Int, SqVert) => Boolean): Boolean

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, SqVert) => 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, SqVert) => 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, SqVert) => B)(implicit ev: BuilderArrMap[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, SqVert) => B)(implicit ev: BuilderArrMap[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: SqVert => 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 indexCycle(index: Int): SqVert

like the apply method accesses the defining sequence element by a 0 based index, but cycles around for indexes less that 0 and equal or greater than index length.

like the apply method accesses the defining sequence element by a 0 based index, but cycles around for indexes less that 0 and equal or greater than index length.

Attributes

Inherited from:
Sequ
def indexMapTo[B, BB <: SeqLike[B]](iFrom: Int, iTo: Int, iStep: Int)(f: SqVert => B)(implicit build: BuilderSeqLikeMap[B, BB]): BB

A map operation on the range of indexed values, where the return type of the SeqLike is explicitly given by the the first parameter.

A map operation on the range of indexed values, where the return type of the SeqLike is explicitly given by the the first parameter.

Attributes

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

Attributes

Inherited from:
Sequ
def indexToForeach[U](iFrom: Int, iTo: Int, iStep: Int)(f: SqVert => U): Unit

Performs a side effecting function on each element of the range of index values for 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 the range of index values for 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

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
final def init: ThisT

Attributes

Inherited from:
ArrNoParam
def initForeach[U](f: SqVert => 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: SqVert

The last element of this sequence.

The last element of this sequence.

Attributes

Inherited from:
Sequ

Returns the Some of the last element unless the sequence is empty in which case it returns None.

Returns the Some of the last element unless the sequence is empty in which case it returns None.

Attributes

Inherited from:
Sequ
def lastFold[B](noLast: => B)(ifLast: SqVert => 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
def lasts: ThisT

Returns an empty Arr if this is empty else returns an Arr containing only the last element.

Returns an empty Arr if this is empty else returns an Arr containing only the last element.

Attributes

Inherited from:
ArrIntN
def lenStr: String

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:
ArrInt2
def map[B, ArrB <: Arr[B]](f: SqVert => B)(implicit build: BuilderArrMap[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: (SqVert, SqVert) => B)(implicit ev: BuilderArrMap[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: SqVert => 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: SqVert => EMon[B])(implicit ev: BuilderArrMap[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 mapEMon[B, BB](ev: BuilderCollMap[B, BB])(f: SqVert => EMon[B]): EMon[BB]

Map from A => EMon[B]. There is a name overload that implicitly takes a narrower BuilderArrMap as the second parameter list.

Map from A => EMon[B]. There is a name overload that implicitly takes a narrower BuilderArrMap as the second parameter list.

Attributes

Inherited from:
Sequ
def mapEMon[B, ArrB <: Arr[B]](f: SqVert => EMon[B])(implicit ev: BuilderArrMap[B, ArrB]): EMon[ArrB]

Map from A => EMon[B]. implicitly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderCollMap as the first parameter list.

Map from A => EMon[B]. implicitly takes a BuilderArrMap. There is a name overload that explicitly takes a more flexible BuilderCollMap as the first parameter list.

Attributes

Inherited from:
Sequ
def mapEMonList[B](f: SqVert => EMon[B]): EMon[List[B]]

Map from A => B, retuening an EMon of List.

Map from A => B, retuening an EMon of List.

Attributes

Inherited from:
Sequ
def mapList[B <: AnyRef](f: SqVert => 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 <: PairFinalA1Elem[B1, B2], ArrB <: PairArrFinalA1[B1, ArrB1, B2, B]](f1: SqVert => B1)(f2: SqVert => B2)(implicit build: BuilderArrPairMap[B1, ArrB1, B2, B, ArrB]): ArrB

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

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

Attributes

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

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

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

Attributes

Inherited from:
Sequ
def mapUniqueGood[B](f: SqVert => 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, SqVert) => (B, C))(implicit ev: BuilderArrMap[B, ArrB]): ArrB

Attributes

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

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 >: SqVert](implicit ord: Ordering[B]): SqVert

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: SqVert => Boolean, fNewValue: SqVert => SqVert): 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:
ArrNoParam
override def newElem(int1: Int, int2: Int): SqVert

Attributes

Definition Classes
Inherited from:
SqVertSeqLike

Is this sequence non empty?

Is this sequence non empty?

Attributes

Inherited from:
Sequ
def optAllMap[B, ArrB <: Arr[B]](f: SqVert => Option[B])(implicit build: BuilderArrMap[B, ArrB]): Option[ArrB]

Takes a map function from A to Option[B] but only returns the [[Arr] of B if all the elements map to a Some. Hence the ArrB if returned will be the same length as this sequence.

Takes a map function from A to Option[B] but only returns the [[Arr] of B if all the elements map to a Some. Hence the ArrB if returned will be the same length as this sequence.

Attributes

Inherited from:
Sequ
def optMap[B, ArrB <: Arr[B]](f: SqVert => Option[B])(implicit build: BuilderArrMap[B, ArrB]): ArrB

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

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

Attributes

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

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
ArrNoParam
def replace(oldValue: SqVert, newValue: SqVert): 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:
ArrNoParam
def replaceAll(pred: SqVert => Boolean, newValue: SqVert): 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:
ArrNoParam

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 override def reverse: ThisT

Reverses the order of the elements of this sequence.

Reverses the order of the elements of this sequence.

Attributes

Definition Classes
Inherited from:
ArrIntN
def reverseForeach[U](f: SqVert => 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, SqVert) => 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
final override def setElemUnsafe(index: Int, newElem: SqVert): 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:
SeqLikeInt2
def setElemsUnsafe(index: Int, elems: SqVert*): 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
def sortBy(f: (SqVert, SqVert) => Boolean)(implicit build: BuilderArrMap[SqVert, ThisT]): ThisT

Returns a new Arr sorted from least to greatest. Takes a function detrmining if the first value is greater than the second.

Returns a new Arr sorted from least to greatest. Takes a function detrmining if the first value is greater than the second.

Attributes

Inherited from:
Arr
final inline override def ssForeach[U](f: SqVert => U): Unit

Performs a side effecting function on each element of the specifying sequence in order.

Performs a side effecting function on each element of the specifying sequence in order.

Attributes

Definition Classes
Inherited from:
Sequ
def sum(implicit ev: Sumable[SqVert]): SqVert

Attributes

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

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

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

Attributes

Inherited from:
Sequ
final def tail: ThisT

Attributes

Inherited from:
ArrNoParam
def tailForeach[U](f: SqVert => U): Unit

Foreachs over the tail of this sequence. Performs a side effecting function on each element of this sequence excluding the first.

Foreachs over the tail of this sequence. Performs a side effecting function on each element of this sequence excluding the first.

Attributes

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

foldLeft over the tail of this sequence.

foldLeft over the tail of this sequence.

Attributes

Inherited from:
Sequ

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
def toStrsCommaFold(fToStr: SqVert => String): String

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ
def toStrsSemiFold(fToStr: SqVert => String): String

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ

Attributes

Inherited from:
Sequ
final def unsafeSameSize(length: Int): ThisT

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Method for creating a new Array[Int] backed collection class of this collection class's final type.

Attributes

Inherited from:
SeqLikeIntN
def unsafeSetElemSeq(index: Int, elems: Iterable[SqVert]): Unit

Attributes

Inherited from:
Arr
def unsafeSetHead(value: SqVert): Unit

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
def unsafeSetLast(value: SqVert): Unit

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 vertNum: Int

Attributes

Inherited from:
SqVertSeqLike
def zipMap[B, C, ArrC <: Arr[C]](operator: Sequ[B])(f: (SqVert, B) => C)(implicit ev: BuilderArrMap[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: (SqVert, B, C) => D)(implicit ev: BuilderArrMap[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

The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.

The backing Array[Int] of this collection class. End users should not normally need to interact with this directly.

Attributes