XML parser - Several parser come along with Java SE lib, which one is your favourite? This time I got told to implement a Java class which take xml file as input then extract selected info, such as Topic / Content / Time stamp…… and packed it as text file for further process. It sound … Continue reading A new way that u never thought of?
The topic pretty much explain itself. Mainly cuz I dun understand how it become just a trendy topic on Dev group. People keep talking about it day by day by day till forever…… Just a coincidence having a short period of free time for me dig upper into this topic in recent week. How you … Continue reading How docker help developer?
Yup finally I settled down with a company or a job more precisely? A financial company which mainly handle stock transaction. Of course I have far more to learn in the near future and new challenge come every day. Unlike the last one, I feel alive which work with tenanted colleague and work closely with … Continue reading Try with resources or not?
Today's topic more on concurrent package. Which kick in from Java 1.5 if I m not mistaken. Have a peek with following class first. It's a class with interface . On the override method , simply print out the array "Demo_words" in a for loop and put thread into sleep for 2s after every print … Continue reading Thread join && Sleep
Properties class, it almost my favour class when building my own side project. It come into handy because Java help dev to store information in a file with pre-defined format. Which mean not need to write method(handler) for fetch && save data by ourself. In order to retrieve information from file, you need "FileInputeStream" with … Continue reading Property class
Generic container, used while not sure incoming parameter type. Two implementation can be used handle this kind of situation. First one is Object container, it sound exactly like it name. Using type <Object> for any incoming parameter as following: As you may seen, all member within the class declare as type <Object> so as the … Continue reading Choice of generic container
Yup yup yup, after the CNY passed. Job seeking resume, as expected that it's really hard to find a entry lv Java job especially when no any prior experience. But today is more about Java. While starting the journey of organising previous code. Found out that I wrote a small segment of Java code which kind … Continue reading Immutable object on Java