Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: How to updating LinkedList Items

import java.util.LinkedList;
public class Ex_LinkedList
 {
  public static void main(String[] a) {
    LinkedList ma_Liste = new LinkedList();
    ma

Java: How to convert an Array to a List

import java.util.Arrays;
import java.util.List;
public class ArrayToList
 {
    public static void main(String[] args)
    {
        String[] tab = {

Java: How to Find maximum element of ArrayList

import java.util.ArrayList;
import java.util.Collections;
public class ArrayL_Max
 {
  public static void main(String[] args) {
    ArrayList array_L

Java: How to remove Element in Vector

import java.util.Vector;
public class Del_Vec
{
  public static void main(String[] args)
  	{
      Vector vec = new Vector();
    // Add items to th

Java: How to convert a LinkedList to ArrayList

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
public class LinkedList2ArrayL
 {
  public static void main(String[]

Java: How to sort an array

import java.util.Arrays;
public class SortArray
 {
  public static void main(String[] args)
  	 {
    String[] tableau_string = new String[] { "Z", "

Java: How to remove duplicate elements from static array

import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class Tableau_Doublon
 {
  public stati

Java: Calculate the nth fibonacci number in the series

public class Fibonacci
{
	private static void calcul_fibonacci(int nombre)
	{
		int term1 = 1, term2 = 1, term3;
        for (int i = 0; i < nombre;

Java: How to remove duplicate items from an ArrayList

import java.util.ArrayList;
import java.util.Set;
import java.util.List;
import java.util.HashSet;
public class Doublon
{
  public static void main(S

Java: How to get Synchronized List from ArrayList

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class ArrayL_Sync
 {
  public static void main(String[] args)

Java: How to compare two-dimensional arrays

import java.util.Arrays;
public class ComparaisonTableau {
/* 
 * This function returns true 
 * if two array are identical
 */
  public static b

Java: How to remove range of elements from LinkedList

import java.util.LinkedList;
public class Remove_Group
 {
  public static void main(String[] args)
  	{
    LinkedList ma_Liste = new LinkedList();

Java: How to find duplicates in arrays

import java.util.Arrays;
public class DuplicateFinder
 {
  public static boolean findDoulon(final Object[] array)
  	{
      for (int i = 0; i < arra

Java: How to use BitSet Collection

import java.util.BitSet;
public class ExampleBitSet
 {
  public static void main(String args[])
  	{
    String lang_s[] = { "Java", "Python", "Andro

Java: How to find Minimum item of ArrayList

import java.util.ArrayList;
import java.util.Collections;
public class ArrayL_Min
 {
  public static void main(String[] args)
  	{
    ArrayList arra