1package org.mockito.internal.util; 2 3/** 4 * Abstract provider that can supply (provide/create) objects of given type. 5 * 6 * Delete when we move to Java 8 and use built-in type. 7 * 8 * @param <T> type of object to provide/create. 9 */ 10public interface Supplier<T> { 11 12 /** 13 * Provides an instance. 14 */ 15 T get(); 16} 17