Gajedi
Replies to this thread:

More by Gajedi
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 Favourite programming language & others

[Please view other pages to see the rest of the postings. Total posts: 62]
PAGE: <<  1 2 3 4  
[VIEWED 18874 TIMES]
SAVE! for ease of future access.
The postings in this thread span 4 pages, View Last 20 replies.
Posted on 08-10-06 4:03 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Which programming language do you prefer:
1. JAVA
2. C/C++
3. Python
4. Lisp
5. VB .NET
6. SmallTalk

Which Operating System do you prefer:
1. WINDOWS XP/VISTA Trial
2. MAC OS
3. Unix (BSD & others)
4. Linux

How about search Engine:
1.Google
2.Yahoo Search
3. MSN Search
4. AOL Search
5. Dogpile
6. Ask.com
 
Posted on 08-13-06 4:57 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

package org.gajedi.converter;

public class LazyToNerd {
public Character lazy;
public Character nerd;
public String levelOfLaziness;

public LazyToNerd(Lazy lazy) {
this.lazy = lazy;
convertToNerd(this.lazy);
}
public void convertToNerd(Lazy lazy) {
if (checkLevelOfLaziness().compareToIgnoreCase("extreme")) {
try {
this.nerd = (Nerd) lazy.deCharacterize();

} catch (DecharaterizationException e) {
kick();
System.err.printStackTrace(e);
}
} else if(checkLevelOfLaziness().compareToIgnoreCase("moderate")) {
try {
this.nerd = (Nerd) lazy.deCharacterize();

} catch (DecharaterizationException e) {
kick();
System.err.printStackTrace(e);
} else {
this.nerd = (Nerd) lazy.deCharacterize();

} catch (DecharaterizationException e) {
System.err.printStackTrace(e);
}
}
}

public String LevelOfLaziness checkLevelOfLaziness() {
Lazy lazy = this.lazy;

if (lazy.alwaysSleep()) {
this.levelOfLaziness = "extreme";
} else if (lazy.mostlySleep()) {
this.levelOfLaziness = "moderate";
} else {
this.levelOfLaziness = "low";
}
return levelOfLaziness;
}

public void kick() {
if (checkLevelOfLaziness().compareToIgnoreCase("extreme")) {
int times = 1;
for (int i = 0; i < times ; i++) {
try {
kickArse & Balls;
if (blocked) {
times = times * 2;
}
} catch (Exception e) {
System.err.printStackTrace(e)
kick();
}
}
} else {
int times = 1;
for (int i = 0; i < times ; i++) {
try {
kickArse;
if (blocked && times = 5) {
this.setLevelOfLaziness = "extreme";
kick();
}
if (blocked) {
times = times * 1.5;
kick();
}
} catch (Exception e) {
System.err.printStackTrace(e)
kick();
}
}
}
}
}


WAIT FOR MORE POSTINGS ON NERD & LAZY java files devine soul.

NepaliSandesh, I will post it in VB sometime later when I will have time to do so. till then learn java.
 
Posted on 08-13-06 5:07 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I forgot to write setLevelOfLaziness method

public void setLevelOfLaziness(String level) {
this.levelOfLaziness = level;
}

You don't need get method. Will provide it via updates.
 



PAGE: <<  1 2 3 4  
Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
Lets play Antakshari...........
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
शीर्षक जे पनि हुन सक्छ।
[New post] Why Would Krishna Have To Run From The Battlefield
What are your first memories of when Nepal Television Began?
Sajha Poll: नेपालका सबैभन्दा आकर्षक महिला को हुन्?
ChatSansar.com Naya Nepal Chat
is Rato Bangala school cheating?
NRN card pros and cons?
Why always Miss Nepal winner is Newari??
Basnet or Basnyat ??
पुलिसनी संग - आज शनिवार - अन्तिम भाग
निगुरो थाहा छ ??
Nas and The Bokas: Coming to a Night Club near you
TPS Re-registration
श्राद्द
सेक्सी कविता - पार्ट २
What Happened to Dual Citizenship Bill
पाप न साप घोप्टो पारि थाप !!
अमेरिकामा छोरा हराएको सूचना
Nas and The Bokas: Coming to a Night Club near you
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
Harvard Nepali Students Association Blame Israel for hamas terrorist attacks
TPS Update : Jajarkot earthquake
is Rato Bangala school cheating?
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters