kantan.codecs.resource

ResourceIterable

trait ResourceIterable[A] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ResourceIterable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

  11. final def eq(arg0: AnyRef): Boolean

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

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

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

  15. def finalize(): Unit

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

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

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

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

  20. def forall(p: (A) ⇒ Boolean): Boolean

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

  22. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  24. def isEmpty: Boolean

  25. final def isInstanceOf[T0]: Boolean

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

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def nonEmpty: Boolean

  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

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

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

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

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

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

  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped