Trait

kantan.codecs.resource

ResourceIterable

Related Doc: package resource

Permalink

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]

    Permalink

    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]

    Permalink

    Opens the underlying resource and returns an iterator on it.

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def collect[B](f: PartialFunction[A, B]): Repr[B]

    Permalink
  7. def drop(n: Int): Repr[A]

    Permalink
  8. def dropWhile(p: (A) ⇒ Boolean): Repr[A]

    Permalink
  9. def emap[E, S, B](f: (S) ⇒ Either[E, B])(implicit ev: <:<[A, Either[E, S]]): Repr[Either[E, B]]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def exists(p: (A) ⇒ Boolean): Boolean

    Permalink
  13. def filter(p: (A) ⇒ Boolean): Repr[A]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def find(p: (A) ⇒ Boolean): Option[A]

    Permalink
  16. def flatMap[B](f: (A) ⇒ Repr[B]): Repr[B]

    Permalink
  17. def foldLeft[B](b: B)(op: (B, A) ⇒ B): B

    Permalink
  18. def foldRight[B](z: B)(op: (A, B) ⇒ B): B

    Permalink
  19. def forall(p: (A) ⇒ Boolean): Boolean

    Permalink
  20. def foreach[U](f: (A) ⇒ U): Unit

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def isEmpty: Boolean

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def map[B](f: (A) ⇒ B): Repr[B]

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def nonEmpty: Boolean

    Permalink
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Permalink
  31. def reduceRight[B >: A](op: (A, B) ⇒ B): B

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def take(n: Int): Repr[A]

    Permalink
  34. def takeWhile(p: (A) ⇒ Boolean): Repr[A]

    Permalink
  35. def to[F[_]](implicit cbf: CanBuildFrom[Nothing, A, F[A]]): F[A]

    Permalink
  36. def toIndexedSeq: IndexedSeq[A]

    Permalink
  37. def toIterable: Iterable[A]

    Permalink
  38. def toList: List[A]

    Permalink
  39. def toSeq: Seq[A]

    Permalink
  40. def toSet: Set[A]

    Permalink
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. def toVector: Vector[A]

    Permalink
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def withFilter(p: (A) ⇒ Boolean): Repr[A]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped