In the study of Java often encounter some words, but the general time is not very concerned about the meaning of the word, but can understand what this tool or framework can do. Occasionally summed up a bit is quite interesting. If there are omissions, you can help to add.· maven [' mevn] N. Insider, Expert· Nexus [' neks?s] N. a link or connection· Apache [? ' P??; P??] N. Apache Tribe (American Ind
JconsoleStarts a graphical console that lets you monitor and manage Java applications.SynopsisJconsole [ Options ] [Connection ...]Options
The command-line options. See Options.
Connection = PID |Host:port | Jmxurl
The pid value is the process ID of a local Java Virtual machine (JVM). The JVM must is running with the same user ID as the user ID running the jcons
PMD 5.7.0 was released. PMD is a Java program code checker that is released using the BSD protocol. The tool can check whether the Java code contains unused variables, contains empty fetch blocks, contains unnecessary objects, and so on. The software is powerful and highly efficient, and is a good helper for Java progr
Rendezvous 3!Pool-1-thread-3 is about to arrive at meeting point 3, there are currently 1 threads arriving, waiting ...Pool-1-thread-1 is about to arrive at meeting point 3, there are currently 2 threads arriving, waiting ...Pool-1-thread-2 is about to arrive at the meeting point 3, there are currently 3 threads arrived, all to the same, the execution is complete!
Cyclicbarrier's application is also obvious: in a certain demand, such as a large task, often need to allocate a lot of sub-tas
Java concurrency tool CountDownLatch
Java's concurrency tool has a CountDownLatch class for multiple threads to wait for the same signal.Imagine a scenario where multiple threads are processing different tasks and need to execute a task after all threads are executed to a certain stage. For example, the software uses multiple threads to load different modules and
the array are converted directly to the elements in the collection when they become collections.c, if the elements in the array are basic data types, the array will be present as an element in the collection.2,BinarySearch (): Binary lookup method,fill (): Replacement method,sort (): Sorting method, etc. Features: An array of elements can be manipulated to accept a variety of basic data types other than Boolean and an ordered list of reference types of parameters, but also the scope of the spe
tool Jad
JAD is a very extensive Java decompile tool, the above jadclipse is based on the JAD decompile plug-ins, JAD file contains the MIDlet suite header information, such as the development of the application of the company, application name and size.
Official website: http://varaneckas.com/jad/ 3, Java anti-compil
Configure environment variables This thing should be rotten. In the program ape, basically windows or MAS OSX or Linux have a fixed configuration, we use any software is based on the system this top-level application, the previous author has described how to configure the Java environment variables in the Max OS, Don't repeat it here.Computer--Right-click Properties650) this.width=650; "Title=" Java build
;import Org.ansj.domain.term;import Org.ansj.splitword.analysis.toanalysis;public class wordsegmenttest {public static void main (string[] args) {String str = "If life can always be like a two or three-year-old child, there would have been no responsibility, it would have been no hardship." How can you hide when the responsibility is on your shoulder when you grow up? But there is a difference in size. It is a great pleasure to do a great job, and a small pleasure to do a small duty. If you want
As mentioned in the introduction Sun now provides these tools for XML processing in Java:
StAX Reader/writer
SAX Parser
DOM Parser
XPath Evaluator
XSL Processor
Jaxb
In the following sections I'll talk a bit about what these tools is, and what their purposes is.StaxThe Java StAX API is a streaming API for reading and writing XML streams. As such it resembles the older Sax A
This article is transferred from:
Java report tool function comparison
Over the past few years, the Java report market has been very popular. First, overseas products such as Crystal Reports, Brio, and style have successively entered the market, then, the Chinese table, the table creation, the huge number, and Qin, runqian, and Jie started to emerge. (some of th
Java programming thread synchronization tool Exchanger instance parsing, javaexchanger
This article focuses on the use of Java programming thread synchronization tool Exchanger. Let's take a look at the specific content.
If two threads need to exchange information about each other during the running process, for exampl
Bean-Query a Java tool library that converts an object to MapA fully tested Java tool class is just open-source. The current Code has undergone a complete test and is being applied to be placed on Maven central Repository.Bean-query
Click Here for English version.
BeanQuery is a Ja
Java command line program build tool-airline
In the past, I used to develop Java command line programs. I had a lot of trouble parsing parameters and some help information, today, when studying the interface test, I accidentally discovered a tool that allows you to quickly build a command line program.
Github address
and consumes the license (the license becomes unavailable) and, if the license is unavailable, is blocked.The Unpark () method, in turn, makes a license available.This feature makes it possible for the next park () operation to return immediately, even if the Unpark () operation occurs before Park (). This is why the above example code ended successfully.At the same time, the park () suspended thread will not be as suspend () as the thread state Runnable,park () will explicitly give the waiting
The Apache Toolkit Common-lang has a very useful tool class for handling strings, one of which is stringescapeutils, a tool class that is added to the 2.3 version above, and it can be easily html,xml with The escape and reversal semantics of Java, but also the key string can be processed to prevent SQL injection, but it seems like common-lang3.0 after I looked li
Creation ReasonThe simplified conversion of Chinese is a very common requirement.But a lot of tool classes are simply mapping. (Use Map, collection, properties) and so on.There is a serious problem: there may be a problem with the conversion of special phrases .OpenccOPENCC is a very good conversion tool. However, there are no direct Java-friendly jars available.
or decrement a time field
Get (Intfield) Returns the value of the given Calendar field
getactualmaximum (Intfield) Returns the current maximum value for a given time field
getactualminimum (Intfield) Returns the current minimum value for a given time field
getinstance () Returns a calendar instance. Because the calendar is an abstract class and cannot be instantiated, you can only get an instance of it by using this method
getTime () Return
Directory location in the project under the tool class:1. Chinese into pinyin, initials, Chinesechartopinyin, when using this class must be added Pinyin.jar,pinyin.jar has been placed in the Hqhop-framework-web project Lib directory;How to use:The Chinesechartopinyin provides only two methods:public static string Getpinyin (String src) {...} Convert Chinese characters to full spellpublic static string Getpinyinheadchar (String str) {...} Extract the f
In Java, the Jsonobject and Jsonarray base classes are provided in the Json-lib-2.3-jdk15.jar package for JSON serialization and deserialization operations. But we are more accustomed to encapsulating it further and achieving better reuse.The encapsulated JSON tool class Jsonutils.java code is as follows:Jsonutils Code, click ExpandImport java.util.ArrayList;Import java.util.Collection;Import Java.util.Hash
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.