package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==null) { vear=newNode front=newNode return } vear.next=newNode vear=newNode } public int remove() { if(this.front==null) { System.out.println("隊是空的,無法取") return -1 } int temp=this.front.data this.front=this.front.next if(this.front==null) { this.vear=null }
資源簡介:package query public class LinkQuery { private Node front private Node vear public LinkQuery() { this.front=null this.vear=null } public void add(int i) { Node newNode=new Node(i) if(vear==null && front==...
上傳時間: 2016-07-08
上傳用戶:天誠24
資源簡介:package youxiangtu import java.io.* public class YXTu{ static public void main(String[] args){
上傳時間: 2014-01-10
上傳用戶:zjf3110
資源簡介:package news import java.sql.ResultSet import java.util.Vector public class News {
上傳時間: 2014-01-01
上傳用戶:sclyutian
資源簡介:public class DBClass { private String driver private String url private String username private String password private Connection connection private Statement statement private String message="" }
上傳時間: 2017-05-23
上傳用戶:c12228
資源簡介:public class phpmailer phpmailer - PHP email transport cla
上傳時間: 2014-08-11
上傳用戶:busterman
資源簡介:編寫JavaBean必須滿足以下幾點: 所有的JavaBean必須放在一個包中 JavaBean必須聲明成public class類型 所有的屬性必須封裝 設置和取得屬性可以通過set,get
上傳時間: 2016-07-04
上傳用戶:AbuGe
資源簡介:public class CircleMenuCanvas extends Canvas implements Runnable{ double pi = Math.PI public final int MENURIGHT = 1 public final int MENULEFT = 0 Image menuImage[] = new Image[6] int []jiaodu = {330,30,90,150,210,270} Stri...
上傳時間: 2014-01-08
上傳用戶:zhaoq123
資源簡介:HashTable實例 public class HashTable_msg { public HashTable_msg() { String sum_sql="select mobilenum,count(*) from SJSJ_Msg where (left(in_date,6)=(select left(CONVERT(varchar(12) , getdate(), 112 ),6)))group by mobilenum" ...
上傳時間: 2014-12-07
上傳用戶:a6697238
資源簡介:public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上傳時間: 2014-08-26
上傳用戶:chenbhdt
資源簡介:public class guestbook{ String sDBDriver = "sun.jdbc.odbc.JdbcOdbcDriver" String sConnStr = "jdbc:odbc:guestbook" Connection conn = null ResultSet rs = null
上傳時間: 2017-05-23
上傳用戶:qiaoyue
資源簡介:MATSNL is a package of MATLAB M-files for computing wireless sensor Node lifetime/power budget and solving optimal Node architecture choice problems. It is intended as an analysis and simulation tool for researchers and educators that are e...
上傳時間: 2014-01-01
上傳用戶:lnnn30
資源簡介:MATSNL is a package of MATLAB M-files for computing wireless sensor Node lifetime/power budget and solving optimal Node architecture choice problems. It is intended as an analysis and simulation tool for researchers and educators that are...
上傳時間: 2017-07-19
上傳用戶:hasan2015
資源簡介:第一個Java程序 public class Practice { public static void main(String args[]) { System.out.println("**********************************") System.out.println("** Practice makes perfect") System.out.println("*****************...
上傳時間: 2017-09-05
上傳用戶:xiaoyunyun
資源簡介:A Module-based Wireless Node (MW-Node) is a Node with wireless and mobile capabilities added by means of modules. It is not a new Node object derived from Node. Rather it is a new layout of mostly existing components. Rationale for this new...
上傳時間: 2013-12-26
上傳用戶:大三三
資源簡介:購物車系統中的名牌產品類,private Integer id private String enName private String cnName private String smallPhoto private String bigPhoto private String description private Set products = new HashSet(0)
上傳時間: 2013-12-22
上傳用戶:璇珠官人
資源簡介: ? Java函數速查 你能很快的查到你要的函數 DataBinding類 代表數據源字段和組件屬性之間一個單獨的綁定。 package com.ms.wfc.data.ui public class DataBinding implements IConstructable 說明 DataBinder控件使用該類來表示數據源...
上傳時間: 2013-12-20
上傳用戶:TRIFCT
資源簡介:在研究傳統家用燃氣報警器的基礎上,以ZigBee協議為平臺,構建mesh網狀網絡實現網絡化的智能語音報警系統。由于傳感器本身的溫度和實際環境溫度的影響,傳感器標定后采用軟件補償方法。為了減少系統費用,前端節點采用半功能節點設備,路由器和協調器采用全功...
上傳時間: 2013-10-30
上傳用戶:swaylong
資源簡介:Dijkstra算法求最短路徑(C#版) using System using System.Collections using System.Text namespace Greedy { class Marx { private int[] distance private int row private ArrayList ways = new ArrayList() public Marx(int n,pa...
上傳時間: 2013-12-29
上傳用戶:liglechongchong
資源簡介:java的一個源代碼,、 public class ThunderBoltAct extends Canvas implements Runnable { private int TIMEOUT = 0 private final static int NUMERIC = 10000 //總分 private final static int INERRGAL = 60 //頻率 private final static int M...
上傳時間: 2016-04-26
上傳用戶:jichenxi0730
資源簡介:MediaPlayer代碼,部分代碼,合適請用: import java.awt.* import java.awt.event.* import javax.swing.* import javax.media.* import java.io.* import java.util.* //為了導入Vector //import com.sun.java.swing.plaf.windows.* public...
上傳時間: 2016-07-08
上傳用戶:爺的氣質
資源簡介:creat a certificate using makecert creat a PKCS#12.pfx file to store the private key Encrypte data using the public Key in Certificate Decrypt data using the private key in a PKCS#12.pfx file
上傳時間: 2016-10-28
上傳用戶:agent
資源簡介:本同學錄系統演示地址: http://class.19870123.cn/ 下載后請在Web.Config里更改設置,如數據庫路徑等 如果要換sql數據庫,請將app_code里的MyPage.cs改為以下代碼即可 public class MyPage : LeeHom.Web.UI.SqlPage { } public class MyMasterPage :...
上傳時間: 2013-12-10
上傳用戶:hxy200501
資源簡介:/** ?* 用于在邏輯和界面間傳輸數據的bean ?* @version 1.0 ?*/ public class DataBean { ? ? private int first = -1; ? ? private int second = -1; ? ? public int getFirst() { ? ? ? ? return first; ? ? } ? ? public int getSecon...
上傳時間: 2015-11-07
上傳用戶:dddhhhwww
資源簡介:/*import java.util.Scanner; //主類 public class student122 { ??//主方法 ??public static void main(String[] args){ ????//定義7個元素的字符數組 ????String[] st = new String[7]; ????inputSt(st); ?????...
上傳時間: 2017-03-17
上傳用戶:simple
資源簡介:Text processing often involves matching text against a pattern. Although Java s character and assorted string classes offerlow- levelpattern- matching support, that support commonly leads to complex code. To help you write simplerpattern- m...
上傳時間: 2014-01-19
上傳用戶:愛死愛死
資源簡介:手機游戲坦克大戰import java.awt.* import javax.swing.* import java.awt.event.* import java.util.EventListener public class HsTank2 extends JFrame { HsTank2(String title) { this.setTitle(title) this.setSize(608 , 630) this....
上傳時間: 2015-10-17
上傳用戶:李彥東
資源簡介:/** * 顯示輸入提示壓縮或解壓縮 繼承了InputStream類,裝有輸入流。 */ public class HZIPInputStream extends InputStream { /** * HZIPInputStream 類的構造函數,定義了huffman樹,輸入流。 * * @param in 輸入流。 * @throws IOExc...
上傳時間: 2016-06-29
上傳用戶:plsee
資源簡介:基于java實現http服務器//httpServer.java import java.net.* import java.io.* import java.util.* import java.lang.* public class httpServer
上傳時間: 2013-12-24
上傳用戶:watch100
資源簡介:隨機元胞自動機的分形畫法的實現,public class Lift extends Applet implements ActionListener
上傳時間: 2014-11-21
上傳用戶:來茴
資源簡介:元胞自動機生成的Sierpinski三角形,public class sierpinski2 extends JApplet implements ActionListener
上傳時間: 2014-01-19
上傳用戶:woshini123456