trait
Accumulator[Data, +Acc] extends Output[Data]
Abstract Value Members
-
abstract
def
buffer: Acc
-
abstract
def
close(): Unit
-
abstract
def
flush(): Unit
-
abstract
def
write(data: Data): Unit
Concrete Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
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
writeBlock(array: Array[Data], offset: Int = 0, length: Int = 1): Int
Interface for an accumulator which is a special kind of output which collects and stores all input in a buffer which can be retrieved afterwards. No guarantees are made about input supplied after the buffer has been retrieved.
The type of data to be accumulated
The type into which the data will be accumulated