Packages

t

kantan.codecs.resource

ResourceIterable

trait ResourceIterable[A] extends AnyRef

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

Type Members

  1. abstract type Repr[X] <: ResourceIterable[X]

    Type of the concrete implementation.

    Type of the concrete implementation.

    This is needed to be able to perform transforming operations, such as map, without losing information about the type we're working with.

Abstract Value Members

  1. abstract def iterator: ResourceIterator[A]

    Opens the underlying resource and returns an iterator on it.

  2. abstract def onIterator[B](f: (ResourceIterator[A]) ⇒ ResourceIterator[B]): Repr[B]

    Used to perform operations on the underlying operator, but later.

    Used to perform operations on the underlying operator, but later.

    The point is to allow methods such as map to be lazy: the mapping operation will be only be applied when iterator is called, not immediately as is Traversable's default behaviour.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def collect[B](f: PartialFunction[A, B]): Repr[B]
  7. def drop(n: Int): Repr[A]
  8. def dropWhile(p: (A) ⇒ Boolean): Repr[A]
  9. def emap[E, S, B](f: (S) ⇒ Either[E, B])(implicit ev: <:<[A, Either[E, S]]): Repr[Either[E, B]]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def exists(p: (A) ⇒ Boolean): Boolean
  13. def filter(p: (A) ⇒ Boolean): Repr[A]
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def find(p: (A) ⇒ Boolean): Option[A]
  16. def flatMap[B](f: (A) ⇒ Repr[B]): Repr[B]
  17. def foldLeft[B](b: B)(op: (B, A) ⇒ B): B
  18. def foldRight[B](z: B)(op: (A, B) ⇒ B): B
  19. def forall(p: (A) ⇒ Boolean): Boolean
  20. def foreach[U](f: (A) ⇒ U): Unit
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def isEmpty: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def map[B](f: (A) ⇒ B): Repr[B]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def nonEmpty: Boolean
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def reduceLeft[B >: A](op: (B, A) ⇒ B): B
  31. def reduceRight[B >: A](op: (A, B) ⇒ B): B
  32. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  33. def take(n: Int): Repr[A]
  34. def takeWhile(p: (A) ⇒ Boolean): Repr[A]
  35. def to[F[_]](implicit cbf: CanBuildFrom[Nothing, A, F[A]]): F[A]
  36. def toIndexedSeq: IndexedSeq[A]
  37. def toIterable: Iterable[A]
  38. def toList: List[A]
  39. def toSeq: Seq[A]
  40. def toSet: Set[A]
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def toVector: Vector[A]
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  46. def withFilter(p: (A) ⇒ Boolean): Repr[A]

Inherited from AnyRef

Inherited from Any

Ungrouped