Collections in Java Part II : Sets

Hello Friends,

This is part II for the collections tutorial, earlier we discussed the basics of collection framework. In this part,we will look at the one of the child interface, the SET interface.

A Set is the collection that contains no duplicate elements. Any class implementing the Set interface is not permitted to have duplicate entries, to be more precised, no two elements in the Set s1 ans s2 are such that s1.equals(s2). The Set interface extends the super interface – Collection interface, however there is one subInterface of Set called as SortedSet. Continue reading “Collections in Java Part II : Sets”

Collections in Java Part I : Introduction.

Hello Friends,

This is one of my tutorials regarding one of the best feature in java i.e. Collections Framework. First of all, we need to understand the basic characteristics regarding this.

Why Collections?

In the versions prior to 1.2 the standard methods for grouping Java objects were via the Array, the Vector, and the HashTable classes, which were not easy to extend, and did not implement a standard member interface.

Collections:  Introduction.

A collection, in general, means something like a group of objects stored in a structured manner, it is also called as a container. The Java collections framework is a set of classes and interfaces that implements commonly reusable collection data structures. Continue reading “Collections in Java Part I : Introduction.”

SQL Query to find JiRA Project Admins from Database

Hello Friend,

This is one of my tutorial regarding Jira. Following is regarding the use of SQL query in the Database to find the user admins of the particular project in Jira. It is a simple sql query that includes common clauses that a normal query use. The SQL Query is shown below~ Continue reading “SQL Query to find JiRA Project Admins from Database”

Jira Plugin Deployment.

Hello Friends,

This is one of the most important tutorial for all the jira developers. You may have heard about the plugins in jira which is a simple Java Archive File with .jar extension. This JAR file contains the class files and auxiliary resources associated with the applications. In Jira we can use Eclipse IDE for writing the plugin and creating its jars. Continue reading “Jira Plugin Deployment.”

Maven Installation.

Hello Friends,

This is one of my tutorial for installation of Maven on windows. Maven is a software project management tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. Maven is an open source community and is a part of the Apache Software Foundation. The following instructions will guide you how to install Maven on Windows:- First, download the compressed zip file for the installation. Since it is open source it is easily downloadable from the internet. Then follow the Continue reading “Maven Installation.”

Collections In Java.

Hello friends,

Welcome to another tutorial for java followers. You all may have heard about Collections, it is one of the amazing feature in java. Collections are the object for the group of elements, these elements are nothing but the different data structures like as Array Lists, Linked Lists, Vectors, Hash tables,Hash List, Trees, Hash maps etc. Collections are used to store, retrieve, update, delete and communicate the aggregate data i.e. data composed of a multitude or combination of other individual data. Collection represents the data items from a particular group and hence they are also called as “Container”. Continue reading “Collections In Java.”

Threads in Java.

Hello Friends,

This is the tutorial for the java developers. One of the most significance feature of core java is Threading. Threading deals with the processing of Threads in a single java program. Let us learn what actually are Threads.

*What are Threads?

Threads are independently running processes that are isolated from each other upto some extent, they are sometimes called as the Light weighted processes. In Other words Threading is the facility to allow multiple activities to co-exists within a single running process. As many as threads can exists in a java program, but each of them have its own Program Counter, Stack, life time Continue reading “Threads in Java.”

Sorting Arrays in Java

Hello Friends,

I would like to welcome you to my blog.

This is the tutorial for all my java followers. We all must be familiar with arrays and sorting arrays.

Here is a small but very useful tip that every Java programmer should be aware of. Have you ever tried sorting arrays in Java? Well, java.util.Arrays class has built in method to make your job easy. You can use following method to sort any array in Java. Continue reading “Sorting Arrays in Java”

Abstract Class In JAVA

Hello Friends,

This tutorial is for all the Java followers. One of the best feature that is widely used is the term ‘Abstract’. This term can be used as either class or a simple method.

An abstract method is any method that is just declared but not instantiated. In other words one can just create the declaration of the method but cannot write any thing in it to perform at that particular instance. And the class containing even a single abstract method then the class is called as ‘Abstract Class’‘ . To use that particular method one must have to inherit the class ( ‘abstract class’) then it has to be overridden as per required. Continue reading “Abstract Class In JAVA”

JAR File : Java Archive File

Hello friends.

This is one of my tutorials for JAVA learner. All of you must be aware of Java Archive File i.e. JAR file.

Jar file is nothing but the collection of various class files into a single module.

Now one must be thinking that what is the actual need of jar file? Look friends this is not compulsory to create a jar file when we can directly run our code using class file to be interpreted. But what if we want that code to be used by any other person who does not know java or has no knowledge about how to run the java code? In this case we can provide the compressed version of class files into a single module called JAR file. Continue reading “JAR File : Java Archive File”