java source code

Read about java source code, The latest news, videos, and discussion topics about java source code from alibabacloud.com

Java read source code design mode: Adapter

Source Code related to the adapter mode:Slf4j-1.6.1, hibernate-3.6.7 As we all know, log4j is a widely used log tool. In addition, sun also has its own log tool in JDK, namely java. util. logging. Logger. Of course, there are other log tools. The functions and usage of multiple log tools are similar. They generally contain log-level methods such as debug, info,

Autumn leaves a button Web game server + client (no need to install Java) source code

The one-click installation version of the service side (including the client), no need to install Java, directly start the server to enter the game!!!New open to add the first GM method:Register your account and log into the game after creating a role name, enter the Gmgrade player role name in the server console 255That is, the role is successfully upgraded to GM (note the case of the input command)//////////////////////////////////////////changehero

Java source code analysis: in-depth discussion of the Iterator Mode

The java. util package contains a series of important collection classes. This article will start with analyzing the source code, thoroughly studying the internal structure of a collection class, and traversing the source code implementation of the iteration mode of the set.

Java source code analysis: in-depth discussion of the Iterator Mode

The java. util package contains a series of important collection classes. This article will start with analyzing the source code, thoroughly studying the internal structure of a collection class, and traversing the source code implementation of the iteration mode of the set.

Watch the jar and Java source code on a Web page with an online eclipse view

Always look forward to having an online eclipse website that wants to see a jar package that does not need to download this jar package locally and import Eclipse to see the source code of this jar. One day colleagues introduced a website www.grepcode.com really feel good, not only can see the source code of this jar,

Associated Java source code in Eclipse Project!

Eclipse Java source Code in Java source code Eclipse project!Javaeclipsejdkcc++How to view the jar source code in the Eclipse SDK such as: *

Java Background Framework Source code

650) this.width=650; "style=" white-space:normal; "src=" http://gd2.alicdn.com/imgextra/i2/332189337/ tb2j08bbfxxxxx9xxxxxxxxxxxx_!! 332189337.png "alt=" tb2j08bbfxxxxx9xxxxxxxxxxxx_!! 332189337. "/>650) this.width=650; "style=" Margin:0px;padding:0px;width:30px;float:none; "src=" http://a.tbcdn.cn/sys/ Wangwang/smiley/48x48/92.gif "/> Development Express: New Instant Messaging capabilities (Java WebSocket communication technology ) below---------

Java Learning -012-File Delete instance and source code

The source code of this article is mainly for the application of Java to create files. If there is any deficiency, please ask the great God to correct me, I appreciate it! The file deletion source code is as follows:1 /**2 * @function file operation: Delete file. If the

Python implements a batch conversion method from ANSI to UTF-8 Java source code

This article describes a Python-based batch conversion method that implements Java source code from ANSI to UTF-8. Share to everyone for your reference. Specific as follows: Like with eclipse of the great gods, may accidentally code becomes ANSI code, need to convert to Utf

Using Java source code to generate kettle 4.4

Kettle as an ETL tool. Its function is increasingly intact, has been the vast number of data mining enthusiasts favor. And because he is a Java open source project. To meet the needs of the project. It is necessary to study its source code, preferably integrated into a Java

JAVA Vector Source resolution and sample code _java

Part 1th Vector IntroductionVectors are vector queues, which are classes added by the JDK1.0 version. Inherits from Abstractlist, implements the list, randomaccess, cloneable these interfaces.Vector inherits the Abstractlist and realizes the list; therefore, it is a queue, supporting the relevant add, delete, modify, traverse and other functions.Vector implements the Randmoaccess interface, which provides a random access function. Randmoaccess is a list implemented in

Schematic Java IO: FilenameFilter Source code

Writer:bysocket (mud and brick pulp carpenter)Micro-Blog: BysocketWatercress: BysocketFaceBook: BysocketTwitter: Bysocketfrom the previous article diagram Java IO: First, File source code did not finish all the file things. This time about FilenameFilter, the filter file Think in Java wrote: More specifically,

Make Java source code into a jar package

Classes.jar Foo.class bar.classExample 2: Use an existing manifest file "Mymanifest" and archive all the files in the foo/directory to "Classes.jar":Jar CVFM Classes.jar mymanifest-c foo/.One, packaged into a generic jar packageEnter the following command:[Plain]View Plaincopy Jar CVF Counter.jar-c bin. Second, packaged into a runnable jar packageTo package as a runnable jar, you need to specify the main class in the Manifest.mf file, as an example of how to package the

Java =, equals (), hashCode () Source Code Analysis

Java =, equals (), hashCode () Source Code AnalysisComparison of = and equals () is often encountered in java programming or interviews. I looked at the source code and summarized it with the actual programming. 1. = in

Java Collection framework 08 -- HashMap and source code analysis

Java Collection framework 08 -- HashMap and source code analysis1. Introduction to HashMap First, let's take a look at the inheritance relationship of HashMap. java.lang.Object ? java.util.AbstractMap ? java.util.HashMap public class HashMap extends AbstractMap implements Map , Cloneable, Seriali

Analyze the source code of ArrayList and LinkedList list structure in Java _java

performance.The diagram below is the entire expansion process I've summed up: 3.ArrayList iterators ArrayList's iterator has two main itr and Listitr, but in jDK1.8 also added a arraylistspliterator, below learn ITR and LISTITR source code analysis. (1) Itr: can only traverse backwards Private class Itr implements iterator From the source, you can

Data synchronization Scheme (Java source code included)

I. Background to the issueOften encountered to synchronize data, and the system comes with the replication function can not achieve incremental synchronization, each time to do the full amount of replication, the abnormal situation can only start again, very troublesome, excellent it is the kind of large file processing, it is time-consuming.Two. Solution1. Calculate the source directory data fingerprint2. Calculating the target directory data fingerp

Java 7 source code analysis 10th

Maybe we often pay attention to the characteristics of each Set in practical applications or interviews. For example, the Set cannot store duplicate elements, and cannot maintain the insertion and size order, map sets store key-value pairs and so on. However, if you want to learn Java well or have a higher goal and be proficient in Java, it is far from enough. In fact, we still need to know more about the c

Learn Java NIO design through the Http11NioProtocol source code of Tomcat

Learn Java NIO design through the Http11NioProtocol source code of Tomcat Tomcat's Http11NioProtocol uses Java NIO technology to implement high-performance Web servers. This article analyzes the source code of Http11NioProtocol to

Java http large file upload, breakpoint continuation project research, GitHub upload source code

1, Project ResearchBecause you need to study the problem of uploading breakpoints. Looking for a long time finally found a better project.In the googlecode above, the code to get down Super inconvenient, or configure the hosts just good, put the code back to GitHub above.Https://github.com/freewebsys/java-large-file-uploader-demoEffect:Upload, show progress, time

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.