相关疑难解决方法(0)

"instanceof Void"总是返回false吗?

这种方法能true以某种方式返回吗?

public static <T> boolean isVoid(T t)
{
    return t instanceof Void;
}
Run Code Online (Sandbox Code Playgroud)

java generics instanceof void

23
推荐指数
2
解决办法
5897
查看次数

标签 统计

generics ×1

instanceof ×1

java ×1

void ×1