Package org.jboss.serial.finalcontainers

Examples of org.jboss.serial.finalcontainers.ShortContainer


         * @see java.io.DataOutput#writeShort(int)
         */
        public void writeShort(int v) throws IOException
        {
            //DataContainer.this.content.add(Short.valueOf((short)v));
            DataContainer.this.content.add(new ShortContainer((short)v));
        }
View Full Code Here


                case BYTE:
                    content.add(new ByteContainer(input.readByte()));break;
                case BYTEOBJ:
                    content.add(new Byte(input.readByte()));break;
                case SHORT:
                    content.add(new ShortContainer(input.readShort()));break;
                case SHORTOBJ:
                    content.add(new Short(input.readShort()));break;
                case INTEGER:
                    content.add(new IntegerContainer(input.readInt()));break;
                case INTEGEROBJ:
View Full Code Here

                case BYTE:
                    content.add(new ByteContainer(input.readByte()));break;
                case BYTEOBJ:
                    content.add(new Byte(input.readByte()));break;
                case SHORT:
                    content.add(new ShortContainer(input.readShort()));break;
                case SHORTOBJ:
                    content.add(new Short(input.readShort()));break;
                case INTEGER:
                    content.add(new IntegerContainer(input.readInt()));break;
                case INTEGEROBJ:
View Full Code Here

         * @see java.io.DataOutput#writeShort(int)
         */
        public void writeShort(int v) throws IOException
        {
            //DataContainer.this.content.add(Short.valueOf((short)v));
            DataContainer.this.content.add(new ShortContainer((short)v));
        }
View Full Code Here

               break;
            case BYTEOBJ:
               content.add(new Byte(input.readByte()));
               break;
            case SHORT:
               content.add(new ShortContainer(input.readShort()));
               break;
            case SHORTOBJ:
               content.add(new Short(input.readShort()));
               break;
            case INTEGER:
View Full Code Here

       * @see java.io.DataOutput#writeShort(int)
       */
      public void writeShort(int v) throws IOException
      {
         // DataContainer.this.content.add(Short.valueOf((short)v));
         DataContainer.this.content.add(new ShortContainer((short)v));
      }
View Full Code Here

/*     */     case 6:
/* 169 */       value = new IntegerContainer(input.readInt()); break;
/*     */     case 7:
/* 172 */       value = new LongContainer(input.readLong()); break;
/*     */     case 8:
/* 175 */       value = new ShortContainer(input.readShort()); break;
/*     */     case 3:
/* 178 */       value = input.readObject(); break;
/*     */     case 4:
/*     */     default:
/* 181 */       throw new RuntimeException("Unexpected datatype " + datatype);
View Full Code Here

/*      */       case 9:
/* 1425 */         this.content.add(new ByteContainer(input.readByte())); break;
/*      */       case 29:
/* 1427 */         this.content.add(new Byte(input.readByte())); break;
/*      */       case 8:
/* 1429 */         this.content.add(new ShortContainer(input.readShort())); break;
/*      */       case 28:
/* 1431 */         this.content.add(new Short(input.readShort())); break;
/*      */       case 6:
/* 1433 */         this.content.add(new IntegerContainer(input.readInt())); break;
/*      */       case 26:
View Full Code Here

/*      */     }
/*      */
/*      */     public void writeShort(int v)
/*      */       throws IOException
/*      */     {
/*  530 */       DataContainer.this.content.add(new ShortContainer((short)v));
/*      */     }
View Full Code Here

TOP

Related Classes of org.jboss.serial.finalcontainers.ShortContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.