Holder of a value that is computed lazy. 类名: Lazy of /** * Creates new instance of Lazy. * @param supplier Supplier * @param <T> 泛型标记 * @return Lazy */Lazy.of(Supplier<T> supplier); get /** * Returns the value. Value will be computed on first call. * @return lazy value */Lazy lazy = new Lazy();lazy.get(); 微信 vs 公众号 精彩内容每日推荐!!!