[Show all top banners]

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 18897 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
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
TPS Re-registration case still pending ..
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
Nas and The Bokas: Coming to a Night Club near you
मन भित्र को पत्रै पत्र!
TPS Work Permit/How long your took?
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
Breathe in. Breathe out.
Guess how many vaccines a one year old baby is given
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
चितवनको होस्टलमा १३ वर्षीया शालिन पोखरेल झुण्डिएको अवस्था - बलात्कार पछि हत्याको शंका - होस्टेलहरु असुरक्षित
They are openly permitting undocumented immigrants to participate in federal elections in Arizona now.
Driver license help ASAP sathiharu
Why Americans reverse park?
Travelling to Nepal - TPS AP- PASSPORT
Nepali doctors future black or white usa ?
Doctors dying suddenly or unexpectedly since the rollout of COVID-19 vaccines
lost $3500 on penny stocks !!!
Nas and The Bokas: Coming to a Night Club near you
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