Sure about this likings!

INS 22 Dumps Materials Questions Ch:10


Ins 22 Course Guide: Personal Insurance
 Answers to Questions in the Course Guide: INS 22 (1994-1995)
Property Insurance (For Ins 22)


Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Dumps Materials Questions Ch:9

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Dumps Materials Questions Ch:8

Ins 22 Course Guide: Personal Insurance
 Answers to Questions in the Course Guide: INS 22 (1994-1995)
Property Insurance (For Ins 22)

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Dumps Materials Questions Ch:7

INS 22 Dumps Materials Questions Ch:6

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Dumps Materials Questions Ch:5

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Dumps Questions Materials Ch:4

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Chapter 3 Dumps, Questions Answers, Materials

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Chapter 2 - Materials, Dumps, Questions Answers

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

INS 22 Chapter 1 - Materials, Dumps, Questions Answers

Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

Top 10 comedy questions answers - lol

1. At the movies:When you meet acquaintances/ friends.. .

Question:- Hey, what are you doing here?
Answer:- Dont u know, I sell tickets in black over here...


2. In the bus:A heavy lady wearing pointed high-heeled shoes steps on your feet...

Question:- Sorry, did that hurt?
Answer:- No, not at all, I'm on local anesthesia.. ...why don't you try again.


3. At a funeral:One of the teary-eyed people ask...

Question:- Why, why him, of all people.
Answer:- Why? Would it rather have been you?


4. At a restaurant: When you ask the waiter

Question:-Is the "Butter Paneer Masala" good??
Answer:- No, its terrible and made of adulterated cement. We occassionaly also spit in it.


5. At a family get-together: When some distant aunt meets you after years

Question:-Munna, Chickoo, you've become so big.
Answer:- Well you haven't particularly shrunk yourself.


6. When a friend announces her wedding, and you ask...

Question:- Is the guy you're marrying good?
Answer:- No,he's a miserable wife-beating ,insensitive lout...it's just the money.


7. When you get woken up at midnight by a phone call...

Question:- Sorry. were you sleeping?
Answer:- No. I was doing research on whether the Zulu tribes inAfrica marry or not. You thought I was sleeping.... you dumb witted moron.


8. When you see a friend/colleague with evidently shorter hair...

Question:- Hey have you had a haircut?
Answer:- No, its autumn and I'm shedding.... ..


9. At the dentist when he's sticking pointed objects in your mouth...

Question:- Tell me if it hurts?
Answer:- No it wont. It will just bleed.


10. You are smoking a cigarette and a cute woman in your officeasks.. .

Question:- Oh, so you smoke.
Answer:- Gosh, it's a miracle ...........it was a piece of chalk and now it's in flames!!!

How to live life-Nick Vujicic-living inspiration

Living Inspiration...

Nick Vujicic's words:

My name is Nick Vujicic and I give God the Glory for how He has used my testimony to touch thousands of hearts around the world! I was born without limbs and doctors have no medical explanation for this birth "defect". As you can imagine, I was faced with many challenges and obstacles.

"Consider it pure joy, my Brothers, whenever you face trials of many kinds."

....To count our hurt, pain and struggle as nothing but pure joy? As my parents were Christians, and my Dad even a Pastor of our church, they knew that verse very well. However, on the morning of the 4th of December 1982 in Melbourne (Australia), the last two words on the minds of my parents was "Praise God!". Their firstborn son had been born without limbs! There were no warnings or time to prepare themselves for it. The doctors we shocked and had no answers at all! There is still no medical reason why this had happened and Nick now has a Brother and Sister who were born just like any other baby.
The whole church mourned over my birth and my parents were absolutely devastated. Everyone asked, "if God is a God of Love, then why would God let something this bad happen to not just anyone, but dedicated Christians?" My Dad thought I wouldn't survive for very long, but tests proved that I was a healthy baby boy just with a few limbs missing.





Understandably, my parents had strong concern and evident fears of what kind of life I'd be able to lead. God provided them strength, wisdom and courage through those early years and soon after that I was old enough to go to school.
The law in Australia didn't allow me to be integrated into a main-stream school because of my physical disability. God did miracles and gave my Mom the strength to fight for the law to be changed. I was one of the first disabled students to be integrated into a main-stream school.

I liked going to school, and just try to live life like everyone else, but it was in my early years of school where I encountered uncomfortable times of feeling rejected, weird and bullied because of my physical difference. It was very hard for me to get used to, but with the support of my parents, I started to develop attitudes and values which helped me overcome these challenging times. I knew that I was different but on the inside I was just like everyone else. There were many times when I felt so low that I wouldn't go to school just so I didn't have to face all the negative attention. I was encouraged by my parents to ignore them and to try start making friends by just talking with some kids. Soon the students realized that I was just like them, and starting there God kept on blessing me with new friends.

There were times when I felt depressed and angry because I couldn't change the way I was, or blame anyone for that matter. I went to Sunday School and learnt that God loves us all and that He cares for you. I understood that love to a point as a child, but I didn't understand that if God loved me why did He make me like this? Is it because I did something wrong? I thought I must have because out of all the kids at school, I'm the only weird one. I felt like I was a burden to those around me and the sooner I go, the better it'd be for everyone. I wanted to end my pain and end my life at a young age, but I am thankful once again, for my parents and family who were always there to comfort me and give me strength.

Due to my emotional struggles I had experienced with bullying, self esteem and loneliness, God has implanted a passion of sharing my story and experiences to help others cope with whatever challenge they have in their life and let God turn it into a blessing. To encourage and inspire others to live to their fullest potential and not let anything get in the way of accomplishing their hopes and dreams.

One of the first lessons that I have learnt was not to take things for granted.

"And we know that in all things God works for the best for those who love Him."
That verse spoke to my heart and convicted me to the point where that I know that there is no such thing as luck, chance or coincidence that these "bad" things happen in our life.

I had complete peace knowing that God won't let anything happen to us in our life unless He has a good purpose for it all. I completely gave my life to Christ at the age of fifteen after reading John 9. Jesus said that the reason the man was born blind was "so that the works of God may be revealed through Him." I truly believed that God would heal me so I could be a great testimony of His Awesome Power. Later on I was given the wisdom to understand that if we pray for something, if it's God's will, it'll happen in His time. If it's not God's will for it to happen, then I know that He has something better.

I now see that Glory revealed as He is using me just the way I am and in ways others can't be used.

I am now twenty-one years old and have completed a Bachelor of Commerce majoring in Financial Planning and Accounting. I am also a motivational speaker and love to go out and share my story and testimony wherever opportunities become available. I have developed talks to relate to and encourage students through topics that challenge today's teenagers. I am also a speaker in the corporate sector.









I have a passion for reaching out to youth and keep myself available for whatever God wants me to do, and wherever He leads, I follow.

I have many dreams and goals that I have set to achieve in my life. I want to become the best witness I can be of God's Love and Hope, to become an international inspirational speaker and be used as a vessel in both Christian and non-Christian venues. I want to become financially independent by the age of 25, through real estate investments, to modify a car for me to drive and to be interviewed and share my story on the "Oprah Winfrey Show"! Writing several best-selling books has been one of my dreams and I hope to finish writing my first by the end of the year. It will be called "No Arms, No Legs, No Worries!"









I believe that if you have the desire and passion to do something, and if it's God's will, you will achieve it in good time. As humans, we continually put limits on ourselves for no reason at all! What's worse is putting limits on God who can do all things. We put God in a "box". The awesome thing about the Power of God, is that if we want to do something for God, instead of focusing on our capability, concentrate on our availability for we know that it is God through us and we can't do anything without Him. Once we make ourselves available for God's work, guess whose capabilities we rely on? God's!











Cucumber benefits, juice, recipes - healthy

Cucumber benefits, juice, recipes, nutrition, soup - healthy one.
Never thought that CUCUMBER can do so much!

The Amazing Cucumber...

This information was in The New York Times several weeks ago as part of their "Spotlight on the Home" series that highlighted creative and fanciful ways to solve common problems.



1. Cucumbers contain most of the vitamins you need every day, just one cucumber contains Vitamin B1, Vitamin B2, Vitamin B3, Vitamin B5, Vitamin B6, Folic Acid, Vitamin C, Calcium, Iron, Magnesium, Phosphorus, Potassium and Zinc.

2. Feeling tired in the afternoon, put down the caffeinated soda and pick up a cucumber. Cucumbers are a good source of B Vitamins and Carbohydrates that can provide that quick pick-me-up that can last for hours.

3. Tired of your bathroom mirror fogging up after a shower? Try rubbing a cucumber slice along the mirror, it will eliminate the fog and provide a soothing, spa-like fragrance.




4. Are grubs and slugs ruining your planting beds? Place a few slices in a small pie tin and your garden will be free of pests all season long. The chemicals in the cucumber react with the aluminium to give off a scent undetectable to humans but drive garden pests crazy and make them flee the area.

5. Looking for a fast and easy way to remove cellulite before going out or to the pool? Try rubbing a slice or two of cucumbers along your problem area for a few minutes, the photochemical in the cucumber cause the collagen in your skin to tighten, firming up the outer layer and reducing the visibility of cellulite. Works great on wrinkles too!!!

6. Want to avoid a hangover or terrible headache? Eat a few cucumber slices before going to bed and wake up refreshed and headache free. Cucumbers contain enough sugar, B vitamins and electrolytes to replenish essential nutrients the body lost, keeping everything in equilibrium, avoiding both a hangover and headache!!



7. Looking to fight off that afternoon or evening snacking binge? Cucumbers have been used for centuries and often used by European trappers, traders and explores for quick meals to thwart off starvation.

8. Have an important meeting or job interview and you realize that you don't have enough time to polish your shoes? Rub a freshly cut cucumber over the shoe, its chemicals will provide a quick and durable shine that not only looks great but also repels water.

9. Out of WD 40 and need to fix a squeaky hinge? Take a cucumber slice and rub it along the problematic hinge, and voila, the squeak is gone!

10. Stressed out and don't have time for massage, facial or visit to the spa? Cut up an entire cucumber and place it in a boiling pot of water, the chemicals and nutrients from the cucumber with react with the boiling water and be released in the steam, creating a soothing, relaxing aroma that has been shown the reduce stress in new mothers and college students during final exams.



11. Just finish a business lunch and realize you don't have gum or mints? Take a slice of cucumber and press it to the roof of your mouth with your tongue for 30 seconds to eliminate bad breath, the photochemical will kill the bacteria in your mouth responsible for causing bad breath.

12. Looking for a 'green' way to clean your faucets, sinks or stainless steel? Take a slice of cucumber and rub it on the surface you want to clean, not only will it remove years of tarnish and bring back the shine, but is won't leave streaks and won't harm you fingers or fingernails while you clean.

13. Using a pen and made a mistake? Take the outside of the cucumber and slowly use it to erase the pen writing, also works great on crayons and markers that the kids have used to decorate the walls!!
Pass this along to everybody you know who is looking for better and safer ways to solve life's everyday problems..

Toll free numbers India - companies

Here we are seeing a list of toll free numbers in India for various industries like Airlines, Banks, Automobiles, Computers/IT, Indian Railway, Couriers/Packers & Movers, Home Appliances, Investments/Finance, Travel, Healthcare, Insurance providers, Hotel Reservations, Teleshopping, Cell Phones and so on.,


Airlines
Indian Airlines - 1800 180 1407
Jet Airways - 1800 22 5522
Spice Jet - 1800 180 3333
Air India -- 1800 22 7722
Kingfisher - 1800 180 0101


Banks
ABN AMRO - 1800 11 2224
Canara Bank - 1800 44 6000
Citibank - 1800 44 2265
Corporation Bank - 1800 443 555
Development Credit Bank - 1800 22 5769
HDFC Bank - 1800 227 227
ICICI Bank - 1800 333 499
ICICI Bank NRI - 1800 22 4848
IDBI Bank - 1800 11 6999
Indian Bank - 1800 425 1400
ING Vysya - 1800 44 9900
Kotak Mahindra Bank - 1800 22 6022
Lord Krishna Bank - 1800 11 2300
Punjab National Bank - 1800 122 222
State Bank of India - 1800 44 1955
Syndicate Bank - 1800 44 6655


Automobiles
Mahindra Scorpio - 1800 22 6006
Maruti - 1800 111 515
Tata Motors - 1800 22 5552
Windshield Experts - 1800 11 3636


Computers/IT
Adrenalin - 1800 444 445
AMD - 1800 425 6664
Apple Computers - 1800 444 683
Canon - 1800 333 366
Cisco Systems - 1800 221 777
Compaq - HP - 1800 444 999
Data One Broadband - 1800 424 1800
Dell - 1800 444 026
Epson - 1800 44 0011
eSys - 3970 0011
Genesis Tally Academy - 1800 444 888
HCL - 1800 180 8080
IBM - 1800 443 333
Lexmark - 1800 22 4477
Marshal's Point - 1800 33 4488
Microsoft - 1800 111 100
Microsoft Virus Update - 1901 333 334
Seagate - 1800 180 1104
Symantec - 1800 44 5533
TVS Electronics - 1800 444 566
WeP Peripherals - 1800 44 6446
Wipro - 1800 333 312
Xerox - 1800 180 1225
Zenith - 1800 222 004


Indian Railway Enquiries
Indian Railway General Enquiry 131
Indian Railway Central Enquiry 131
Indian Railway Reservation 131
Indian Railway Railway Reservation Enquiry 1345,1335,1330
Indian Railway Centralised Railway Enquiry 1330/1/2/3/4/ 5/6/7/8/9


Couriers/Packers & Movers
ABT Courier - 1800 44 8585
AFL Wizz - 1800 22 9696
Agarwal Packers & Movers - 1800 11 4321
Associated Packers P Ltd - 1800 21 4560
DHL - 1800 111 345
FedEx - 1800 22 6161
Goel Packers & Movers - 1800 11 3456
UPS - 1800 22 7171


Home Appliances
Aiwa/Sony - 1800 11 1188
Anchor Switches - 1800 22 7979
Blue Star - 1800 22 2200
Bose Audio - 1800 11 2673
Bru Coffee Vending Machines - 1800 44 7171
Daikin Air Conditioners - 1800 444 222
DishTV - 1800 12 3474
Faber Chimneys - 1800 21 4595
Godrej - 1800 22 5511
Grundfos Pumps - 1800 33 4555
LG - 1901 180 9999
Philips - 1800 22 4422
Samsung - 1800 113 444
Sanyo - 1800 11 0101
Voltas - 1800 33 4546
WorldSpace Satellite Radio - 1800 44 5432


Investments/ Finance
CAMS - 1800 44 2267
Chola Mutual Fund - 1800 22 2300
Easy IPO's - 3030 5757
Fidelity Investments - 1800 180 8000
Franklin Templeton Fund - 1800 425 4255
J M Morgan Stanley - 1800 22 0004
Kotak Mutual Fund - 1800 222 626
LIC Housing Finance - 1800 44 0005
SBI Mutual Fund - 1800 22 3040
Sharekhan - 1800 22 7500
Tata Mutual Fund - 1800 22 0101


Travels
Club Mahindra Holidays - 1800 33 4539
Cox & Kings - 1800 22 1235
God TV Tours - 1800 442 777
Kerala Tourism - 1800 444 747
Kumarakom Lake Resort - 1800 44 5030
Raj Travels & Tours - 1800 22 9900
Sita Tours - 1800 111 911
SOTC Tours - 1800 22 3344


Healthcare
Best on Health - 1800 11 8899
Dr Batras - 1800 11 6767
GlaxoSmithKline - 1800 22 8797
Johnson & Johnson - 1800 22 8111
Kaya Skin Clinic - 1800 22 5292
LifeCell - 1800 44 5323
Manmar Technologies - 1800 33 4420
Pfizer - 1800 442 442
Roche Accu-Chek - 1800 11 45 46
Rudraksha - 1800 21 4708
Varilux Lenses - 1800 44 8383
VLCC - 1800 33 1262


Insurance providers
AMP Sanmar - 1800 44 2200
Aviva - 1800 33 2244
Bajaj Allianz - 1800 22 5858
Chola MS General Insurance - 1800 44 5544
HDFC Standard Life - 1800 227 227
LIC - 1800 33 4433
Max New York Life - 1800 33 5577
Royal Sundaram - 1800 33 8899
SBI Life Insurance - 1800 22 9090


Hotel Reservations
GRT Grand - 1800 44 5500
InterContinental Hotels Group - 1800 111 000
Marriott - 1800 22 0044
Sarovar Park Plaza - 1800 111 222
Taj Holidays - 1800 111 825


Teleshopping
Asian Sky Shop - 1800 22 1800
Jaipan Teleshoppe - 1800 11 5225
Tele Brands - 1800 11 8000
VMI Teleshopping - 1800 447 777
WWS Teleshopping - 1800 220 777


Cell Phones
BenQ - 1800 22 08 08
Bird CellPhones - 1800 11 7700
Motorola MotoAssist - 1800 11 1211
Nokia - 3030 3838
Sony Ericsson - 3901 1111


Others
Domino's Pizza - 1800 111 123

How to release stress - tension

Stress can cause physical and emotional effects on you which can be positive or negative. It is the action that your body goes through, as it tries to adjust to your changing environment. It can either compel you to act and make you excited over something new or it can make you feel disgusted, rejected, angry, and depressed. Stress could lead to health problems like headaches, nausea, rashes, and high blood pressure. Stress can either help you re-adjust your life or hinder you. It all depends on how you react to it.

Here we go for more links:
More about 'how to quit smoking and release stress'...
How to Win - Success mantra


Definitely you will be out off stress once you read and follow the below content.

1. Build in "Do Not Disturb" Time:

For thirty minutes every day, schedule time for no electronic interruptions.

Don't answer the telephone and don't check or send email. For some of us "Crackberry" addicts, that can seem unimaginable, but you'll find that even thirty minutes of uninterrupted time will enable you to accomplish more and feel less stressed.

If you have little ones at home, try exchanging baby-sitting duties with a neighbor so that you can have thirty minutes to focus, without interruptions.


2. Be Here Now:

Most busy women multi-task. Cleaning house while on the telephone and coaching the kids' homework while preparing dinner.

Try, instead, to be fully present while you do a single task. "Being here now", fully aware of what you're doing in the moment will quiet your mind and leave you more relaxed.

For example, while you're chopping vegetables, allow your mind to drift. This brief mental vacation will recharge your batteries so that when you do work with the kids on their homework, you'll feel less stressed and both you and the children will enjoy it more.

3. Manage Your "To Do" List:

Each morning start your day by reviewing your "to do" list. Prioritize into "must do", "nice to do" and "whenever I get to it". If your "must dos" are more than you can manage in one day, consider alternatives. Can someone else take it on, or at least assist? Does it really have to be done today?

If an item has been languishing on your "when I get to it" list, take it off. Seeing it every day is just a reminder that will induce guilt and stress. When you're really ready to do it, add it to the list and then just do it!

4. Reexamine Your Expectations:

From the time we're young, we're programmed to do and be the best. Admirable, but very difficult to achieve. Yes, you want to be the best wife, best mother, best friend, best employee, best daughter, best housekeeper and the list goes on. Just for today, decide which aspect of your life needs the most attention and place your focus there.

Also, reexamine your "best of" list. Perhaps you shouldn't attempt to be the "best housekeeper" and "best cook" while you have three kids under the age of five. For now, focus on being the best mom. Gourmet cooking and art on the walls that doesn't involve crayons can come later.

5. Get Moving:

Knowing you need to exercise more and not doing it doesn't solve the problem and just increases your stress level. Instead, look at what you are doing and congratulate yourself. Holding a toddler on one hip while schlepping grocery bags? That counts as exercise!

Next, look for additional ways to add more calorie burning activities to your routine. Parking further away from your destination, ignoring elevators and taking the stairs, and going outside to play games instead of staying in are all ways to incorporate exercise in your day, while you reduce your stress level.

6. Laugh!

You may not equate belly laughs with relaxation, but laughing reduces stress and makes you feel more relaxed. Find your commute raising your blood pressure? Put in a CD of your favorite comic. Had a tough day at work and now the kids are cranky? Put in a funny movie you all can enjoy, like Shrek or Finding Nemo.

7. Do What You Love:

It's easy to get so caught up in day-to-day activities and responsibilities that we forget to do what we love. We put our dreams on hold , assuming that someday we'll spend all our time doing what we love. Don't wait, start incorporating the things you love in your daily activities.
Love music but don't have time to practice? Make time! Perhaps you can form a family band, with the less musically inclined contributing with a tambourine. It may not be Carnegie Hall, but it will be fun and relaxing.

8. Breathe:

Well, duh, we breathe everyday. To relax, though, be conscious of your breathing. Conscious breathing can be one of the fastest ways to relax, and it's something you can do anywhere. Stuck in the world's longest grocery line? Instead of fuming, breathe in through your nose for five seconds. Hold it for five seconds. Let it out through your mouth for five seconds.

Conscious breathing will distract you from an annoying situation and make you feel more relaxed.

9. Take a 30-Second Vacation:

A fast way to feel relaxed is to take a quick vacation. Visualize your favorite vacation spot. Love the beach? Close your eyes and visualize the scene. Focus on the details and different senses. The feel the warm, gritty sand on your feet. The sound of the waves hitting the shore. The smell of the salty air and sun lotion. The feeling of relaxation and well-being.

Take a deep breath and come back to reality. As you return, bring that feeling of relaxation with you, knowing you can return to that vacation spot anytime you'd like.

10. Celebrate and Appreciate:

Studies have shown that people who keep a gratitude journal are generally happier. Whether you keep a journal or just spend a few minutes each day focusing on the positives in your life, you'll feel happier and more relaxed.

The old advice to count your blessings really is a valuable tool to help you relax, feel less stressed and more contented.


Here we go for more links:
More about 'how to quit smoking and release stress'...
How to Win - Success mantra

Google Collections presentation PPT

The Google Collections Library (for Java) by Kevin Bourrillion, Google, Inc.
SV-GTUG 2008-08-06

Reference : Google Collections libraries and details

In a nutshell



  • An open-source (Apache 2) library


  • http://google-collections.googlecode.com


  • Requires JDK 1.5


  • Pre-release snapshot available, 0.9 release coming


  • Not API-frozen until release 1.0 (no timetable)


  • But is widely used in production at Google


  • Developers: Jared Levy and myself, with a lot of help from our friends







  • Overview



    1. In a nutshell
    2. Immutable Collections
    3. Multisets
    4. Multimaps
    5. Other new types/impls
    6. Static utilities
    7. Other stuff
    8. Q & A




    Immutable Collections




  • JDK has Collections.unmodifiableFoo() wrappers


  • Unmodifiable = you can't change it


  • Immutable = it can never change, no matter what
    (externally-visible state, that is)


  • Immutability is tasty!
    See Effective Java for some of the many reasons






  • We (Google) provide

  • ImmutableList


  • ImmutableSet


  • ImmutableSortedSet


  • ImmutableMap


  • ImmutableSortedMap (one day)


  • Brand-new, standalone implementations


    Immutable vs. unmodifiable


    The JDK wrappers are still useful for unmodifiable views of
    changing data. But for most purposes, use ours:


  • Immutability guarantee!


  • Very easy to use

  • (we'll show you on the following slides)

  • Slightly faster


  • Use less memory
    Sometimes far less (ImmutableSet, factor of 2-3x)



  • Constant sets: Before, v1



    public static final Set LUCKY_NUMBERS;
    static {
    Set set = new LinkedHashSet();
    set.add(4);
    set.add(8);
    set.add(15);
    set.add(16);
    set.add(23);
    set.add(42);
    LUCKY_NUMBERS = Collections.unmodifiableSet(set);
    }





    Constant sets: Before, v2



    public static final Set LUCKY_NUMBERS
    = Collections.unmodifiableSet(
    new LinkedHashSet(
    Arrays.asList(4, 8, 15, 16, 23, 42)));




  • A little nicer.


  • But uses four different classes! Something's weird.






  • Constant sets: After



    public static final ImmutableSet LUCKY_NUMBERS = ImmutableSet.of(4, 8, 15, 16, 23, 42);



  • Now we just say exactly what we mean.


  • And get performance benefits as well!


  • We're using just one class (it implements Set)


  • of() method name inspired by java.util.EnumSet



  • Constant maps: Before




    public static final Map ENGLISH_TO_INT;
    static {
    Map map = new LinkedHashMap();
    map.put("four", 4);
    map.put("eight", 8);
    map.put("fifteen", 15);
    map.put("sixteen", 16);
    map.put("twenty-three", 23);
    map.put("forty-two", 42);
    ENGLISH_TO_INT = Collections.unmodifiableMap(map);
    }




    Constant maps: After



    public static final ImmutableMap
    ENGLISH_TO_INT = ImmutableMap
    .with("four", 4)
    .with("eight", 8)
    .with("fifteen", 15)
    .with("sixteen", 16)
    .with("twenty-three", 23)
    .with("forty-two", 42)
    .build();



    Defensive copies: Before



    private final Set luckyNumbers;
    public Dharma(Set numbers) {
    luckyNumbers = Collections.unmodifiableSet(
    new LinkedHashSet(numbers));
    }
    public Set getLuckyNumbers() {
    return luckyNumbers;
    }


  • Copy on the way in


  • Wrap in unmodifiable on the way in or the way out




  • Defensive copies: After



    private final ImmutableSet luckyNumbers;
    public Dharma(Set numbers) {
    luckyNumbers = ImmutableSet.copyOf(numbers);
    }
    public ImmutableSet getLuckyNumbers() {
    return luckyNumbers;
    }


  • Type, not just implementation


  • What if you forget?


  • Note: copyOf() cheats!



  • Immutable Collections: more examples



    Sets:
    static final ImmutableSet BETA_COUNTRIES = ...
    ImmutableSet.of();
    ImmutableSet.of(a);
    ImmutableSet.of(a, b, c);
    ImmutableSet.copyOf(someIterator);
    ImmutableSet.copyOf(someIterable);


    Small maps:
    static final ImmutableMap MAP
    = ImmutableMap.of(1, "one", 2, "two");







    Immutable Collections: caveats



    These collections are null-hostile
    In 95%+ of cases, this is what you want
    In other cases, fine workarounds exist
    This aligns with recent work on JDK collections
    (and it's a little faster this way)
    (and keeps the implementation simpler)
    Mutable elements can sometimes lead to confusion
    The resulting object won't be "deeply immutable"






    Immutable Collections: summary


  • In the past, we'd ask, "does this need to be immutable?"
  • Now we ask, "does it need to be mutable?"



  • Overview



    1. In a nutshell
    2. Immutable Collections
    3. Multisets
    4. Multimaps
    5. Other new types/impls
    6. Static utilities
    7. Other stuff
    8. Q & A

    Collection behavior


    When you have "a bunch of foos", use a Collection -- but what
    kind?


  • Can it have duplicates?
  • Is ordering significant? (for equals())
  • Iteration order
  • - insertion-ordered? comparator-ordered? user-ordered?
    - something else well-defined?
    - or it just doesn't matter?

    In general, the first two determine the interface type, and the
    third tends to influence your choice of implementation.

    Google Collections Libraries

    Google Collections is a library that extends the capabilities of Java Collections.
    Reference : Google Collections Presentation - PPT.


    The library consists of:

    •New Collection types: Multimap, Multiset, BiMap and others

    •High-performance immutable implementations of the standard collection types, for example ImmutableSet

    •MapMaker, a builder for concurrent hash maps with many advanced features

    •Ordering, which can only be described as a “Comparator on steroids”

    •Iterators and Iterables utility classes: element-based equality, cycle, concat, partition, filter with predicate, transform with function, and much more

    •Lists, Sets and Maps utility classes: a plethora of convenient factory methods and much more

    •Forwarding collections, such as ForwardingSet, allowing you to customize collection behaviour without subclassing

    The API is not frozen until 1.0 is released, so changes are common, but the library is safe to use as it’s being actively tested on applications like Gmail or Adwords, which take advantage of the new collections.

    They are a nice alternative to Apache Collections, Java 1.5 compliant and with a focus on scalability and performance (as they are used on Google’s massive applications!), so adding them to your code can only be beneficial.

    Check the Javadoc or a presentation they did on 2008 about the project for more details.

    Reference:
    Google Collections - http://code.google.com/p/google-collections/
    Multimap - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/Multimap.html
    Multiset - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/Multiset.html
    BiMap - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/BiMap.html
    ImmutableSet - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/ImmutableSet.html
    MapMaker - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/MapMaker.html
    Ordering - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/Ordering.html
    Iterables - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/Iterables.html
    ForwardingSet - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/ForwardingSet.html
    Javadoc - http://google-collections.googlecode.com/svn/trunk/javadoc/index.html
    Google Collections presentation -

    World's top ten - 10 most things

    Amazing and mystery things always keep human beings in clarification of understanding and explaination.

    Similarly here we go for some of the top ten amazing things in the world that could make you think about.













    Top ten longest rivers in the world:
    Nile river - 6,693 Km
    Amazon river - 6,436 Km
    Yangtze - 6,378 Km
    Huang He river - 5,463 Km
    Ob-Irtysh river - 5,410 Km
    Amur river - 4,415 Km
    Lena river - 4,399 Km
    Congo river - 4,373 Km
    Mackenzie river - 4,241 Km
    Mekong river - 4,183 Km














    Top ten largest countries in the world:
    Russia - 17.1 million square meters
    Canada - 10.0 million square meters
    China - 9.3 million square meters
    US - 9.2 million square meters
    Brazil - 8.5 million square meters
    Australia - 7.6 million square meters
    India - 3.0 million square meters
    Argentina - 2.7 million square meters
    Kazakhstan - 2.7 million square meters
    Algeria - 2.4 million square meters










    Top ten cleanest countries:
    Finland
    Norway
    Canada
    Sweden
    Switzerland
    New Zealand
    Australia
    Austria
    Iceland
    Denmark











    Top ten countries with the most airports:
    United States (14,695 airports)
    Brasil (3,365 airports)
    Russia (2,743 airports)
    Mexico (1,852 airports)
    Canada (1,419 airports)
    Argentina (1,369 airports)
    Bolivia (1,109 airports)
    Colombia (1,066 airports)
    Paraguay (899 airports)
    South Africa (740 airports)











    Lowest average birth weights (top ten countries):
    Percentage of live births classified by the OECD as of low birth weight.
    Mexico - 9.4
    Japan - 8.6
    Hungary - 8.4
    Greece - 8.1
    United States - 7.8
    United Kingdom - 7.6
    Portugal - 7.4
    Luxembourg - 6.8
    Slovakia - 6.7
    Germany - 6.5









    Top ten countries with highest life expectancy:
    Indication in years
    Andorra - 83.5
    San Marino - 81.6
    Japan - 81.2
    Singapore - 80.7
    Australia - 80.4
    Switzerland - 80.4
    Sweden - 80.4
    Hong Kong - 80.2
    Canada - 80.1
    Iceland - 80.1












    Top ten fastest cars in the world:
    Indication in 0 to 60 miles per hour in seconds...

    Bugatti 16/4 Veyron - 3.0
    Dodge Viper GTS-R - 2.9
    Callaway C7 Corvette - 2.9
    Audi Avus Quattro - 2.9
    Renault Espace F1 - 2.8
    Dauer 962 Le Mans (1993) - 2.7
    Leblanc Caroline - 2.7
    Dodge Hennessey Viper Venom 80OTT - 2.7
    Chevrolet Camaro ZL1 Concept - 2.7
    Dauer 962 LeMans (1994) - 2.6








    Top ten most causes of accidental death:
    Indication is in 'deaths per year'

    Motor vehicle crashes - 43,200
    Falls - 14,900
    Poisoning - 8,600
    Drowning - 4,000
    Fires and burns - 3,700
    Suffocation - 3,300
    Firearms - 1,500
    Poisoning by gases - 700
    Medical & Surgical - 500
    Machinery - 350









    Top ten most chocolate consumers in the world:
    Indication is in kg per capita
    Switzerland - 11,4
    UK - 9,5
    Belgium - 8,7
    Germany - 8,6
    Ireland - 8,1
    Denmark - 7,9
    Norway - 6,1
    Austria - 6,0
    Poland - 5,6
    USA - 5,4













    Top ten most ice cream consumers in the world:
    Indication is in pints per capita
    Australia - 44,3
    New Zealand - 33,4
    USA - 33
    Sweden - 28,5
    Canada - 26,6
    Ireland - 24,7
    Norway - 24,3
    Finland - 23,2
    Denmark - 20,3
    Germany - 20,1















    Top ten most intelligent breeds of dogs:
    Intelligent in the sense of understanding of new commands: Less than 5 repetitions

    Border Collie
    Poodle
    German Shepherd
    Golden Retriever
    Doberman Pinscher
    Shetland Sheepdog
    Labrador Retriever
    Papillon
    Rottweiler
    Australian Cattle Dog








    Most - biggest alcohol consumption parts in the world.
    Litres per capita by population aged above 15 (data for 2000)
    Luxumbourg - 14.9
    Ireland - 14.2
    Portugal - 13.0
    Hungary - 12.3
    Czech Republic - 11.8
    Spain - 11.7
    Denmark - 11.5
    Austria - 11.3
    Switzerland - 11.2
    France - 10.5

    Hurrican Bill 135 mph Category 4

    Hurricane Bill had sustained winds near 135 miles per hour...

    Nature is unpredictable, but at this point, it seems Hurricane Bill is lining up for a best case scenario for the East Coast…especially if you are a surfer.

    The current forecasted track for Bill puts it between Bermuda and the East Coast. This is an ideal scenario for great surf on the Outer Banks.

    Bill became the first hurricane of the season on Monday morning, and reached category 2 strength Monday evening.

    As of 11 a.m., Bill had sustained winds near 135 miles per hour. Further strengthening is expected and the system could become a major hurricane (category three or higher) over the next day.

    The current forecast track keeps Bill north of the Lesser Antilles and heading in the general direction of Bermuda, or between Bermuda and the Outer Banks, over the weekend.

    Courtesy and source: http://www.apakistannews.com/hurricane-bill-update-2-134787


    ----------------------------------------------------------

    News from MarketWatch.com


    NEW YORK (MarketWatch) -- Hurricane Bill strengthened to a Category 4 storm on the Saffir-Simpson scale on Wednesday, the National Weather Service's Hurricane Center said in a public advisory on Wednesday morning. Large swells associated with Bill should begin to affect Bermuda and portions of the southeastern coast of the U.S. on Friday and Saturday. Bill remains hundreds of miles off shore in the Atlantic, with sustained winds near 135 miles per hour. The storm could gain in fury during the next 24 hours. A National Oceanic and Atmospheric Administration hurricane hunter plane is enroute to investigate Bill. Forecasters currently expect the center of the storm to approach the eastern U.S., but stay out at sea as it swerves north.

    Courtesy and Source: http://www.marketwatch.com/story/bill-strengthens-to-category-4-remains-distant-2009-08-19


    ----------------------------------------------------------

    For more:
    http://www.voanews.com/english/2009-08-19-voa14.cfm

    http://news.sky.com/skynews/Home/World-News/Hurricane-Bill-Strengthens-To-A-Category-4-Storm-With-Wind-Speeds-Near-135mph/Article/200908315364584?lpos=World_News_First_World_News_Article_Teaser_Region_2&lid=ARTICLE_15364584_Hurricane_Bill_Strengthens_To_A_Category_4_Storm_With_Wind_Speeds_Near_135mph

    http://www.reuters.com/article/domesticNews/idUSTRE57I03I20090819

    How to Win - Success mantra

    It happens to all of us -- you meet with a setback or fail at something, and you're tempted to give up. Many give up even before doing at something. Here's a surefire way to help you through it: it's all in how you look at it. To give an example, what would you think about the following person?

    He failed in business at age 31, was defeated for the legislature at 32, failed again in business at 34.

    His sweetheart died when he was 35, and he had a nervous breakdown at age 36.

    He was defeated in election at age 38, and then was defeated for Congress at 43 and again at 46 and 48.

    He was defeated for the Senate at age 55 and for Vice President at 56 and for the Senate again at 58.

    He was elected President of the United States at age 60.

    Who was this man? It was Abraham Lincoln – who was certainly a success, not a failure. It’s not only Abraham Lincoln, many more are there. Put into perspective, failing in something is just another opportunity for learning and growth, for finding out what works and what doesn't. Looked at positively, you'd never learn if you didn't fail. That doesn’t mean you should fail, if failure happens take it positively. As Thomas Edison said of his many attempts to invent the electric light, "I have not failed. I've found 10,000 ways that won't work."

    You take any field/domain of work; the expert is one who knows most of the problems that could come up in that field. How it is possible? They have faced all the problems that could come up in their way to achieve expertise.
    So, that is why it's so important to never be afraid to fail. It's a necessary step to success – and a blessing in disguise.

    INS 21 Dump Question Answer chapter/lesson/part 2

    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 10




    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 9



    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 8



    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 7



    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 6




    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.

    INS 21 Dump Question Answer chapter/lesson/part 5





    Page content has been taken off due to security and copyright issues with AICPCU - The Institutes.  Kindly request you to refer AICPCU materials itself.  Sorry for the inconveniences.
    Add to My Yahoo!                       
    Custom Search