<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Internet technology</title>
	<atom:link href="http://www.ateliernet.org/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ateliernet.org</link>
	<description>The latest web technology news</description>
	<lastBuildDate>Sun, 19 Aug 2012 21:22:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Broadband Internet service</title>
		<link>http://www.ateliernet.org/internet-technology/broadband-internet-service.html</link>
		<comments>http://www.ateliernet.org/internet-technology/broadband-internet-service.html#comments</comments>
		<pubDate>Sun, 19 Aug 2012 21:21:59 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Internet Technology]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/?p=194</guid>
		<description><![CDATA[These days, broadband Internet service has transformed our way of life and drastically changed the clear way of sharing information with internet users. Many companies depend on the application of broadband services use a faster plus more reliable way of reaching their clients. Having a broadband connection will save you significant amounts of time and [...]]]></description>
			<content:encoded><![CDATA[<p>These days, broadband <a href="http://www.copper.net/Internet-Services/">Internet service</a> has transformed our way of life and drastically changed the clear way of sharing information with internet users. Many companies depend on the application of broadband services use a faster plus more reliable way of reaching their clients. Having a broadband connection will save you significant amounts of time and cash by enabling easy and quick entry to any kind of information.</p>
<p>Today, high speed broadband services is available everywhere and is rapidly becoming the commonest form of communication among individuals and businesses alike. Broadband commonly is the term for an increased speed Internet connection which could include anything starting from an electronic digital Subscriber Line /<a href="http://www.copper.net/DSL/Service/">DSL</a>, Broadband Cable Service, Satellite Internet or Wireless Internet services and others. Allow us to take a closer look at some of these several types of high speed services which might be used today.</p>
<p>Cable Broadband Internet &#8211; As compared to a <a href="http://www.copper.net/Internet-Services/Dial-Up/">Dial-Up Internet</a> connection, broadband Internet access makes use of a broader signal band and offers much higher speeds with the ability to carry more information. A traditional dial up connection relies on Internet access using the phone line and a 56 Kbps modem, whereas a broadband cable Internet provider makes use of the coaxial cable outlet, similar to a cable television for accessing the Internet. It is the most preferred means of accessing information in many households today and with speeds measured in Mbps or  Millions of bits per second makes uploading and downloading many times faster than a dial up connection.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/internet-technology/broadband-internet-service.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office phone system</title>
		<link>http://www.ateliernet.org/technology-news/office-phone-system.html</link>
		<comments>http://www.ateliernet.org/technology-news/office-phone-system.html#comments</comments>
		<pubDate>Sat, 20 Aug 2011 11:18:46 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Technology news]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/?p=187</guid>
		<description><![CDATA[A office phone system could be defined as a multi-line telephone system typically used by business people for their communication needs. office phone system can be anything from a small key system for large-scale central . Modern phone systems possess a large amount of advanced features. The system provides unlimited extensions and each extension includes [...]]]></description>
			<content:encoded><![CDATA[<p>A office<a href="http://www.ringcentral.com/office/phone-system-features.html"> phone system</a> could be defined as a multi-line telephone system typically used by business people for their communication needs. office phone system can be anything from a small key system for large-scale central . Modern phone systems possess a large amount of advanced features. The system provides unlimited extensions and each extension includes a message developed by the employee that comes on when there is no one available to answer the phone. You will find way of identifying callers (caller ID), saving messages (voice mail), forwarding calls when the employee is elsewhere, and redirecting calls once the employee is out of the office.</p>
<p>Several extraordinary advancements took place within the field technology of phone system   now you&#8217;ve VoIP (Voice-over Internet Protocol) telephone systems, hosted PBXs, <a href="http://www.ringcentral.com/office/phone-system-features.html#InternetFax">internet fax services</a> and more Small businesses can today possess a virtual PBX to satisfy all its communication needs. In fact, it&#8217;s all the sophisticated features like voice mail, faxing, automated greetings, conference calling and all sorts of at affordable rates.</p>
<p>Today, there is a host of VoIP service providers, online fax service providers, toll-free number service providers, and hosted PBX providers. Obviously, to fully avail all the excellent features of a modern business phone system you need to tie up with the right and reliable service provider who understands the character of the business and it is sensitive to your communication needs.voice mail, fax, <a href="http://www.ringcentral.com/office/phone-system-features.html#VoicemailGreetings">automatic greetings</a>, conference calls and all at affordable prices.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/technology-news/office-phone-system.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Php program called the method of hidden</title>
		<link>http://www.ateliernet.org/web-development/php-program-called-the-method-of-hidden.html</link>
		<comments>http://www.ateliernet.org/web-development/php-program-called-the-method-of-hidden.html#comments</comments>
		<pubDate>Sat, 13 Aug 2011 07:39:42 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/php-program-called-the-method-of-hidden.html</guid>
		<description><![CDATA[call a method: script language = &#8216;javascript&#8217; src = &#8216;count.php&#8217; / script count.php Source:? Php file_name = &#8216;count.txt&#8217;; fp = fopen (file_name, &#8216;r&#8217;); / / Open File read the current count coun &#8230; Call the method:&#160;]]></description>
			<content:encoded><![CDATA[<div class="zhaiyao"><span>call a method: script language = &#8216;javascript&#8217; src = &#8216;count.php&#8217; / script count.php Source:? Php file_name = &#8216;count.txt&#8217;; fp = fopen (file_name, &#8216;r&#8217;); / / Open File read the current count coun &#8230;</span></div>
<p><span>Call the method:</span>&nbsp;<span style="font-family: Verdana;"><br /></span><span><span style="font-family: Verdana;"></span></span>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-7248168817904902479?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/php-program-called-the-method-of-hidden.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove array elements useful PHP array functions</title>
		<link>http://www.ateliernet.org/web-development/remove-array-elements-useful-php-array-functions.html</link>
		<comments>http://www.ateliernet.org/web-development/remove-array-elements-useful-php-array-functions.html#comments</comments>
		<pubDate>Thu, 11 Aug 2011 09:11:29 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/remove-array-elements-useful-php-array-functions.html</guid>
		<description><![CDATA[php array remove blank it from the elements (including elements of only blank characters) to a two-dimensional array into hashmap ** * remove the blank from the array elements (including elements of only whitespace characters) * * @ param array arr * @ param boolean trim * / CODE: functiona &#8230; php remove it from [...]]]></description>
			<content:encoded><![CDATA[<div class="zhaiyao">
<div style="text-align: justify;">php array remove blank it from the elements (including elements of only blank characters) to a two-dimensional array into hashmap ** * remove the blank from the array elements (including elements of only whitespace characters) * * @ param array arr * @ param boolean trim * / CODE: functiona &#8230;</div>
</div>
<div style="text-align: justify;">php remove it from the array of empty elements (including elements of only whitespace characters) into a two-dimensional array of hashmap</div>
<p>
<div style="text-align: justify;">**</div>
<div style="text-align: justify;">* Remove the blank from the array elements (including elements only whitespace)</div>
<div style="text-align: justify;">*</div>
<div style="text-align: justify;">* @ Param array arr</div>
<div style="text-align: justify;">* @ Param boolean trim</div>
<p>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<table border="0" cellpadding="6" cellspacing="0" style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dotted; border-top-width: 1px; table-layout: fixed; text-align: center;">
<tbody>
<tr>
<td bgcolor="#f3f3f3" style="word-wrap: break-word;"><span style="color: #990000; font-weight: bold;"></span><br />CODE:<br />function array_remove_empty (&amp; arr, trim = true)<br />(<br />foreach (arr as key =&gt; value) (<br />if (is_array (value)) (<br />array_remove_empty (arr [key]);<br />) Else (<br />value = trim (value);<br />if (value ==&#8221;) (<br />unset (arr [key]);<br />) Elseif (trim) (<br />arr [key] = value;<br />)<br />)<br />)<br />)</td>
</tr>
</tbody>
</table>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;">* To convert a two-dimensional array of hashmap</div>
<div style="text-align: justify;">*</div>
<div style="text-align: justify;">* If omitted valueField parameters, then convert the result that each contain all the data for the array.</div>
<div style="text-align: justify;">*</div>
<div style="text-align: justify;">* @ Param array arr</div>
<div style="text-align: justify;">* @ Param string keyField</div>
<div style="text-align: justify;">* @ Param string valueField</div>
<div style="text-align: justify;">*</div>
<div style="text-align: justify;">* @ Return array</div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<table border="0" cellpadding="6" cellspacing="0" style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: dotted; border-bottom-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: dotted; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: dotted; border-right-width: 1px; border-top-color: rgb(204, 204, 204); border-top-style: dotted; border-top-width: 1px; table-layout: fixed; text-align: center;">
<tbody>
<tr>
<td bgcolor="#f3f3f3" style="word-wrap: break-word;"><span style="color: #990000; font-weight: bold;"></span><br />CODE:<br />function array_to_hashmap (&amp; arr, keyField, valueField = null)<br />(<br />ret = array ();<br />if (valueField) (<br />foreach (arr as row) (<br />ret [row [keyField]] = row [valueField];<br />)<br />) Else (<br />foreach (arr as row) (<br />ret [row [keyField]] = row;<br />)<br />)<br />return ret;<br />)</td>
</tr>
</tbody>
</table>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-7056882215997997813?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/remove-array-elements-useful-php-array-functions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The use of Java in this</title>
		<link>http://www.ateliernet.org/web-development/the-use-of-java-in-this.html</link>
		<comments>http://www.ateliernet.org/web-development/the-use-of-java-in-this.html#comments</comments>
		<pubDate>Wed, 10 Aug 2011 15:02:56 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/the-use-of-java-in-this.html</guid>
		<description><![CDATA[1.this is the current object itself. When a class object to be clear that the use of their own variable or function should add this reference. Such as the following example: publicclassA (Strings = &#8216;Hello&#8217;; publicA (Strings) (System.out.println (&#8216;s =&#8217; + s); Sys &#8230; 1.this is currently the object itself. When a class object to [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: justify;">1.this is the current object itself. When a class object to be clear that the use of their own variable or function should add this reference. Such as the following example: publicclassA (Strings = &#8216;Hello&#8217;; publicA (Strings) (System.out.println (&#8216;s =&#8217; + s); Sys &#8230;</div>
<div style="text-align: justify;">1.this is currently the object itself.</div>
<div style="text-align: justify;">When a class object to be clear that the use of their own variable or function should add this reference. Such as the following example:</div>
<div style="text-align: justify;">publicclassA (</div>
<div style="text-align: justify;">Strings = &#8220;Hello&#8221;;</div>
<div style="text-align: justify;">publicA (Strings) (</div>
<div style="text-align: justify;">System.out.println (&#8220;s =&#8221; + s);</div>
<div style="text-align: justify;">System.out.println (&#8220;1 -&gt; this.s =&#8221; + this.s);</div>
<div style="text-align: justify;">this.s = s;</div>
<div style="text-align: justify;">System.out.println (&#8220;2 -&gt; this.s =&#8221; + this.s);</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicstaticvoidmain (String [] args) (</div>
<div style="text-align: justify;">newA (&#8220;HelloWorld!&#8221;);</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"><span id="more-108"></span>Run Results:</div>
<div style="text-align: justify;">s = HelloWorld!</div>
<div style="text-align: justify;">1 -&gt; this.s = Hello</div>
<div style="text-align: justify;">2 -&gt; this.s = HelloWorld!</div>
<div style="text-align: justify;">In this example, the constructor A, the parameter s and the class A variable s the same name, this time directly to the s to operate if it is to operate on the parameters s. To the class A variable s should be used to operate on this for reference. The results of the first line to run directly on the parameter s is to print the results; the back two rows are the object A variable s to print the results before and after operation.</div>
<div style="text-align: justify;">2. To this as a parameter</div>
<div style="text-align: justify;">When you make your object as a parameter passed to the other, they can use this. Such as:</div>
<div style="text-align: justify;">publicclassA (</div>
<div style="text-align: justify;">publicA () (</div>
<div style="text-align: justify;">newB (this). print ();</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicvoidprint () (</div>
<div style="text-align: justify;">System.out.println (&#8220;HellofromA!&#8221;);</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicclassB (</div>
<div style="text-align: justify;">Aa;</div>
<div style="text-align: justify;">publicB (Aa) (</div>
<div style="text-align: justify;">this.a = a;</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicvoidprint () (</div>
<div style="text-align: justify;">a.print ();</div>
<div style="text-align: justify;">System.out.println (&#8220;HellofromB!&#8221;);</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">Run Results:</div>
<div style="text-align: justify;">HellofromA!</div>
<div style="text-align: justify;">HellofromB!</div>
<div style="text-align: justify;">In this example, the constructor of the object A with newB (this) to the object A itself as a parameter to the constructor of the object B.</div>
<div style="text-align: justify;">3. Note that anonymous classes and inner classes in the middle of this.</div>
<div style="text-align: justify;">Sometimes, we will use some internal classes and anonymous classes. When using this anonymous class, this means that this is anonymous class or inner class itself. Then if we are to use an external class methods and variables, then the class should be added outside the class name. Such as the following example:</div>
<div style="text-align: justify;">publicclassA (</div>
<div style="text-align: justify;">inti = 1;</div>
<div style="text-align: justify;">publicA () (</div>
<div style="text-align: justify;">Threadthread = newThread () (</div>
<div style="text-align: justify;">publicvoidrun () (</div>
<div style="text-align: justify;">for (;;){</div>
<div style="text-align: justify;">A.this.run ();</div>
<div style="text-align: justify;">try (</div>
<div style="text-align: justify;">sleep (1000);</div>
<div style="text-align: justify;">) Catch (InterruptedExceptionie) (</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">);</div>
<div style="text-align: justify;">thread.start ();</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicvoidrun () (</div>
<div style="text-align: justify;">System.out.println (&#8220;i =&#8221; + i);</div>
<div style="text-align: justify;">i + +;</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">publicstaticvoidmain (String [] args) throwsException (</div>
<div style="text-align: justify;">newA ();</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;">In the above example, thread is anonymous class object, in his definition, he&#8217;s run the function in use of external class run function. Then the same name as the function, called directly on to die. Then there are two ways, one is to run outside for a function name, but this approach to the way for a development application is not desirable. Then able to approach this case the class name with an external class with this reference to show to call an external class method run.</div>
<div class="blogger-post-footer"><img src="https://blogger.googleusercontent.com/tracker/3024561712793193071-2362299952339951677?l=exeemp.blogspot.com" alt="" width="1" height="1" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/the-use-of-java-in-this.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insertion Sort Algorithm in Java language</title>
		<link>http://www.ateliernet.org/web-development/insertion-sort-algorithm-in-java-language.html</link>
		<comments>http://www.ateliernet.org/web-development/insertion-sort-algorithm-in-java-language.html#comments</comments>
		<pubDate>Tue, 09 Aug 2011 18:38:34 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/insertion-sort-algorithm-in-java-language.html</guid>
		<description><![CDATA[&#160;public class CharuSort (public static void main (String [] args) (int [] sort = (4,6,3,9,5); Sort (sort); for (int i = 0; isort.length ; i + +) System.out.pri &#8230; public class CharuSort (public static void main (String [] args) (int [] sort = (4,6,3,9,5);Sort (sort);for (int i = 0; i System.out.print (sort [i] + &#8220;&#8221;);) [...]]]></description>
			<content:encoded><![CDATA[<div class="zhaiyao"><span>&nbsp;public class CharuSort (public static void main (String [] args) (int [] sort = (4,6,3,9,5); Sort (sort); for (int i = 0; isort.length ; i + +) System.out.pri &#8230;</span></div>
<p><span>public class CharuSort (</span><span>public static void main (String [] args) (</span><br /><span>int [] sort = (4,6,3,9,5);</span><br /><span>Sort (sort);</span><br /><span>for (int i = 0; i <sort.length; +)="" +="" i=""></sort.length;></span><br /><span>System.out.print (sort [i] + &#8220;&#8221;);</span><br /><span>)</span></p>
<p><span>public static void Sort (int [] sort) (</span><br /><span>int i; / / to scan times</span><br /><span>int j; / / get elements as compared</span><br /><span>for (i = 1; i <sort.length; (="" +)="" +="" for="" i="" scan="" sort.length-1="" the="" times=""></sort.length;></span><br /><span>int temp; / / temp used for temporary data</span><br /><span>temp = sort [i];</span><br /><span>j = i-1;</span><br /><span>while (j&gt; = 0 &amp; &amp; temp <sort (="" [j])="" element="" first="" if="" is="" less="" second="" than="" the=""></sort></span><br /><span>sort [j +1] = sort [j]; / / put all the elements of a position pushed back</span><br /><span>j -;</span><br /><span>)</span><br /><span>sort [j +1] = temp; / / smallest element into the first position</span><br /><span>)</span><br /><span>)</span><br /><span>)</span>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-1870622498227421033?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/insertion-sort-algorithm-in-java-language.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBSCAN Algorithm Java Implementation</title>
		<link>http://www.ateliernet.org/web-development/dbscan-algorithm-java-implementation.html</link>
		<comments>http://www.ateliernet.org/web-development/dbscan-algorithm-java-implementation.html#comments</comments>
		<pubDate>Mon, 08 Aug 2011 10:59:51 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/dbscan-algorithm-java-implementation.html</guid>
		<description><![CDATA[DBSCAN is a density-based clustering algorithm, and its basic principle is to a given two parameters, ξ and minp, where ξ can be interpreted as the radius, the algorithm will search within a radius of the sample, minp is a ξ To find the radius of the sample number n of constraints, as long as [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: justify;">DBSCAN is a density-based clustering algorithm, and its basic principle is to a given two parameters, ξ and minp, where ξ can be interpreted as the radius, the algorithm will search within a radius of the sample, minp is a ξ To find the radius of the sample number n of constraints, as long as n&gt; = minp, find the sample point is the core of the sample points, the proposed algorithm are described in References 1, below is a java implementation of this algorithm: &#8230;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">DBSCAN is a density-based clustering algorithm, and its basic principle is given two parameters, ξ and minp, where ξ can be interpreted as the radius, the algorithm will find the sample in this radius, minp is a search radius ξ n number of samples to restrictions, as long as n&gt; = minp, find the sample point is the core of the sample points, the proposed algorithm are described in References 1, below is a java implementation of this algorithm:</div>
<div style="text-align: justify;">First define a Point class, the representative sample points</div>
<p>
<div style="text-align: justify;"></div>
<p>
<div style="text-align: justify;"></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">package com.sunzhenxing;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public class Point (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private int x;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private int y;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private boolean isKey;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private boolean isClassed;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public boolean isKey () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return isKey;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public void setKey (boolean isKey) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.isKey = isKey;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.isClassed = true;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public boolean isClassed () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return isClassed;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public void setClassed (boolean isClassed) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.isClassed = isClassed;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public int getX () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return x;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public void setX (int x) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.x = x;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public int getY () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return y;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public void setY (int y) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.y = y;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public Point () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">x = 0;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">y = 0;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public Point (int x, int y) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.x = x;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.y = y;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public Point (String str) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">String [] p = str.split (&#8220;,&#8221;);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.x = Integer.parseInt (p [0]);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">this.y = Integer.parseInt (p [1]);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public String print () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return &#8220;&lt;&#8221; + this.x +&#8221;,&#8221;+ this.y +&#8221;&gt;&#8221;;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">And then define a utility class, for the algorithm implementation services:</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">package com.sunzhenxing;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.io.BufferedReader;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.io.FileReader;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.io.IOException;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.util .*;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public class Utility (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* Test the distance between the two points</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param p point</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param q point</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Return returns the distance between two points</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static double getDistance (Point p, Point q) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">int dx = p.getX ()-q.getX ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">int dy = p.getY ()-q.getY ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">double distance = Math.sqrt (dx * dx + dy * dy);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return distance;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">) / **</div>
<div style="text-align: justify;">* Check the given point is not the central point</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param lst The list storage point</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param p the point to be tested</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param ee radius</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param minp density threshold</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Return a temporary storage point visited</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static List
<point> isKeyPoint (List
<point> lst, Point p, int e, int minp) (</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">int count = 0;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">List
<point> tmpLst = new ArrayList
<point> ();</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (Iterator
<point> it = lst.iterator (); it.hasNext ();){</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Point q = it.next ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (getDistance (p, q) &lt;= e) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">+ + Count;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (! tmpLst.contains (q)) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">tmpLst.add (q);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (count&gt; = minp) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">p.setKey (true);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return tmpLst;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return null;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static void setListClassed (List
<point> lst) (</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (Iterator
<point> it = lst.iterator (); it.hasNext ();){</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Point p = it.next ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (! p.isClassed ()) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">p.setClassed (true);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Merge</div>
<div style="text-align: justify;">* @ Param a</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param b</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Return a</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static boolean mergeList (List
<point> a, List
<point> b) (</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">boolean merge = false;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (int index = 0; index <b.size ();++="" (="" index)=""></b.size></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (a.contains (b.get (index))) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">merge = true;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">break;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (merge) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (int index = 0; index <b.size ();++="" (="" index)=""></b.size></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (! a.contains (b.get (index))) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">a.add (b.get (index));</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return merge;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* Back to the collection point in the text</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Return back to the mid-point of the set text</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Throws IOException</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static List
<point> getPointsList () throws IOException (</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">List
<point> lst = new ArrayList
<point> ();</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">String txtPath = &#8220;src \ \ com \ \ sunzhenxing \ \ points.txt&#8221;;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">BufferedReader br = new BufferedReader (new FileReader (txtPath));</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">String str = &#8220;&#8221;;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">while ((str = br.readLine ())!= null &amp; &amp; str !=&#8221;"){</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">lst.add (new Point (str));</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">br.close ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return lst;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Finally, in the main program to implement algorithm, as follows:</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">package com.sunzhenxing;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.io. *;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">import java.util .*;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public class Dbscan (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static List
<point> pointsList = new ArrayList
<point> ();// store the set of all points</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static List
<list>
<point>&gt; resultList = new ArrayList
<list>
<point> &gt;();// storage DBSCAN algorithm to return the result set</point></list></point></list></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static int e = 2; / / e radius</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static int minp = 3; / / density threshold</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* Extract all the points in the text and stored in the pointsList</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Throws IOException</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static void display () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">int index = 1;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (Iterator
<list>
<point>&gt; it = resultList.iterator (); it.hasNext ();){</point></list></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">List
<point> lst = it.next ();</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (lst.isEmpty ()) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">continue;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">) System.out.println (&#8220;&#8212;&#8211; s &#8220;+ index +&#8221; a cluster &#8212;&#8211;&#8221;);</div>
<div style="text-align: justify;">for (Iterator
<point> it1 = lst.iterator (); it1.hasNext ();){</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Point p = it1.next ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">System.out.println (p.print ());</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">index + +;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ / Find all the cluster can be directly</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static void applyDbscan () (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">try (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">pointsList = Utility.getPointsList ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (Iterator
<point> it = pointsList.iterator (); it.hasNext ();){</point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Point p = it.next ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (! p.isClassed ()) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">List
<point> tmpLst = new ArrayList
<point> ();</point></point></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if ((tmpLst = Utility.isKeyPoint (pointsList, p, e, minp))! = null) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ / End point for all clustering to mark</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Utility.setListClassed (tmpLst);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">resultList.add (tmpLst);</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">) Catch (IOException e) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ / TODO Auto-generated catch block</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">e.printStackTrace ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ / Direct access to the clustering of all the merger, that is up to the point and find the indirect merger</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">private static List
<list>
<point>&gt; getResult () (</point></list></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">applyDbscan ();// find all the direct clustering</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">int length = resultList.size ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (int i = 0; i <length; (="" +="" i)=""></length;></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">for (int j = i +1; j <length; (="" +="" j)=""></length;></div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">if (Utility.mergeList (resultList.get (i), resultList.get (j))) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">resultList.get (j). clear ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">return resultList;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ **</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* Program main function</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* @ Param args</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">* /</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">public static void main (String [] args) (</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">getResult ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">display ();</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">/ / System.out.println (Utility.getDistance (new Point (0,0), new Point (0,2)));</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">)</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Below is a small test, that is used src \ \ com \ \ sunzhenxing \ \ points.txt contents of the file test, points.txt the file contents are:</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,0</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,1</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,2</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,3</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,4</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,5</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12,1</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12.2</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12.3</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12,4</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12,5</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12.6</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,6</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,7</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">12,7</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,8</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">0,9</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">1,1</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">The final result of the algorithm is:</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&#8212;&#8211; &#8212;&#8211; 1st cluster</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,0&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,1&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,2&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;1,1&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,3&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,4&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,5&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,6&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,7&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,8&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;0,9&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&#8212;&#8211; &#8212;&#8211; 2nd cluster</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12,1&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12.2&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12.3&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12,4&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12,5&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12.6&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">&lt;12,7&gt;</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Coordinates we can draw what conclusions the experiment to understand.</div>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-6739376306898527881?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/dbscan-algorithm-java-implementation.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring depth of cooperation with Google to open a new chapter in the Spring</title>
		<link>http://www.ateliernet.org/web-development/spring-depth-of-cooperation-with-google-to-open-a-new-chapter-in-the-spring.html</link>
		<comments>http://www.ateliernet.org/web-development/spring-depth-of-cooperation-with-google-to-open-a-new-chapter-in-the-spring.html#comments</comments>
		<pubDate>Sun, 07 Aug 2011 17:32:08 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/spring-depth-of-cooperation-with-google-to-open-a-new-chapter-in-the-spring.html</guid>
		<description><![CDATA[Spring can be said that the recent moves frequently, first joining VMware, then M GemStone, today the depth of cooperation with Google.&#160;51CTO will further track the progress of all of this.&#160;The following is the Spring founder Rod Johnson in his blog on Google and Spring co-related issues statement.&#160;A few weeks ago, we announced a low-key [...]]]></description>
			<content:encoded><![CDATA[<div class="zhaiyao" style="text-align: justify;"><span>Spring can be said that the recent moves frequently, first joining VMware, then M GemStone, today the depth of cooperation with Google.</span>&nbsp;<span>51CTO will further track the progress of all of this.</span>&nbsp;<span>The following is the Spring founder Rod Johnson in his blog on Google and Spring co-related issues statement.</span>&nbsp;<span>A few weeks ago, we announced a low-key (code &#8230;</span></div>
<div class="zhaiyao" style="text-align: justify;"><span><br /></span></div>
<p><span>
<div style="text-align: justify;"><span>Spring can be said that the recent moves frequently, first joining VMware, then M GemStone, today the depth of cooperation with Google.</span>&nbsp;<span>51CTO will further track the progress of all of this.</span>&nbsp;<span>The following is the Spring founder Rod Johnson in his blog on Google and Spring co-related issues statement.</span>A few weeks ago, we announced a low-key (Editor note: do not feel low-key) SpringSource joining VMware, today, we have to announce another exciting, tremendous progress.</div>
<div style="text-align: justify;"></div>
<p></span>
<div style="text-align: justify;"><span>SaaS in the field because VMforce and the relationship between leader salesforce.com, today we announced a VMforce and between Google, on the Spring framework and SpringSource IDE and RAD tools for cooperation.</span>&nbsp;<span>Spring will be a Google application is the preferred programming model engine.</span>&nbsp;<span>This cooperation is the Spring framework in the field of lightweight programming tremendous recognition for Spring developers with better opportunities and prospects.</span>&nbsp;</div>
<div style="text-align: justify;"><span><br /></span></div>
<div style="text-align: justify;"><span>In today&#8217;s Google I / O&#8217;s keynote presentation and demo applications are Google engineers SpringSource result of months of cooperation, such cooperation open to any developer that is very useful.</span>&nbsp;<span>Highlights: innovative, Spring and GWT (Google Web Toolkit) the depth of integration to build rich client applications more efficient; in the Spring application integration engine Google applications easier; Spring Insight and Google Speed Tracer integration, regardless of or from the browser to the database, enhanced application performance; on the other SpringSource Tool Suite provides an integrated development experience beautiful.</span></div>
<div style="text-align: justify;"><span><strong><br /></strong></span></div>
<div style="text-align: justify;"><span><strong>Target</strong></span></div>
<div style="text-align: justify;"><span>Further discussion at the beginning of&nbsp;technical&nbsp;problems, I still like to emphasize objective problem.</span>&nbsp;<span>The statement highlights the core values of the two issues is the question of production efficiency and portability.</span></div>
<div style="text-align: justify;"><span><strong><br /></strong></span></div>
<div style="text-align: justify;"><span><strong>Production efficiency</strong></span></div>
<div style="text-align: justify;"><span>Spring can be seen the long-term goal is to continue to enhance the productivity of Java.</span>&nbsp;<span>SpringSource has been strongly committed to invest in this area.</span>&nbsp;<span>Meaningful statement today, simply because the owners of two beloved SpringSource.</span>&nbsp;<span>Is the SpringSource Tool Suite and the Spring Roo, these two baby to Java developers with a good development practice, and has been appreciated by Google.&nbsp;</span><span>STS, is provided by the Eclipse&nbsp;free&nbsp;tool, is to develop the best environment for Spring applications.</span>&nbsp;<span>We have a very ambitious goal, that is a simple download on the development of Java applications can provide all the necessary tools, and is the most appropriate tool.</span></div>
<div style="text-align: justify;"><span><br /></span></div>
<div style="text-align: justify;"><span>Spring Roo is to help develop the efficiency of an unusual and to think of application development tools for Spring.</span>&nbsp;<span>If you are a Java developer, you may have heard or even try to use than Roo.</span>&nbsp;<span>Now quick, simple and build Java applications, the time has come.</span>&nbsp;<span>Generally speaking, Spring Roo is an interactive, code generation tools can be reviewed to ensure that programmers write only the code value, Spring Roo can be used to assist formation and maintenance, construction persistence mapping, configuration, JavaBean method toString () method and other heavy labor.</span>&nbsp;<span>Spring Roo&#8217;s role is to ensure that developers need only write the code, and by reviewing UI extensions to support early product upgrades and so on.</span></div>
<div style="text-align: justify;"><span><br /></span></div>
<div style="text-align: justify;"><span>First, we respect the facts, 在 Spring community, many developers are hoping the benefit, but we still Jian Ding, confident that the Gong Ju Ren Wei Spring Roo Qiangyuelaiyue Zhong Yao (although Roo Mubiao yes those Java developers, Groovy platform on The Grails developers. need to highlight the Grails and Groovy community has demonstrated its&nbsp;technology&nbsp;application in the Google engine value).</span></div>
<div style="text-align: justify;"><span><br /></span></div>
<div style="text-align: justify;"><span>Productivity in turn be enhanced and will soon be integrated.</span>&nbsp;<span>With the SpringSource / Google co-operation, you will have the opportunity to download STS, through a simple dialog box, you can create a new Spring Roo project, and by Roo interactive platform to create a complete application.</span>&nbsp;<span>Within minutes, you can create a real application (including database access), and run in the cloud.</span>&nbsp;<span>By integration in the STS in the Roo review, you can not only add new fields for the entity, you can also modify the GWT framework of the application to see Roo, through the GPE of DevMode button, just 2-3 seconds, you can switch to Browse Open View the entire device, including applications, including database changes, completely without restarting the server.</span></div>
<div style="text-align: justify;"><span><br /></span></div>
<p><span></span>
<div style="text-align: justify;">at other transplant between different servers, eliminating the EJB, JTA and other environmental impact of specific API. Today, the deployment environment of choice is extended to the traditional data center and cloud environments. Spring portability, is pushing Java developers to the cloud.</div>
<div style="text-align: justify;">The key issue today is the Spring of portability to the correct treatment Open PaaS: As VMware CTO, Steve Herrod said, where to deploy and run your application, is a very important choice. Very pleased that VMware and Spring&#8217;s core values are the same. Also very pleased to see Google make a commitment in the portability area.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Technology Introduction</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">I have already mentioned the Spring Roo and the STS and other technologies . For other technologies , including GWT, SpringSource and Google analysis tools. Soon after, we are responsible for the work of engineers involved in this process more Jishu details and Roo 1.1.0.M1 and STS 2.3.3.M1 versions to publish, you can conduct a detailed study of these software. Here we only provide a summary of guidance.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">GWT</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Google Web Toolkit is a very powerful, used to develop rich client applications, Internet technology . HTML5 AJAX and other modern through technology such as phones and other non-traditional clients to develop compelling applications, and provide a good user experience. With the changing needs of the user interface as well as the promotion of non-traditional clients, GWT on Java developers, will become increasingly important.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Show today on Spring, Spring Roo and deep integration GWT application, SpringSource, and Google engineers are well co-months results, also have been looking forward to the Spring community to solve the problem of response. This integration allows developers to GWT applications easier than in the past, but also to the Spring developers of a new, compelling UT choice. GWT is an open source framework and deployment environment independent, so the integration of Spring to all users, regardless of whether they intend to use the Google application engine applications are useful. With the domain model knowledge, Spring Roo and GWT is a natural fit. Today, the integration of Spring Roo and GWT, as developers in the project life cycle to provide a higher productivity; and the deployment of Google applications by Roo engine easier.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">We are also the expansion of STS in the Eclipse installation package adds GPE (Google Plugins for Eclipse) installation. GPE to include in the on GWT, DevMode deployment and application engine Google support.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Spring Insight / Google Speed Tracer</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Spring Insight is a way for developers to write specific code and configuration without the case, we can tool for insight into other applications.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Insight famous by AspectJ and Spring framework to show application performance information, where such information includes how much time consuming. Insight is part of the server SpringSource tc (tc Server Developer Edition is a free software that is part of STS).</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Google Speed Tracer Chrome extension is used to display the time consumption of the application. Including analysis and implementation of javascript, layout, CSS rendering, DOM event handling, loading and other resources.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Today we demonstrate two techniques in combination. Speed Tracer Insight users can see has been seamlessly embedded in the former Speed Tracer screen them, and show the server-side JDBC queries, etc. such as the implementation of efficiency. Speed Tracer and Insight The combination of a strong and unprecedented, this is the first time, the opportunity to see from a global perspective and background of the browser server is how to coordinate work.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">What this means</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">From today announced VMforce announced the cooperation with Google, which occurred a few weeks in the end how much change? Deploy applications in a simple, Java developers have been no suitable target PaaS direction. This is a very dangerous blank area, is likely to affect the long-term development of Java. I am pleased to VMware / SpringSource to lead and fill the white space.</div>
<div style="text-align: justify;"></div>
<div style="text-align: justify;">Today&#8217;s statement for the Spring developers, is a very important thing. Spring technology value reached a peak today; Spring system is still in the continually growing; Springde core values still guide its direction; and Spring has begun to lead the Java community into the cloud computing era. Whether you want to the existing computer center, private or public Java Java clouds clouds, Spring is the best development model. I am very excited and hope everyone like me excited.</div>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-8303506998637635008?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/spring-depth-of-cooperation-with-google-to-open-a-new-chapter-in-the-spring.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java SynDemo object to solve the problem of succession</title>
		<link>http://www.ateliernet.org/web-development/java-syndemo-object-to-solve-the-problem-of-succession.html</link>
		<comments>http://www.ateliernet.org/web-development/java-syndemo-object-to-solve-the-problem-of-succession.html#comments</comments>
		<pubDate>Fri, 05 Aug 2011 10:46:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/seo/java-syndemo-object-to-solve-the-problem-of-succession.html</guid>
		<description><![CDATA[Java SynDemo object has just appeared in time to have a lot of programmers are headache, this is actually not necessary, and here&#8217;s the Xuexi in detail under the related issues.&#160;We found that, for the Java SynDemo objects, only synMethord1 run, while synMethord2 is not running.&#160;This is to be synchronized in the method-level statement of [...]]]></description>
			<content:encoded><![CDATA[<div class="zhaiyao" style="text-align: justify;"><span>Java SynDemo object has just appeared in time to have a lot of programmers are headache, this is actually not necessary, and here&#8217;s the Xuexi in detail under the related issues.</span>&nbsp;<span>We found that, for the Java SynDemo objects, only synMethord1 run, while synMethord2 is not running.</span>&nbsp;<span>This is to be synchronized in the method-level statement of the l. ..</span></div>
<div class="zhaiyao" style="text-align: justify;"><span><br /></span></div>
<p><span>
<div style="text-align: justify;"><span>Java SynDemo object appeared just when many programmers are headache, this is actually not necessary, here we come to study in detail under the relevant issues.</span>&nbsp;<span>We found that, for the Java SynDemo objects, only synMethord1 run, while synMethord2 is not running.&nbsp;</span><span>This is to be synchronized in the method-level statement will lock the current instance of this class object.</span>&nbsp;<span>So synMethord1 unlock before running the end of the current Java SynDemo object instance is not run synMethord2&#8242;s.</span>&nbsp;<span>This method-level synchronized statement and the following approach is equivalent to:</span></div>
<p></span>
<div style="text-align: justify;"><span><br /></span></div>
<div style="text-align: justify;"><span>1.package com.cnblogs.gpcuster; / ** * * @ author Aaron.Guo * * /</span></div>
<div style="text-align: justify;"><span>2.public class SynDemo (public void synMethord1 () (</span></div>
<div style="text-align: justify;"><span>synchronized (this) (while (true) (try (Thread.sleep (1000);</span></div>
<div style="text-align: justify;"><span>System.out.println (&#8220;synMethord1&#8243;);) catch (InterruptedException</span></div>
<div style="text-align: justify;"><span>e) (/ / TODO Auto-generated catch block</span></div>
<div style="text-align: justify;"><span>3.e.printStackTrace ();</span></div>
<div style="text-align: justify;"><span>4.)</span></div>
<div style="text-align: justify;"><span>5.)</span></div>
<div style="text-align: justify;"><span>6.)</span></div>
<div style="text-align: justify;"><span>7.)</span></div>
<div style="text-align: justify;"><span>8.public void synMethord2 () (synchronized (this) (while (true)</span></div>
<div style="text-align: justify;"><span>(Try (Thread.sleep (1000); System.out.println (&#8220;synMethord2&#8243;);)</span></div>
<div style="text-align: justify;"><span>catch (InterruptedException e) (/ / TODO Auto-generated catch block</span></div>
<div style="text-align: justify;"><span>9.e.printStackTrace ();</span></div>
<div style="text-align: justify;"><span>10.)</span></div>
<div style="text-align: justify;"><span>11.)</span></div>
<div style="text-align: justify;"><span>12.)</span></div>
<div style="text-align: justify;"><span>13.)</span></div>
<div style="text-align: justify;"><span>14.)</span></div>
<div style="text-align: justify;"><span>Run the program, results and last the same.</span></div>
<div style="text-align: justify;"><span>If we wish to synchronize two methods are how to deal with?</span>&nbsp;<span>Can refer to this realization:</span></div>
<div style="text-align: justify;"><span>15.package com.cnblogs.gpcuster; / ** * * @ author Aaron.Guo * * /</span></div>
<div style="text-align: justify;"><span>16.public class SynDemo (private Object flag1 = new Object ();</span></div>
<div style="text-align: justify;"><span>private Object flag2 = new Object (); public void synMethord1 ()</span></div>
<div style="text-align: justify;"><span>(Synchronized (flag1) (while (true) (try (Thread.sleep (1000);</span></div>
<div style="text-align: justify;"><span>System.out.println (&#8220;synMethord1&#8243;);) catch (Interrupted</span></div>
<div style="text-align: justify;"><span>Exception e) (/ / TODO Auto-generated catch block</span></div>
<div style="text-align: justify;"><span>17.e.printStackTrace ();</span></div>
<div style="text-align: justify;"><span>18.)</span></div>
<div style="text-align: justify;"><span>19.)</span></div>
<div style="text-align: justify;"><span>20.)</span></div>
<div style="text-align: justify;"><span>21.)</span></div>
<div style="text-align: justify;"><span>22.public void synMethord2 () (synchronized (flag2) (while (true)</span></div>
<div style="text-align: justify;"><span>(Try (Thread.sleep (1000); System.out.println (&#8220;synMethord2&#8243;);)</span></div>
<div style="text-align: justify;"><span>catch (InterruptedException e) (/ / TODO Auto-generated catch block</span></div>
<div style="text-align: justify;"><span>23.e.printStackTrace ();</span></div>
<div style="text-align: justify;"><span>24.)</span></div>
<div style="text-align: justify;"><span>25.)</span></div>
<div style="text-align: justify;"><span>26.)</span></div>
<div style="text-align: justify;"><span>27.)</span></div>
<div style="text-align: justify;"><span>28.)</span></div>
<div style="text-align: justify;"><span>Run the program, the results as we expect:</span></div>
<div style="text-align: justify;"><span>29.main</span></div>
<div style="text-align: justify;"><span>30.synMethord2</span></div>
<div style="text-align: justify;"><span>31.synMethord2</span></div>
<div style="text-align: justify;"><span>32.main</span></div>
<div style="text-align: justify;"><span>33.synMethord1</span></div>
<div style="text-align: justify;"><span>34.main</span></div>
<div style="text-align: justify;"><span>35.synMethord1</span></div>
<div style="text-align: justify;"><span>36.synMethord2</span></div>
<div style="text-align: justify;"><span>About Synchronized There were some other topics, such as the static problem, the question of succession, and with use of so volatile, the Internet has a very detailed description will not repeat here introduced.</span>&nbsp;<span>Is on the Java SynDemo more details about the object.</span></div>
<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3024561712793193071-2740001250119925247?l=exeemp.blogspot.com' alt='' /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/web-development/java-syndemo-object-to-solve-the-problem-of-succession.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>what is Malware</title>
		<link>http://www.ateliernet.org/tips-and-tricks/what-is-malware.html</link>
		<comments>http://www.ateliernet.org/tips-and-tricks/what-is-malware.html#comments</comments>
		<pubDate>Thu, 04 Aug 2011 15:12:18 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.ateliernet.org/tips-and-tricks/what-is-malware.html</guid>
		<description><![CDATA[Malware is software package intended to infiltrate or hurt a pc technique without the owner&#8217;s informed consent.Many typical laptop or computer customers are however nonetheless unfamiliar with the expression, and most in no way use it. As an alternative, &#8220;computer virus&#8221; is employed in frequent parlance and usually in the general media to explain all [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ateliernet.org/wp-content/uploads/2011/08/Malware.png"><img class="aligncenter size-medium wp-image-178" title="Malware" src="http://www.ateliernet.org/wp-content/uploads/2011/08/Malware-300x231.png" alt="" width="300" height="231" /></a>Malware is software package intended to infiltrate or hurt a pc technique without the owner&#8217;s informed consent.Many typical laptop or computer customers are however nonetheless unfamiliar with the expression, and most in no way use it. As an alternative, &#8220;computer virus&#8221; is employed in frequent parlance and usually in the general media to explain all types of malware, though not all malware are viruses.</p>
<p>The most costly type of malware in terms of time and income put in in recovery has been the broad category acknowledged as spyware.Spyware plans are commercially made for the function of gathering data about pc consumers, showing them pop-up advertisements, or altering website-browser habits for the financial gain of the spyware creator. For instance, some spyware plans redirect lookup engine final results to compensated ads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ateliernet.org/tips-and-tricks/what-is-malware.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
