IArray1

iarray.IArray1
See theIArray1 companion object
final case class IArray1[A](head: A, tail: IArray[A])

Non empty immutable array

Attributes

Companion:
object
Source:
IArray1.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def +:(a: A): IArray1[A]

Attributes

Source:
IArray1.scala
def :+(a: A): IArray1[A]

Attributes

Source:
IArray1.scala
def ===(that: IArray1[A])(implicit E: Equal[A]): Boolean

Attributes

Source:
IArray1.scala
def align[B](that: IArray1[B]): IArray1[A \&/ B]

Attributes

Source:
IArray1.scala
def alignWith[B, C](that: IArray1[B])(f: A \&/ B => C): IArray1[C]

Attributes

Source:
IArray1.scala
def apply(i: Int): A

Attributes

Source:
IArray1.scala
def cobind[B](f: IArray1[A] => B): IArray1[B]

Attributes

Source:
IArray1.scala

Attributes

Source:
IArray1.scala
def collect[B](f: PartialFunction[A, B]): IArray[B]

Attributes

Source:
IArray1.scala
def collectFirst[B](f: PartialFunction[A, B]): Option[B]

Attributes

Source:
IArray1.scala
def collectLast[B](f: PartialFunction[A, B]): Option[B]

Attributes

Source:
IArray1.scala
def contains(a: A)(implicit E: Equal[A]): Boolean

Attributes

Source:
IArray1.scala
def count(f: A => Boolean): Int

Attributes

Source:
IArray1.scala
def dropL(n: Int): IArray[A]

Attributes

Source:
IArray1.scala
override def equals(that: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Attributes

that

the object to compare against this object for equality.

Returns:

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
Equals -> Any
Source:
IArray1.scala
def exists(f: A => Boolean): Boolean

Attributes

Source:
IArray1.scala
def find(f: A => Boolean): Option[A]

Attributes

Source:
IArray1.scala
def findRight(f: A => Boolean): Option[A]

Attributes

Source:
IArray1.scala
def flatMap[B](f: A => IArray1[B]): IArray1[B]

Attributes

Source:
IArray1.scala
def flatten[B](implicit A: A <:< IArray1[B]): IArray1[B]

Attributes

Source:
IArray1.scala
def foldMap1[B](f: A => B)(implicit B: Semigroup[B]): B

Attributes

Source:
IArray1.scala
def foldMapLeft1[B](z: A => B)(f: (B, A) => B): B

Attributes

Source:
IArray1.scala
def foldMapRight1[B](z: A => B)(f: (A, B) => B): B

Attributes

Source:
IArray1.scala
def foldl[B](z: B)(f: (B, A) => B): B

Attributes

Source:
IArray1.scala
def foldl1(f: (A, A) => A): A

Attributes

Source:
IArray1.scala
def foldr[B](z: B)(f: (A, B) => B): B

Attributes

Source:
IArray1.scala
def foldr1(f: (A, A) => A): A

Attributes

Source:
IArray1.scala
def forall(f: A => Boolean): Boolean

Attributes

Source:
IArray1.scala
def foreach[U](f: A => U): Unit

Attributes

Source:
IArray1.scala
override def hashCode: Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns:

the hash code value for this object.

Definition Classes
Any
Source:
IArray1.scala
def indexOfL(a: A)(implicit E: Equal[A]): Option[Int]

Attributes

Source:
IArray1.scala
def indexOfR(a: A)(implicit E: Equal[A]): Option[Int]

Attributes

Source:
IArray1.scala
def init: IArray[A]

Attributes

Source:
IArray1.scala
def intercalate1(a: A)(implicit A: Semigroup[A]): A

Attributes

Source:
IArray1.scala
def intersperse(a: A): IArray1[A]

Attributes

Source:
IArray1.scala
def last: A

Attributes

Source:
IArray1.scala
def length: Int

Attributes

Source:
IArray1.scala
def map[B](f: A => B): IArray1[B]

Attributes

Source:
IArray1.scala
def max(implicit O: Order[A]): A

Attributes

Source:
IArray1.scala
def maxBy[B](f: A => B)(implicit O: Order[B]): A

Attributes

Source:
IArray1.scala
def maxOf[B](f: A => B)(implicit O: Order[B]): B

Attributes

Source:
IArray1.scala
def min(implicit O: Order[A]): A

Attributes

Source:
IArray1.scala
def minBy[B](f: A => B)(implicit O: Order[B]): A

Attributes

Source:
IArray1.scala
def minOf[B](f: A => B)(implicit O: Order[B]): B

Attributes

Source:
IArray1.scala
def mkString(sep: String): String

Attributes

Source:
IArray1.scala
def mkString(start: String, sep: String, end: String): String

Attributes

Source:
IArray1.scala
def oneAnd: OneAnd[IArray, A]

Attributes

Source:
IArray1.scala
def partition(f: A => Boolean): (IArray[A], IArray[A])

Attributes

Source:
IArray1.scala
def plus(that: IArray1[A]): IArray1[A]

Attributes

Source:
IArray1.scala

Attributes

Source:
IArray1.scala
def reverseMap[B](f: A => B): IArray1[B]

Attributes

Source:
IArray1.scala
def scanLeft[B](z: B)(f: (B, A) => B): IArray1[B]

Attributes

Source:
IArray1.scala
def scanRight[B](z: B)(f: (A, B) => B): IArray1[B]

Attributes

Source:
IArray1.scala
def size: Int

Attributes

Source:
IArray1.scala
def sortBy[B](f: A => B)(implicit O: Order[B]): IArray1[A]

Attributes

Source:
IArray1.scala
def sortWith(f: (A, A) => Boolean): IArray1[A]

Attributes

Source:
IArray1.scala
def sorted(implicit O: Order[A]): IArray1[A]

Attributes

Source:
IArray1.scala
def sum(implicit A: Numeric[A]): A

Attributes

Source:
IArray1.scala
def toArray(implicit A: ClassTag[A]): Array[A]

Attributes

Source:
IArray1.scala

Attributes

Source:
IArray1.scala
def toIList: IList[A]

Attributes

Source:
IArray1.scala
def toIterator: Iterator[A]

Attributes

Source:
IArray1.scala
def toList: List[A]

Attributes

Source:
IArray1.scala
def toNel: NonEmptyList[A]

Attributes

Source:
IArray1.scala
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
Any
Source:
IArray1.scala
def traverse1[F[_], B](f: A => F[B])(implicit F: Apply[F]): F[IArray1[B]]

Attributes

Source:
IArray1.scala
def unite[G[_], B](implicit A: A <:< G[B], G: Foldable[G]): IArray[B]

Attributes

Source:
IArray1.scala
def unite1[G[_], B](implicit A: A <:< G[B], G: Foldable1[G]): IArray1[B]

Attributes

Source:
IArray1.scala
def unzip[B, C](implicit e: A <:< Product2[B, C]): (IArray1[B], IArray1[C])

Attributes

Source:
IArray1.scala
def unzip3[B, C, D](implicit e: A <:< Product3[B, C, D]): (IArray1[B], IArray1[C], IArray1[D])

Attributes

Source:
IArray1.scala
def unzip4[B, C, D, E](implicit e: A <:< Product4[B, C, D, E]): (IArray1[B], IArray1[C], IArray1[D], IArray1[E])

Attributes

Source:
IArray1.scala
def unzip5[B, C, D, E, F](implicit e: A <:< Product5[B, C, D, E, F]): (IArray1[B], IArray1[C], IArray1[D], IArray1[E], IArray1[F])

Attributes

Source:
IArray1.scala
def widen[B](implicit ev: A <:< B): IArray1[B]

Attributes

Source:
IArray1.scala
def zip[B](that: IArray1[B]): IArray1[(A, B)]

Attributes

Source:
IArray1.scala
def zipAll[B](that: IArray1[B], a: A, b: B): IArray1[(A, B)]

Attributes

Source:
IArray1.scala
def zipWith[B, C](that: IArray1[B])(f: (A, B) => C): IArray1[C]

Attributes

Source:
IArray1.scala
def zipWithIndex: IArray1[(A, Int)]

Attributes

Source:
IArray1.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product