1. /*
  2. * @(#)ShortSeqHolder.java 1.6 00/02/02
  3. *
  4. * Copyright 1999, 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 org.omg.CORBA;
  11. /**
  12. * org/omg/CORBA/ShortSeqHolder.java
  13. * Generated by the IDL-to-Java compiler (portable), version "3.0"
  14. * from streams.idl
  15. * 13 May 1999 22:41:36 o'clock GMT+00:00
  16. */
  17. public final class ShortSeqHolder implements org.omg.CORBA.portable.Streamable
  18. {
  19. public short value[] = null;
  20. public ShortSeqHolder ()
  21. {
  22. }
  23. public ShortSeqHolder (short[] initialValue)
  24. {
  25. value = initialValue;
  26. }
  27. public void _read (org.omg.CORBA.portable.InputStream i)
  28. {
  29. value = org.omg.CORBA.ShortSeqHelper.read (i);
  30. }
  31. public void _write (org.omg.CORBA.portable.OutputStream o)
  32. {
  33. org.omg.CORBA.ShortSeqHelper.write (o, value);
  34. }
  35. public org.omg.CORBA.TypeCode _type ()
  36. {
  37. return org.omg.CORBA.ShortSeqHelper.type ();
  38. }
  39. }