class
TensorPairs[K, V, +This] extends AnyRef
Instance Constructors
-
new
TensorPairs(tensor: This, active: Boolean, f: ((K, V)) ⇒ Boolean = ((x: (K, V)) => true))(implicit ev: <:<[This, Tensor[K, V]])
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
filter(p: ((K, V)) ⇒ Boolean): TensorPairs[K, V, This]
-
def
finalize(): Unit
-
def
foreach[U](fn: (K, V) ⇒ U): Unit
-
def
foreach[U](fn: ((K, V)) ⇒ U): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterator: Iterator[(K, V)]
-
def
map[TT >: This, O, That](fn: ((K, V)) ⇒ O)(implicit bf: CanMapKeyValuePairs[TT, K, V, O, That]): That
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withFilter(p: ((K, V)) ⇒ Boolean): TensorPairs[K, V, This]
Class that is kind of like a collection view of the pairs in a tensor.