Packages

t

scalax.collection

UnchangedSizeOps

trait UnchangedSizeOps[+A, CC[+X] <: NonEmpty[X]] extends AnyRef

Attributes
protected
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnchangedSizeOps
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(index: Int): A

    The element at index starting with 0 looked up in a non-safe way.

    The element at index starting with 0 looked up in a non-safe way.

    Exceptions thrown

    IndexOutOfBoundsException if index is negative or greater or equal to this collection's size.

  2. abstract def find(p: (A) => Boolean): Option[A]

    Finds an element satisfying the predicate p if any.

  3. abstract def forall(p: (A) => Boolean): Boolean

    Whether all elements satisfy the predicate p.

  4. abstract def foreach[U](f: (A) => U): Unit

    Calls f on all elements of this collection for side effects.

  5. abstract def head: A

    The first element.

  6. abstract def isDefinedAt(index: Int): Boolean

    Whether an element at index exists.

  7. abstract def iterator: Iterator[A]
  8. abstract def map[B](f: (A) => B): CC[B]

    Builds a new collection by applying a function to all elements of this collection.

  9. abstract def newUnsafeBuilder[B]: Unsafe[B, CC]
    Attributes
    protected
  10. abstract def size: Int

    The number of elements in this collection.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toany2stringadd[UnchangedSizeOps[A, CC]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UnchangedSizeOps[A, CC], B)
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toArrowAssoc[UnchangedSizeOps[A, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def apply[B >: A](index: Int, more: Iterable[B], start: Int): B
    Attributes
    protected
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def contains[B >: A](elem: B): Boolean

    Whether elem is included in this collection.

  10. def ensuring(cond: (UnchangedSizeOps[A, CC]) => Boolean, msg: => Any): UnchangedSizeOps[A, CC]
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toEnsuring[UnchangedSizeOps[A, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (UnchangedSizeOps[A, CC]) => Boolean): UnchangedSizeOps[A, CC]
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toEnsuring[UnchangedSizeOps[A, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): UnchangedSizeOps[A, CC]
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toEnsuring[UnchangedSizeOps[A, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): UnchangedSizeOps[A, CC]
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toEnsuring[UnchangedSizeOps[A, CC]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def exists(p: (A) => Boolean): Boolean

    Whether an element satisfying the predicate p exists.

  17. def foldLeft[B](zero: B)(f: (B, A) => B): B

    Applies f to a start value and all elements of this collection, going left to right.

  18. def get(index: Int): Option[A]

    Gets the element at index if any.

  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def reduceLeft[B >: A](f: (B, A) => B): B

    Applies f to all elements of this collection, going left to right.

  26. final def reverse: CC[A]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def toList: List[A]
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def zip[B](that: NonEmpty[B]): CC[(A, B)]
  34. final def zip[B](that: IterableOnce[B]): CC[(A, B)]
  35. final def zipWithIndex: CC[(A, Int)]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toStringFormat[UnchangedSizeOps[A, CC]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (UnchangedSizeOps[A, CC], B)
    Implicit
    This member is added by an implicit conversion from UnchangedSizeOps[A, CC] toArrowAssoc[UnchangedSizeOps[A, CC]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromUnchangedSizeOps[A, CC] to any2stringadd[UnchangedSizeOps[A, CC]]

Inherited by implicit conversion StringFormat fromUnchangedSizeOps[A, CC] to StringFormat[UnchangedSizeOps[A, CC]]

Inherited by implicit conversion Ensuring fromUnchangedSizeOps[A, CC] to Ensuring[UnchangedSizeOps[A, CC]]

Inherited by implicit conversion ArrowAssoc fromUnchangedSizeOps[A, CC] to ArrowAssoc[UnchangedSizeOps[A, CC]]

Ungrouped