class Table extends Serializable with Activity

Simulate the Table data structure in lua

Linear Supertypes
Activity, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Activity
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def add(other: Table): Table.this.type
  5. def apply[T](key: Any): T
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clear(): Table.this.type

    Empty the Table

  8. def clone(): Table
    Definition Classes
    Table → AnyRef
  9. def contains(key: Any): Boolean
  10. def delete(obj: Any): Table.this.type
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(obj: Any): Boolean
    Definition Classes
    Table → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def flatten(): Table

    Recursively flatten the table to a single table containing no nested table inside

    Recursively flatten the table to a single table containing no nested table inside

    returns

    the flatten table

  15. def foreach[U](f: ((Any, Any)) ⇒ U): Unit
  16. def get[T](key: Any): Option[T]
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getOrElse[T](key: Any, default: T): T
  19. def hashCode(): Int
    Definition Classes
    Table → AnyRef → Any
  20. def insert[T](index: Int, obj: T): Table.this.type
  21. def insert[T](obj: T): Table.this.type
  22. def inverseFlatten(target: Table): Table

    Recursively inverse flatten the flatten table to the same shape with target

    Recursively inverse flatten the flatten table to the same shape with target

    target

    the target shape to become

    returns

    the inverse flatten the table with the same shape with target

  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def isTable: Boolean

    Return true because it's a Table implemented from Activity

    Return true because it's a Table implemented from Activity

    returns

    true

    Definition Classes
    TableActivity
  25. def isTensor: Boolean

    Return false because it's not a Tensor

    Return false because it's not a Tensor

    returns

    false

    Definition Classes
    TableActivity
  26. def keySet: Set[Any]
  27. def length(): Int
  28. def map[U](func: ((Any, Any)) ⇒ U): Iterable[U]
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def remove[T](): Option[T]
  33. def remove[T](index: Int): Option[T]
  34. def save(path: String, overWrite: Boolean): Table.this.type
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toSeq[D]: Seq[D]

    Return the elements of this table as a Seq.

    Return the elements of this table as a Seq. This method assumes the key of this table are all the integers between 1 to this.length(), the values are all D

  37. def toString(): String
    Definition Classes
    Table → AnyRef → Any
  38. def toTable: Table
    Definition Classes
    TableActivity
  39. def toTensor[D](implicit ev: TensorNumeric[D]): Tensor[D]
    Definition Classes
    TableActivity
  40. def update(key: Any, value: Any): Table.this.type
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Activity

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped