package generics; public interface Generator<T> { T next();} 转载于:https://www.cnblogs.com/tingbogiu/p/5842536.html