1. /*
  2. * @(#)Void.java 1.7 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * The Void class is an uninstantiable placeholder class to hold a
  10. * reference to the Class object representing the primitive Java type
  11. * void.
  12. *
  13. * @author unascribed
  14. * @version 1.7, 11/29/01
  15. * @since JDK1.1
  16. */
  17. public final
  18. class Void {
  19. /**
  20. * The Class object representing the primitive Java type void.
  21. */
  22. public static final Class TYPE = Class.getPrimitiveClass("void");
  23. /*
  24. * The Void class cannot be instantiated.
  25. */
  26. private Void() {}
  27. }