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 19392 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
श्राद्द
TPS Re-registration
TPS Re-registration case still pending ..
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
Lets play Antakshari...........
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
TPS EAD auto extended to June 2025 or just TPS?
is Rato Bangala school cheating?
मेरो अम्रिका यात्रा -२
Do nepalese really need TPS?
कता जादै छ नेपाली समाज ??
susta manasthiti lai ke bhanchan english ma?
Nas and The Bokas: Coming to a Night Club near you
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
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