CollectionAdapter

scalapb.CollectionAdapter
See theCollectionAdapter companion object
abstract class CollectionAdapter[T, Coll]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type Builder = Builder[T, Either[InvalidProtocolBufferException, Coll]]

Value members

Abstract methods

def concat(first: Coll, second: Iterable[T]): Coll
def empty: Coll
def foreach(coll: Coll)(f: T => Unit): Unit
def size(value: Coll): Int
def toIterator(value: Coll): Iterator[T]

Concrete methods

def fromIterator(x: Iterator[T]): Either[InvalidProtocolBufferException, Coll]
def fromIteratorUnsafe(x: Iterator[T]): Coll