亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? java data structures (2nd edition).mht

?? java數(shù)據(jù)結(jié)構(gòu)與算法有很好的代碼
?? MHT
?? 第 1 頁 / 共 5 頁
字號:
From: <óé Windows Internet Explorer 7 ±£′?>
Subject: Java Data Structures (2nd edition)
Date: Fri, 9 Nov 2007 03:30:15 +0800
MIME-Version: 1.0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.theparticle.com/_javadata2.html
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Java Data Structures (2nd edition)</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3DParticle name=3Dauthor>
<META content=3D"particle at NO SPAM the particle dot com" name=3Downer>
<META content=3D"For Everyone." name=3Drating>
<META content=3D"Java Data Structures 2nd Edition." name=3Ddescription>
<META=20
content=3D"Particle; Java; Data; Structures; Java Data Structures =
Tutorial; Sorting; Searching; Binary Tree; Lists; Queues; Stacks"=20
name=3Dkeywords>
<STYLE>BODY {
	FONT-SIZE: 10pt; FONT-FAMILY: Verdana, Arial, Helvetica, Sans-Serif
}
CODE {
	COLOR: #000000
}
H1 {
	FONT-WEIGHT: normal; FONT-SIZE: 22pt
}
H2 {
	FONT-WEIGHT: normal; FONT-SIZE: 17pt
}
A {
	COLOR: #000080
}
</STYLE>

<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR></HEAD>
<BODY text=3D#000080 vLink=3D#000080 aLink=3D#000080 link=3D#000080 =
bgColor=3D#ffffff>
<BLOCKQUOTE>
  <H1><NOBR>Java Data Structures</NOBR> <NOBR>(2nd edition)</NOBR></H1>
  <P>=A9 1996-2001, Particle</P></BLOCKQUOTE>
<H2><I>Introduction...</I></H2>
<BLOCKQUOTE>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; Welcome to <I><B>Java Data=20
  Structures</B></I> (2nd edition). This document was created with an =
intent to=20
  show people how easy Java really is, and to clear up a few =
<I>things</I> I've=20
  missed in the previous release of the document.</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; This is a growing document; as =
new=20
  features are added to the language, new techniques are discovered or =
realized,=20
  this document shall be updated to try to accommodate them all. If you =
have=20
  suggestions, or requests, (or spelling/grammar errors) just e-mail =
them, and=20
  I'll try to add the suggested topics into the subsequent release. =
Because this=20
  document is changing so much, I've decided to implement a version =
number. This=20
  release is: <EM>v2.2.11</EM>, updated: <EM>May 7th, 2002</EM>.</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; Current release of the document, =
including=20
  all the sources, can be downloaded here:</P>
  <P align=3Dcenter>[<A =
href=3D"http://www.theparticle.com/javadata2.zip">download=20
  zip with sources and everything</A>]</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; Of course, this document is =
free, and I=20
  intend to keep it that way. Selling of this document is NOT permitted. =
You=20
  <EM>WILL</EM> go to hell if you do (<EM>trust me</EM>). (not that =
anybody=20
  would want to buy it...) You may distribute this document (in =
<EM>ANY</EM>=20
  form), provided you don't change it. (yes, you CAN include it in a =
book=20
  provided you notify me and give me credit &lt;and give me one free =
copy of the=20
  book&gt;) To my knowledge, this document has already been reproduced =
and=20
  distributed within some corporations, schools and colleges, but has =
yet to be=20
  formally published in a book.</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; I take no responsibility for=20
  <EM>ANYTHING</EM>. I am only responsible for all the good things you =
like=20
  about the article. So, remember, if it's bad, don't blame me, if it's =
good,=20
  thank me (give me credit).</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; All the source has been compiled =
and=20
  tested using <EM>JDK v1.2</EM>. Although most things should work =
flawlessly=20
  with previous versions, there are things where <EM>JDK 1.2</EM> is =
more=20
  appropriate. If you find problems and/or errors, please let me =
know.</P>
  <P align=3Djustify>&nbsp;&nbsp;&nbsp; Although this document should be =
read in=20
  sequence, it is divided into several major sections, here they =
are:</P>
  <P align=3Djustify><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Variables">Variables</=
A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Arrays">Arrays</A><BR>=
<A=20
  href=3D"http://www.theparticle.com/_javadata2.html#Array_Stack">Array=20
  Stack</A><BR><A=20
  href=3D"http://www.theparticle.com/_javadata2.html#Array_Queue">Array=20
  Queue</A><BR><A=20
  href=3D"http://www.theparticle.com/_javadata2.html#Array_List">Array=20
  List</A><BR><A=20
  href=3D"http://www.theparticle.com/_javadata2.html#The_Vector">The=20
  Vector</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Nodes">Nodes</A><BR><B=
R><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Linked_Lists">Linked=20
  Lists</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Reusing_Tricks">Reusin=
g=20
  Tricks</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Trees">Trees</A><BR><A=
=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Generic_Tree">Generic =

  Tree</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Comparing_Objects">Com=
paring=20
  Objects</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Binary_Search_Trees">B=
inary=20
  Search Trees</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Tree_Traversals">Tree =

  Traversals</A><BR><BR><A=20
  href=3D"http://www.theparticle.com/_javadata2.html#Node_Pools">Node=20
  Pools</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Node_Pool_Nodes">Node =
Pool=20
  Nodes</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Node_Pool_Generic_Tree=
s">Node=20
  Pool Generic Trees</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Node_Pool_Sort_Trees">=
Node=20
  Pool Sort Trees</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Priority_Vectors__etc_=
">Priority=20
  Vectors</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Sorting">Sorting</A><B=
R><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Sorting_JDK_1_2_Style"=
>Sorting=20
  JDK 1.2 Style</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Sorting_using_Quicksor=
t">Sorting=20
  using Quicksort</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Optimizing_Quicksort">=
Optimizing=20
  Quicksort</A><BR><A=20
  href=3D"http://www.theparticle.com/_javadata2.html#Radix_Sort">Radix=20
  Sort</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Improving_Radix_Sort">=
Improving=20
  Radix Sort</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Reading_and_Writing_Tr=
ees">Reading=20
  and Writing Trees (Serialization)</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Deleting_items_from_a_=
Binary_Search_Tree">Deleting=20
  items from a Binary Search Tree</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Determining_Tree_Depth=
">Determining=20
  Tree Depth</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Advanced_Linked_Lists"=
>Advanced=20
  Linked Lists</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Doubly_Linked_Lists_wi=
th_Enumeration">Doubly=20
  Linked Lists (with Enumeration)</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Binary_Space_Partition=
_Trees">Binary=20
  Space Partition Trees (BSP)</A><BR><A=20
  href=3D"http://www.theparticle.com/javadata_dog3d.html">Binary Space =
Partition=20
  Tree DEMO (Dog 3D)</A><BR><A=20
  href=3D"http://www.theparticle.com/javadata_dog3d_2nd.html">Binary =
Space=20
  Partition Tree DEMO with Lighting (Dog 3D)</A><BR><BR><B><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Kitchen_Sink_Methods">=
Kitchen=20
  Sink Methods</A></B><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Java_Native_Interface"=
>Java=20
  Native Interface (JNI)</A><BR><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Bibliography">Bibliogr=
aphy</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Special_Thanks">Specia=
l=20
  Thanks</A><BR><A=20
  =
href=3D"http://www.theparticle.com/_javadata2.html#Contact_Info">Contact =

  Info</A></P></BLOCKQUOTE>
<HR SIZE=3D1>

<P align=3Djustify>&nbsp;&nbsp;&nbsp; In contrast to what most people =
think about=20
Java, it being a language with no pointers, data structures are quite =
easy to=20
implement. In this section, I'll demonstrate few basic data structures. =
By=20
learning how easy they are to implement in Java, you'll be able to write =
any=20
implementation yourself.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; I also think that this document is =
a pretty=20
good introduction to <EM><STRONG>Data Structures</STRONG></EM> in =
general. All=20
these concepts can be applied in any programming language. Incidentally, =
most of=20
these programs are ported from their C++ counterparts. So, if you want =
to learn=20
Data Structures in C/C++, you'll still find this document useful! Java =
is an=20
Object Oriented language, but more so than C++, so, most data structure =
concepts=20
are expressed and illustrated <EM>"more naturally"</EM> in Java! =
(<EM>try not to=20
raise your blood pressure from all the caffeine</EM>)</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; I suggest that you be familiar =
with Java=20
format, and know some other programming language in advance. =
Coincidentally, I=20
and a couple of my friends are in the process of writing a C language =
book,=20
which deals with all that "start up" stuff.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; The way most examples are executed =
is=20
through the JDK's command line Java interpreter. (at the prompt, you =
just type=20
<CODE>"java"</CODE> and the name of the class to run.)</P>
<HR SIZE=3D1>

<H2><A name=3DVariables><I>Variables...</I></A></H2>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; Variables are the key to any =
program. There=20
are variables called registers inside every CPU (Central Processing =
Unit). Every=20
program ever written uses some form of variables. Believe it or not, the =
way you=20
use variables can significantly impact your program. This section is a =
very=20
simple introduction to what variables are, and how they're used in =
programs.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; Usually, a variable implies a =
memory=20
location to hold one instance of one specific type. What this means is =
that if=20
there is an integer variable, it can only hold one integer, and if there =
is a=20
character variable, it can only hold one character.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; There can be many different types =
of=20
variables, including of your own type. A sample declaration for =
different=20
variable types is given below.</P><PRE><CODE>boolean t;
byte b;
char c;
int i;
long l;</CODE></PRE>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; I believe the above is straight =
forward, and=20
doesn't need much explanation. Variable <CODE>'t'</CODE> is declared as=20
<CODE>boolean</CODE> type, and <CODE>'b'</CODE> as of <CODE>byte</CODE> =
type,=20
etc.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; The above variables are what's =
know as=20
primitive types. Primitive types in Java means that you don't have to =
create=20
them, they're already available as soon as you declare them. (you'll see =
what I=20
mean when we deal with Objects) It also means that there is usually some =

hardware equivalent to these variables. For example, an <CODE>int</CODE> =
type,=20
can be stored in a 32 bit hardware register.</P>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; The other types of variables are =
instances=20
of classes or Objects. Java is a very <EM>Object Oriented</EM> language, =
and=20
everything in it, is an object. An object is an instance of a class. =
Your Java=20
programs consist of classes, in which you manipulate objects, and make =
the whole=20
program do what you want. This concept will be familiar to you if you've =
ever=20
programmed C++, if not, think of objects as structures. An example of a =
simple=20
class would be:</P><PRE><CODE>public class pSimpleObject{
    int i;
    public pSimpleObject(){
        i =3D 0;
    }
    public int get(){
        return i;
    }
    public void set(int n){
        i =3D n;
    }
}</CODE></PRE>
<P align=3Djustify>&nbsp;&nbsp;&nbsp; As you can see, first we specify =
that the=20
class is <CODE>public</CODE>, this means that it can be visible to other =
objects=20
outside it's file. We later say that it's a <CODE>class</CODE>, and give =
it's=20
name, which in this case is: <CODE>pSimpleObject</CODE>. Inside of it, =
the class=20
contains an integer named <CODE>'i'</CODE>, and three functions. The =
first=20
function named <CODE>pSimpleObject()</CODE>, is the constructor. It is =
called=20

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区视频免费| 欧美一区二区三区男人的天堂| 一区二区三区**美女毛片| 日韩欧美一级二级| 色综合久久99| 国产精品自拍网站| 亚洲成av人片一区二区梦乃| 国产亚洲欧美日韩在线一区| 欧美性猛交xxxxxx富婆| 国产69精品久久777的优势| 免费观看在线色综合| 一区二区三区四区在线| 中文字幕在线免费不卡| 久久精品一级爱片| 日韩欧美国产一区二区三区 | 国产iv一区二区三区| 日韩av成人高清| 亚洲视频每日更新| 久久九九全国免费| 亚洲精品一线二线三线无人区| 欧美视频自拍偷拍| 色综合天天综合网天天狠天天| 国产91丝袜在线播放0| 麻豆国产欧美日韩综合精品二区 | 亚洲国产精品久久人人爱蜜臀| 一本久道久久综合中文字幕| 成人深夜在线观看| 奇米影视一区二区三区| 综合久久久久久久| 欧美精品一区二区三区蜜桃| 欧美网站一区二区| 成人免费视频网站在线观看| 免费xxxx性欧美18vr| 亚洲一区二区成人在线观看| 中文字幕欧美三区| 欧美少妇性性性| 91在线免费视频观看| 久久国产免费看| 奇米影视一区二区三区| 亚洲国产日韩在线一区模特| 日韩美女视频一区| 国产日韩av一区| 亚洲精品一区二区三区在线观看| 欧美视频第二页| 欧洲国内综合视频| 91网站在线观看视频| 粉嫩aⅴ一区二区三区四区 | 国产乱色国产精品免费视频| 日本大胆欧美人术艺术动态| 一二三区精品福利视频| 欧美韩国日本不卡| 国产日韩三级在线| 亚洲精品一区二区三区影院| 精品国产乱码久久久久久蜜臀| 91麻豆精品91久久久久同性| 欧美一区午夜精品| 在线综合视频播放| 欧美日韩一区二区在线视频| 91小视频免费看| 99精品视频一区| 99精品视频在线观看免费| 972aa.com艺术欧美| 91社区在线播放| 色美美综合视频| 在线观看成人小视频| 在线观看日韩高清av| 欧美日韩国产一区| 欧美一级在线视频| 精品国产免费一区二区三区香蕉| 日韩欧美美女一区二区三区| 久久欧美一区二区| 欧美成人女星排名| 26uuu成人网一区二区三区| 日本一区二区三区久久久久久久久不 | 国产一区二区h| 国产在线视视频有精品| 国产福利精品一区| 成人久久久精品乱码一区二区三区| www..com久久爱| 色综合久久久久久久久| 精品视频一区二区三区免费| 欧美日韩一区不卡| 日韩一区二区在线观看视频播放 | 91精品国产综合久久久蜜臀粉嫩| 欧美一区二区三区在线观看视频| 欧美成人一区二区三区片免费 | 久久精品久久精品| 国产福利一区在线| 国产福利视频一区二区三区| 91美女片黄在线观看91美女| 欧美放荡的少妇| 久久久国际精品| 国产精品高潮呻吟| 亚洲1区2区3区视频| 国产精一区二区三区| 99精品视频免费在线观看| 欧美浪妇xxxx高跟鞋交| 亚洲精品在线三区| 亚洲精品日日夜夜| 精品写真视频在线观看| 99热99精品| 欧美一区二区三区日韩视频| 日本一区二区久久| 天天做天天摸天天爽国产一区| 国产精品影音先锋| 99国产欧美久久久精品| 欧美一区二区三区在线看| 国产精品女同互慰在线看| 首页亚洲欧美制服丝腿| 成人永久看片免费视频天堂| 在线免费观看日本欧美| 久久你懂得1024| 丝袜亚洲另类丝袜在线| www.亚洲免费av| 日韩欧美成人一区| 亚洲精品中文在线影院| 国产乱码精品一区二区三区av| 欧美日韩在线综合| 国产精品麻豆视频| 蜜臀国产一区二区三区在线播放 | 国产精品激情偷乱一区二区∴| 丝瓜av网站精品一区二区| www.色精品| 久久综合九色综合久久久精品综合| 亚洲黄色av一区| 成人妖精视频yjsp地址| 日韩欧美一区二区久久婷婷| 亚洲高清免费视频| 91麻豆免费看片| 久久精品亚洲一区二区三区浴池 | 欧美丰满少妇xxxxx高潮对白| 国产精品理论片在线观看| 久久66热偷产精品| 欧美日韩国产天堂| 亚洲精品成人少妇| 成人黄色在线网站| 日韩一区二区免费在线电影| 亚洲精选免费视频| 成人小视频免费观看| 久久免费的精品国产v∧| 另类小说色综合网站| 欧美日韩国产高清一区二区| 尤物视频一区二区| 99久久精品费精品国产一区二区| 国产欧美一区二区三区在线老狼| 看片的网站亚洲| 欧美电影影音先锋| 亚洲www啪成人一区二区麻豆| 一本大道久久a久久综合婷婷| 亚洲手机成人高清视频| av综合在线播放| 国产精品妹子av| 成人avav在线| 亚洲欧洲日韩在线| 99re66热这里只有精品3直播| 国产精品情趣视频| www.久久精品| 国产精品久久毛片av大全日韩| 国内一区二区视频| 欧美日韩卡一卡二| 亚洲不卡一区二区三区| 日韩三级视频中文字幕| 日本成人在线一区| 26uuu精品一区二区在线观看| 国产乱码精品一区二区三| 欧美激情一区二区三区不卡| 99久久伊人网影院| 国产精品久久久久久福利一牛影视| 丰满放荡岳乱妇91ww| 亚洲欧美一区二区在线观看| 色噜噜狠狠成人网p站| 亚洲va欧美va人人爽| 欧美美女bb生活片| 国产一区视频在线看| 国产日韩av一区| 91免费版在线| 日本麻豆一区二区三区视频| 26uuu亚洲综合色| 成人av影院在线| 亚洲在线一区二区三区| 欧美一级日韩免费不卡| 欧美aⅴ一区二区三区视频| 久久精品欧美日韩| 一本色道久久综合亚洲aⅴ蜜桃 | 久久国产精品一区二区| 日本一区二区三区四区| 99热在这里有精品免费| 亚洲成人av在线电影| 久久中文字幕电影| 99久久精品一区| 五月激情综合网| 国产女主播视频一区二区| 91久久精品一区二区| 麻豆成人av在线| **欧美大码日韩| 91精品国产美女浴室洗澡无遮挡| 日本在线不卡视频| 国产精品久久久久久妇女6080| 欧美剧在线免费观看网站| 国产成人免费视频|