java.lang.Void
java.lang.Object
None
None
New as of JDK 1.1
The Void class is an uninstantiable wrapper for the primitive type void. The class contains simply a reference to the Class object that represents the primitive type void. The Void class is necessary as of JDK 1.1 to support the Reflection API and class literals.
public final class java.lang.Void extends java.lang.Object { // Constants public static final Class TYPE; }
The Class object that represents the primitive type void. It is always true that Void.TYPE == void.class.
Method |
Inherited From |
Method |
Inherited From |
---|---|---|---|
clone() |
Object |
equals(Object) |
Object |
finalize() |
Object |
getClass() |
Object |
hashCode() |
Object |
notify() |
Object |
notifyAll() |
Object |
toString() |
Object |
wait() |
Object |
wait(long) |
Object |
wait(long, int) |
Object |