t

Any.Able.CopyRange

trait CopyRange[TYPE] extends Any

Generic Range Copy

Ordering
  1. Alphabetic
Inherited
  1. CopyRange
  2. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Method

  1. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  2. abstract def copy(r: Idx.Range): TYPE

    Copy range

    Copy range

    Copies elements within the range specified

    // Generic String example
    "abcdefghi".copy(3 <> 5).lp  // Prints: def
    Definition Classes
    CopyRange
  3. abstract def copyDrop(r: Idx.Range): TYPE

    Copy without range

    Copy without range

    Copies elements outside the range specified

    // Generic String example
    "abcdefghi".copyDrop(3 <> 5).lp  // Prints: abcghi
    Definition Classes
    CopyRange
  4. def copyFirst(number: Int): TYPE

    Copy start

    Copy start

    Copies specified number of first elements

    // Generic String example
    "abcdefghi".copyFirst(3).lp  // Prints: abc
    Definition Classes
    CopyRange
  5. def copyFrom(position: Int): TYPE

    Copy end

    Copy end

    Copies elements from specified position to the end

    // Generic String example
    "abcdefghi".copyFrom(5).lp  // Prints: fghi
    Definition Classes
    CopyRange
  6. def copyFull: TYPE

    Copy everything

    Copy everything

    Copies entire content

    Definition Classes
    CopyRange
  7. def copyLast(number: Int): TYPE

    Copy end

    Copy end

    Copies specified number of elements at the end

    // Generic String example
    "abcdefghi".copyLast(3).lp  // Prints: ghi
    Definition Classes
    CopyRange
  8. def copyShort(cnt: Int): TYPE

    Copy without end

    Copy without end

    Copies from the beginning, missing specified number of elements at the end

    // Generic String example
    "abcdefghi".copyShort(3).lp  // Prints: abcdef
    Definition Classes
    CopyRange
  9. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  10. def hashCode(): Int
    Definition Classes
    Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. abstract def size: Int

    Container size

    Container size

    Notion of a range is only valid in presence of size

    Definition Classes
    CopyRange
  13. def toString(): String
    Definition Classes
    Any

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any