ResultReporter.ListBuilder

protected static class ResultReporter.ListBuilder
extends Object

java.lang.Object
com.google.android.tradefed.result.teststorage.ResultReporter.ListBuilder<T>


摘要

公共构造函数

ListBuilder(Collection<T> entries)

公共方法

ListBuilder<T> add(T p)
ListBuilder<T> addAll(Collection<? extends T> collection)
List<T> build()
boolean contains(T e)
boolean isEmpty()

公共构造函数

ListBuilder

public ListBuilder (Collection<T> entries)

参数
entries Collection

公共方法

添加

public ListBuilder<T> add (T p)

参数
p T

返回
ListBuilder<T>

addAll

public ListBuilder<T> addAll (Collection<? extends T> collection)

参数
collection Collection

返回
ListBuilder<T>

build

public List<T> build ()

返回
List<T>

包含

public boolean contains (T e)

参数
e T

返回
boolean

IsEmpty

public boolean isEmpty ()

返回
boolean