freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

通信工程學(xué)習(xí)資料全-資料下載頁(yè)

2025-06-29 18:02本頁(yè)面
  

【正文】 { JFileChooser fileChooser=new JFileChooser()。 ()。 int result =(this)。 if(result==) return 。 File fileName=()。 ()。 if (fileName==null||().equals()) (fileChooser,文件名無(wú)效, 文件名無(wú)效, )。 else{ try { ()。 FileOutputStream fos=new FileOutputStream(fileName)。 output=new ObjectOutputStream(fos)。 drawings record。 ( index )。 for(int i=0。i index 。i++) { drawings p= itemList[ i ] 。 (p)。 ()。 //將所有圖形信息強(qiáng)制轉(zhuǎn)換成父類線性化存儲(chǔ)到文件中 } ()。 ()。 } catch(IOException ioe) { ()。 } } }//打開(kāi)一個(gè)圖形文件程序段,loadFile函數(shù)通過(guò)建立FileInputStream對(duì)象讀入文件 public void loadFile() { JFileChooser fileChooser=new JFileChooser()。 ()。 int result =(this)。 if(result==) return 。 File fileName=()。 ()。 if (fileName==null||().equals()) (fileChooser,文件名無(wú)效, 文件名無(wú)效, )。 else { try { FileInputStream fis=new FileInputStream(fileName)。 input=new ObjectInputStream(fis)。 drawings inputRecord。 int countNumber=0。 countNumber=()。 for(index=0。index countNumber 。index++) { inputRecord=(drawings)()。 itemList[ index ] = inputRecord 。 } createNewItem()。 ()。 repaint()。 } catch(EOFException endofFileException){ (this,文件里沒(méi)有更多的記錄, 無(wú)法找到類, )。 } catch(ClassNotFoundException classNotFoundException){ (this,不能創(chuàng)建對(duì)象, 文件結(jié)束, )。 } catch (IOException ioException){ (this,從文件讀取資料出錯(cuò), 讀出錯(cuò)誤, )。 } } }//新建一個(gè)文件程序段 public void newFile() { index=0。 currentChoice=3。 color=。 stroke=。 createNewItem()。 repaint()。//將有關(guān)值設(shè)置為初始狀態(tài),并且重畫(huà) }//主函數(shù)段 public static void main(String args[]) {try { ( ())。 } catch ( Exception e ) {}//將界面設(shè)置為當(dāng)前windows風(fēng)格 QingDrawPad newPad=new QingDrawPad()。 ( new WindowAdapter(){ public void windowClosing(WindowEvent e) {(0)。}})。 }}//定義畫(huà)圖的基本圖形單元class drawings implements Serializable//父類,基本圖形單元,用到串行化接口,保存時(shí)所用 { int x1,y1,x2,y2。 //定義坐標(biāo)屬性 int R,G,B。 //定義色彩屬性 float stroke。 //定義線條粗細(xì)屬性 int type。 //定義字體屬性 String s1。 String s2。 //定義字體風(fēng)格屬性 void draw(Graphics2D g2d){}。//定義繪圖函數(shù) }/************************************************* 下面是各種基本圖形單元的子類,都繼承自父類drawings,請(qǐng)仔細(xì)理解繼承的概念**************************************************/ class Line extends drawings //直線類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke, ,))。 (x1,y1,x2,y2)。 } } class Rect extends drawings//矩形類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2))。 } } class fillRect extends drawings//實(shí)心矩形類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2))。 } } class Oval extends drawings//橢圓類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2))。 } } class fillOval extends drawings//實(shí)心橢圓 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2))。 } } class Circle extends drawings//圓類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), ((x1x2),(y1y2)), ((x1x2),(y1y2)) )。 } } class fillCircle extends drawings//實(shí)心圓 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), ((x1x2),(y1y2)), ((x1x2),(y1y2)) )。 } } class RoundRect extends drawings//圓角矩形類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2), 50,35)。 } } class fillRoundRect extends drawings//實(shí)心圓角矩形類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke))。 ((x1,x2),(y1,y2), (x1x2),(y1y2), 50,35)。 } } class Pencil extends drawings//隨筆畫(huà)類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new BasicStroke(stroke, ,))。 (x1,y1,x2,y2)。 } } class Rubber extends drawings//橡皮擦類 { void draw(Graphics2D g2d) { (new Color(255,255,255))。 (new BasicStroke(stroke+4, ,))。 (x1,y1,x2,y2)。 } } class Word extends drawings//輸入文字類 { void draw(Graphics2D g2d) { (new Color(R,G,B))。 (new Font(s2,x2+y2,((int)stroke)*18))。 if (s1!= null ) (s1,x1,y1)。 } }七:參考文獻(xiàn):1::清華大學(xué)出版社,2008.2:楊樹(shù)林、:清華大學(xué)出版社,2006.3:(第二版).北京:清華大學(xué)出版社,2006.4:(第二版)題解與上機(jī)指導(dǎo)(修訂版),2010.通信原理期末考試試題及答案一、填空題(總分24,共12小題,每空1分)數(shù)字通信系統(tǒng)的有效性用 傳輸頻帶利用率 衡量,可靠性用 差錯(cuò)率 衡量。模擬信號(hào)是指信號(hào)的參量可 連續(xù) 取值的信號(hào),數(shù)字信號(hào)是指信號(hào)的參量可 離散 取值的信號(hào)。廣義平均隨機(jī)過(guò)程的數(shù)學(xué)期望、方差與 時(shí)間 無(wú)關(guān),自相關(guān)函數(shù)只與時(shí)間間隔有關(guān)。一個(gè)均值為零方差為的窄帶平穩(wěn)高斯過(guò)程,其包絡(luò)的一維分布服從瑞利分布,相位的一維分布服從均勻分布。當(dāng)無(wú)信號(hào)時(shí),加性噪聲是否存在? 是 乘性噪聲是否存在? 否 。信道容量是指: 信道傳輸信息的速率的最大值 ,香農(nóng)公式可表示為:。設(shè)調(diào)制信號(hào)為f(t)載波為,則抑制載波雙邊帶調(diào)幅信號(hào)的時(shí)域表達(dá)式為,頻域表達(dá)式為。對(duì)最高頻率為fH的調(diào)制信號(hào)m(t)分別進(jìn)行A
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1