Object

io.radanalytics.silex.util

richslice

Related Doc: package util

Permalink

object richslice

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

Type Members

  1. case class RichSlice(slices: List[Slice]) extends Serializable with Product

    Permalink

    A Rich Slice object, containing a sequence of slice expressions

    A Rich Slice object, containing a sequence of slice expressions

    import io.radanalytics.silex.util.richslice._
    RichSlice(1)             // selects element(1)
    RichSlice(2, 3, 5 to 11) // selects elements 2, 3 and 5 through 11
    RichSlice(9 to 0 by -1)  // selects first 10 elements in reverse order
    RichSlice(20 to * by 2)  // selects elements 20 to end, by 2s
  2. implicit class RichSliceMethods[A, S[E] <: SeqLike[E, S[E]]] extends AnyRef

    Permalink

    Provides rich slice methods on Scala Seq types

  3. sealed trait Slice extends AnyRef

    Permalink

    One slice in a rich slice expression list

  4. sealed trait Star extends AnyRef

    Permalink

    Internal mechanism to support use of '*' in rich slice expressions as a wildcard index

  5. implicit class StarToRange extends AnyRef

    Permalink

    Internal mechanism to support use of '*' in rich slice expressions as a wildcard index

Value Members

  1. final def !=(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *: star.type

    Permalink

    When '*' is used in place of a numeric index, it matches all indices up to or after a bound.

    When '*' is used in place of a numeric index, it matches all indices up to or after a bound.

    import io.radanalytics.silex.util.richslice._
    data.richSlice(* to 5)   // selects elements 0 through 5
    data.richSlice(5 to *)   // selects elmeents 5 up to end of data
    data.richSlice(*)        // selects all data
    data.richSlice(* by -1)  // selects data in reverse order
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. object RichSlice extends Serializable

    Permalink

    Factory methods for instantiating RichSlice objects

    Factory methods for instantiating RichSlice objects

    import io.radanalytics.silex.util.richslice._
    RichSlice(1)             // selects element(1)
    RichSlice(2, 3, 5 to 11) // selects elements 2, 3 and 5 through 11
    RichSlice(9 to 0 by -1)  // selects first 10 elements in reverse order
    RichSlice(20 to * by 2)  // selects elements 20 to end, by 2s
  6. object Slice

    Permalink

    Implicit conversions from rich slice expressions to Slice objects

  7. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. object star extends Star

    Permalink

    Internal mechanism to support use of '*' in rich slice expressions as a wildcard index

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped