Path

trait Path extends Iterable[String]

Representing paths separated by slashes

Representing paths separated by slashes

Authors

leo

Companion
object
trait Iterable[String]
trait IterableFactoryDefaults[String, [A] =>> Iterable[A]]
trait IterableOps[String, [A] =>> Iterable[A], Iterable[String]]
trait IterableOnceOps[String, [A] =>> Iterable[A], Iterable[String]]
trait IterableOnce[String]
class Object
trait Matchable
class Any

Value members

Abstract methods

def /(child: String): Path
def fullPath: String
def isRelative: Boolean
def name: String

leaf name

leaf name

def parent: Option[Path]

Concrete methods

override def equals(other: Any): Boolean
Definition Classes
Any
override def hashCode: Int
Definition Classes
Any
def isAbsolute: Boolean
def isLeaf: Boolean
def iterator: Iterator[String]
override def toString: String
Definition Classes
Iterable -> Any

Inherited methods

@inline
final def ++[B >: String](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
@inline
final def addString(b: StringBuilder): StringBuilder
Inherited from
IterableOnceOps
@inline
final def addString(b: StringBuilder, sep: String): StringBuilder
Inherited from
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
Inherited from
IterableOnceOps
def collect[B](pf: PartialFunction[String, B]): Iterable[B]
Inherited from
IterableOps
def collectFirst[B](pf: PartialFunction[String, B]): Option[B]
Inherited from
IterableOnceOps
def concat[B >: String](suffix: IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def copyToArray[B >: String](xs: Array[B], start: Int, len: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: String](xs: Array[B], start: Int): Int
Inherited from
IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
def copyToArray[B >: String](xs: Array[B]): Int
Inherited from
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (String, B) => Boolean): Boolean
Inherited from
IterableOnceOps
def count(p: String => Boolean): Int
Inherited from
IterableOnceOps
def drop(n: Int): Iterable[String]
Inherited from
IterableOps
def dropRight(n: Int): Iterable[String]
Inherited from
IterableOps
def dropWhile(p: String => Boolean): Iterable[String]
Inherited from
IterableOps
override def empty: Iterable[String]
Definition Classes
IterableFactoryDefaults -> IterableOps
Inherited from
IterableFactoryDefaults
def exists(p: String => Boolean): Boolean
Inherited from
IterableOnceOps
def filter(pred: String => Boolean): Iterable[String]
Inherited from
IterableOps
def filterNot(pred: String => Boolean): Iterable[String]
Inherited from
IterableOps
def find(p: String => Boolean): Option[String]
Inherited from
IterableOnceOps
def flatMap[B](f: String => IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def flatten[B](asIterable: String => IterableOnce[B]): Iterable[B]
Inherited from
IterableOps
def fold[A1 >: String](z: A1)(op: (A1, A1) => A1): A1
Inherited from
IterableOnceOps
def foldLeft[B](z: B)(op: (B, String) => B): B
Inherited from
IterableOnceOps
def foldRight[B](z: B)(op: (String, B) => B): B
Inherited from
IterableOnceOps
def forall(p: String => Boolean): Boolean
Inherited from
IterableOnceOps
def foreach[U](f: String => U): Unit
Inherited from
IterableOnceOps
protected def fromSpecific(coll: IterableOnce[String]): Iterable[String]
Inherited from
IterableFactoryDefaults
def groupBy[K](f: String => K): Map[K, Iterable[String]]
Inherited from
IterableOps
def groupMap[K, B](key: String => K)(f: String => B): Map[K, Iterable[B]]
Inherited from
IterableOps
def groupMapReduce[K, B](key: String => K)(f: String => B)(reduce: (B, B) => B): Map[K, B]
Inherited from
IterableOps
def grouped(size: Int): Iterator[Iterable[String]]
Inherited from
IterableOps
def head: String
Inherited from
IterableOps
def headOption: Option[String]
Inherited from
IterableOps
def init: Iterable[String]
Inherited from
IterableOps
def inits: Iterator[Iterable[String]]
Inherited from
IterableOps
def isEmpty: Boolean
Inherited from
IterableOnceOps
override def isTraversableAgain: Boolean
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def iterableFactory: IterableFactory[[A] =>> Iterable[A]]
Inherited from
Iterable
def knownSize: Int
Inherited from
IterableOnce
def last: String
Inherited from
IterableOps
def lastOption: Option[String]
Inherited from
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[String, B, Path]
Inherited from
Iterable
def map[B](f: String => B): Iterable[B]
Inherited from
IterableOps
def max[B >: String](ord: Ordering[B]): String
Inherited from
IterableOnceOps
def maxBy[B](f: String => B)(cmp: Ordering[B]): String
Inherited from
IterableOnceOps
def maxByOption[B](f: String => B)(cmp: Ordering[B]): Option[String]
Inherited from
IterableOnceOps
def maxOption[B >: String](ord: Ordering[B]): Option[String]
Inherited from
IterableOnceOps
def min[B >: String](ord: Ordering[B]): String
Inherited from
IterableOnceOps
def minBy[B](f: String => B)(cmp: Ordering[B]): String
Inherited from
IterableOnceOps
def minByOption[B](f: String => B)(cmp: Ordering[B]): Option[String]
Inherited from
IterableOnceOps
def minOption[B >: String](ord: Ordering[B]): Option[String]
Inherited from
IterableOnceOps
@inline
final def mkString: String
Inherited from
IterableOnceOps
@inline
final def mkString(sep: String): String
Inherited from
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from
IterableOnceOps
protected def newSpecificBuilder: Builder[String, Iterable[String]]
Inherited from
IterableFactoryDefaults
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
def nonEmpty: Boolean
Inherited from
IterableOnceOps
def partition(p: String => Boolean): (Iterable[String], Iterable[String])
Inherited from
IterableOps
def partitionMap[A1, A2](f: String => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def product[B >: String](num: Numeric[B]): B
Inherited from
IterableOnceOps
def reduce[B >: String](op: (B, B) => B): B
Inherited from
IterableOnceOps
def reduceLeft[B >: String](op: (B, String) => B): B
Inherited from
IterableOnceOps
def reduceLeftOption[B >: String](op: (B, String) => B): Option[B]
Inherited from
IterableOnceOps
def reduceOption[B >: String](op: (B, B) => B): Option[B]
Inherited from
IterableOnceOps
def reduceRight[B >: String](op: (String, B) => B): B
Inherited from
IterableOnceOps
def reduceRightOption[B >: String](op: (String, B) => B): Option[B]
Inherited from
IterableOnceOps
protected def reversed: Iterable[String]
Inherited from
IterableOnceOps
def scan[B >: String](z: B)(op: (B, B) => B): Iterable[B]
Inherited from
IterableOps
def scanLeft[B](z: B)(op: (B, String) => B): Iterable[B]
Inherited from
IterableOps
def scanRight[B](z: B)(op: (String, B) => B): Iterable[B]
Inherited from
IterableOps
def size: Int
Inherited from
IterableOnceOps
def sizeCompare(that: Iterable[_]): Int
Inherited from
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from
IterableOps
@inline
final def sizeIs: SizeCompareOps
Inherited from
IterableOps
def slice(from: Int, until: Int): Iterable[String]
Inherited from
IterableOps
def sliding(size: Int, step: Int): Iterator[Iterable[String]]
Inherited from
IterableOps
def sliding(size: Int): Iterator[Iterable[String]]
Inherited from
IterableOps
def span(p: String => Boolean): (Iterable[String], Iterable[String])
Inherited from
IterableOps
override def splitAt(n: Int): (Iterable[String], Iterable[String])
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def stepper[S <: Stepper[_]](shape: StepperShape[String, S]): S
Inherited from
IterableOnce
def sum[B >: String](num: Numeric[B]): B
Inherited from
IterableOnceOps
def tail: Iterable[String]
Inherited from
IterableOps
def tails: Iterator[Iterable[String]]
Inherited from
IterableOps
def take(n: Int): Iterable[String]
Inherited from
IterableOps
def takeRight(n: Int): Iterable[String]
Inherited from
IterableOps
def takeWhile(p: String => Boolean): Iterable[String]
Inherited from
IterableOps
override def tapEach[U](f: String => U): Iterable[String]
Definition Classes
IterableOps -> IterableOnceOps
Inherited from
IterableOps
def to[C1](factory: Factory[String, C1]): C1
Inherited from
IterableOnceOps
def toArray[B >: String](ClassTag[B]): Array[B]
Inherited from
IterableOnceOps
@inline
final def toBuffer[B >: String]: Buffer[B]
Inherited from
IterableOnceOps
def toIndexedSeq: IndexedSeq[String]
Inherited from
IterableOnceOps
final def toIterable: Path
Inherited from
Iterable
def toList: List[String]
Inherited from
IterableOnceOps
def toMap[K, V](ev: String <:< (K, V)): Map[K, V]
Inherited from
IterableOnceOps
def toSeq: Seq[String]
Inherited from
IterableOnceOps
def toSet[B >: String]: Set[B]
Inherited from
IterableOnceOps
def toVector: Vector[String]
Inherited from
IterableOnceOps
def transpose[B](asIterable: String => Iterable[B]): Iterable[Iterable[B]]
Inherited from
IterableOps
def unzip[A1, A2](asPair: String => (A1, A2)): (Iterable[A1], Iterable[A2])
Inherited from
IterableOps
def unzip3[A1, A2, A3](asTriple: String => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Inherited from
IterableOps
def view: View[String]
Inherited from
IterableOps
def withFilter(p: String => Boolean): WithFilter[String, [A] =>> Iterable[A]]
Inherited from
IterableOps
def zip[B](that: IterableOnce[B]): Iterable[(String, B)]
Inherited from
IterableOps
def zipAll[A1 >: String, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from
IterableOps
def zipWithIndex: Iterable[(String, Int)]
Inherited from
IterableOps

Deprecated and Inherited methods

@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
def ++:[B >: String](that: IterableOnce[B]): Iterable[B]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use foldLeft instead of /:", "2.13.0")
final def /:[B](z: B)(op: (B, String) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
final def :\[B](z: B)(op: (String, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
def aggregate[B](z: => B)(seqop: (B, String) => B, combop: (B, B) => B): B
Deprecated
Inherited from
IterableOnceOps
@inline @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @deprecated("Use iterableFactory instead", "2.13.0")
def companion: IterableFactory[[A] =>> Iterable[A]]
Deprecated
Inherited from
IterableOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
final def copyToBuffer[B >: String](dest: Buffer[B]): Unit
Deprecated
Inherited from
IterableOnceOps
@deprecated("Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", "2.13.0")
def hasDefiniteSize: Boolean
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use coll instead of repr in a collection implementation, use the collection value itself from the outside", "2.13.0")
final def repr: Iterable[String]
Deprecated
Inherited from
IterableOps
@deprecated("Iterable.seq always returns the iterable itself", "2.13.0")
def seq: Path
Deprecated
Inherited from
Iterable
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
final def toIterator: Iterator[String]
Deprecated
Inherited from
IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
final def toStream: Stream[String]
Deprecated
Inherited from
IterableOnceOps
@deprecated("Use toIterable instead", "2.13.0")
final def toTraversable: Iterable[String]
Deprecated
Inherited from
IterableOps
@deprecated("Use .view.slice(from, until) instead of .view(from, until)", "2.13.0")
def view(from: Int, until: Int): View[String]
Deprecated
Inherited from
IterableOps