WrapCharArrayCharSeq

upickle.core.WrapCharArrayCharSeq
class WrapCharArrayCharSeq(arr: Array[Char], start: Int, length0: Int) extends CharSequence

A CharSequence that wraps an array of charents without any copying.

Note that the arr is mutable, and so the WrapCharArrayCharSeq should not itself be stored: either use it immediately when given it or call .toString if you want to store the data for later use.

Attributes

Graph
Supertypes
trait CharSequence
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def charAt(index: Int): Char
def length(): Int
def subSequence(newStart: Int, newEnd: Int): CharSequence
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
CharSequence -> Any

Inherited methods

def chars(): IntStream

Attributes

Inherited from:
CharSequence
def codePoints(): IntStream

Attributes

Inherited from:
CharSequence