ShortSeqHolder.java revision 608:7e06bf1dcb09
1238106Sdes/* 2238106Sdes * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. 3249141Sdes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4238106Sdes * 5238106Sdes * This code is free software; you can redistribute it and/or modify it 6238106Sdes * under the terms of the GNU General Public License version 2 only, as 7238106Sdes * published by the Free Software Foundation. Oracle designates this 8249141Sdes * particular file as subject to the "Classpath" exception as provided 9238106Sdes * by Oracle in the LICENSE file that accompanied this code. 10238106Sdes * 11238106Sdes * This code is distributed in the hope that it will be useful, but WITHOUT 12238106Sdes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13238106Sdes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14238106Sdes * version 2 for more details (a copy is included in the LICENSE file that 15238106Sdes * accompanied this code). 16238106Sdes * 17238106Sdes * You should have received a copy of the GNU General Public License version 18238106Sdes * 2 along with this work; if not, write to the Free Software Foundation, 19238106Sdes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20238106Sdes * 21238106Sdes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22238106Sdes * or visit www.oracle.com if you need additional information or have any 23238106Sdes * questions. 24238106Sdes */ 25238106Sdespackage org.omg.CORBA; 26238106Sdes 27238106Sdes 28238106Sdes/** 29238106Sdes* The Holder for <tt>ShortSeq</tt>. For more information on 30238106Sdes* Holder files, see <a href="doc-files/generatedfiles.html#holder"> 31238106Sdes* "Generated Files: Holder Files"</a>.<P> 32238106Sdes* org/omg/CORBA/ShortSeqHolder.java 33238106Sdes* Generated by the IDL-to-Java compiler (portable), version "3.0" 34238106Sdes* from streams.idl 35238106Sdes* 13 May 1999 22:41:36 o'clock GMT+00:00 36238106Sdes*/ 37238106Sdes 38238106Sdespublic final class ShortSeqHolder implements org.omg.CORBA.portable.Streamable 39238106Sdes{ 40238106Sdes public short value[] = null; 41238106Sdes 42238106Sdes public ShortSeqHolder () 43238106Sdes { 44238106Sdes } 45238106Sdes 46238106Sdes public ShortSeqHolder (short[] initialValue) 47238106Sdes { 48238106Sdes value = initialValue; 49238106Sdes } 50238106Sdes 51238106Sdes public void _read (org.omg.CORBA.portable.InputStream i) 52238106Sdes { 53238106Sdes value = org.omg.CORBA.ShortSeqHelper.read (i); 54238106Sdes } 55238106Sdes 56238106Sdes public void _write (org.omg.CORBA.portable.OutputStream o) 57238106Sdes { 58238106Sdes org.omg.CORBA.ShortSeqHelper.write (o, value); 59238106Sdes } 60238106Sdes 61238106Sdes public org.omg.CORBA.TypeCode _type () 62238106Sdes { 63238106Sdes return org.omg.CORBA.ShortSeqHelper.type (); 64238106Sdes } 65238106Sdes 66238106Sdes} 67238106Sdes