Friday, November 13, 2009

First Masal Vadai






Tea Kadai Bench
"f5erZ, the CTS the Cognizant Industry is gonna to come"



The Cognizant Chennai are gonna to be in our college hardly
within 100 hours of our memorable life. 17th of this month.
The Cognizant means 'AWARE'. PSG College of Technology is the first to receive CTS.


The Bargain


Motorola DROID [best google ANDROID Verizon Wireless]

A Code
Here are two methods that allow you to remove duplicates in an ArrayList. removeDuplicate does not maintain the order where as removeDuplicateWithOrder maintains the order with some performance overhead.
  1. The removeDuplicate Method:
     /** List order not maintained **/    public static void removeDuplicate(ArrayList arlList)
      {
       HashSet h = new HashSet(arlList);
       arlList.clear();
       arlList.addAll(h);
      } 
  2. The removeDuplicateWithOrder Method:
     /** List order maintained **/
     public static void removeDuplicateWithOrder(ArrayList arlList)
     {
     Set set = new HashSet();
     List newList = new ArrayList();
     for (Iterator iter = arlList.iterator();    iter.hasNext(); ) {
     Object element = iter.next();
       if (set.add(element))
          newList.add(element);
        }
        arlList.clear();
        arlList.addAll(newList);
    }
Indraya Perusu Nallu TeA

Name : Swami Alag Ananda

Work : Kadalai & only Kadalai

Teachings :

Never at Time Petr! Petr! and Petr
The Art of Sleep starts with a Nap
"for every pigure, each boy, a loop repeats until she loves him"



  • Sachin's 20 yrs CRICKET
  • 7th SEM Exam Results will be on Nov,24



1 comment:

vicky said...

Hello Tea Kadai owner !

Good work man...keep going...