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 18864 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 30 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
nrn citizenship
ढ्याउ गर्दा दसैँको खसी गनाउच
lost $3500 on penny stocks !!!
Why Americans reverse park?
They are openly permitting undocumented immigrants to participate in federal elections in Arizona now.
मन भित्र को पत्रै पत्र!
Nepalese Students Face Deportation over Pro-Palestine Protest
whats wrong living with your parents ?
जाडो, बा र म……
Driver license help ASAP sathiharu
Is this a progressive step?
TPS Reregistration and EAD Approval Timeline.......
Trasiting through Istanbul, Turkey
Changing job after i-140 approval
Nepali **fake** Veterans. Be aware!!
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