T
- プローブの型。public interface Example<T>
修飾子と型 | メソッドと説明 |
---|---|
ExampleMatcher | getMatcher() ExampleMatcher を使用します。 |
T | getProbe() 使用例を取得します。 |
default ClassSE<T> | getProbeType() 使用されるプローブの実際の型を取得します。 |
static <T> Example<T> | of(T probe) デフォルトですべての null 以外のプロパティを含む新しい Example を作成します。 |
static <T> Example<T> | of(T probe, ExampleMatcher matcher) 指定された ExampleMatcher を使用して新しい Example を作成します。 |
static <T> Example<T> of(T probe)
Example
を作成します。probe
- null であってはなりません。static <T> Example<T> of(T probe, ExampleMatcher matcher)
ExampleMatcher
を使用して新しい Example
を作成します。probe
- null であってはなりません。matcher
- null であってはなりません。T getProbe()
ExampleMatcher getMatcher()
ExampleMatcher
を使用します。default ClassSE<T> getProbeType()
ProxyUtils.getUserClass(Class)
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.