Code example for ObjectInputStream

Methods: readInt, readObject

0
      oos.writeInt( getRowIndex() );
   } 
    
   private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException 
   { 
      this.setWrappedData( ois.readObject() );
      this.setRowIndex( ois.readInt() );
   } 
    
   public ListDataModel() {} 
    
   public ListDataModel(List list)
   { 
      super(list);
   } 
    
}