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