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 26828 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 90 days
Recommended Popular Threads Controvertial Threads
TPS to F1 Status.
TPS To F-1 COS
TPS Sakiyo Tara Case is in Court.
Got my F1 reinstatement approved within 3 months(was out of F1 for almost 2 years)
Has anyone here successfully reinstated to F-1 status after a year-long gap following a drop from F-1?
Need Help of IT consultancies
Nepal TPS decision
Supreme Court allows Trump to end TPS for Venezuelans
Any input on remote jobs(IT related or Sales or Marketing)?
Nepal Likely to Get 60-Day TPS Notice
Nepal TPS has been Extended !!!
#MAGA#FAFO is delicious
नेपाल मा B. sc गरियो यहाँ फेरी ७० -८० क्रेडिट पढ्नु पर्ने भो
NEPAL TPS IS GONE
Genuine Question.... Why so many folks still in TPS after 10 years. Is the statistics wrong?
🛡️ Nepal TPS Holders: Don’t Panic About August 5 — DHS Screwed Up (Maybe on Purpose)
The New Color of Her Flag
Don’t Just Read—Join the Conversation
Travelling to Nepal with expiration less than 6 months
US citizen Petitioning my wife who was out of status when she was in H1B. What to do ?
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