1. /*
  2. * @(#)Void.java 1.8 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.lang;
  11. /**
  12. * The Void class is an uninstantiable placeholder class to hold a
  13. * reference to the Class object representing the primitive Java type
  14. * void.
  15. *
  16. * @author unascribed
  17. * @version 1.8, 02/02/00
  18. * @since JDK1.1
  19. */
  20. public final
  21. class Void {
  22. /**
  23. * The Class object representing the primitive Java type void.
  24. */
  25. public static final Class TYPE = Class.getPrimitiveClass("void");
  26. /*
  27. * The Void class cannot be instantiated.
  28. */
  29. private Void() {}
  30. }