Package

stringsplit

Permalink

package stringsplit

Simple string tokenizers

- split1 splits the string at each of the separator characters - splitM plits the strign at continuous runs of the separator characters

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. stringsplit
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class StringWithFastSplit extends AnyRef

    Permalink

Value Members

  1. def split1(str: String, sep: Set[Char]): IndexedSeq[String]

    Permalink
  2. def split1(str: String, sep: Char): IndexedSeq[String]

    Permalink
  3. def split1Iter(str: String, sep: Set[Char]): Iterator[String]

    Permalink

    Splits a string onto substrings.

    Splits a string onto substrings.

    Cuts the string into substrings and gives an iterator on them. Whether the string is copied or not depends on String.substring

  4. def split1Iter(str: String, sep: Char): Iterator[String]

    Permalink

    Splits a string onto substrings.

    Splits a string onto substrings.

    Cuts the string into substrings and gives an iterator on them. Whether the string is copied or not depends on String.substring

  5. def splitM(str: String, sep: Set[Char]): IndexedSeq[String]

    Permalink
  6. def splitM(str: String, sep: Char): IndexedSeq[String]

    Permalink
  7. def splitMIter(str: String, sep: Set[Char]): Iterator[String]

    Permalink
  8. def splitMIter(str: String, sep: Char): Iterator[String]

    Permalink

    Splits string onto substrings, while continuous spans of separators are merged.

  9. def storeIterInArrayAll[T](iter: Iterator[T], destination: ArrayBuffer[T]): Unit

    Permalink

    Stores all elements in the given mutable buffer.

  10. def storeIterInArrayInterval[T](iter: Iterator[T], destination: ArrayBuffer[T], i: Int, j: Int): Unit

    Permalink

    Stores the elements between [i,j) indices (exclusive end) in the given mutable buffer.

Inherited from AnyRef

Inherited from Any

Ungrouped