| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> whats the traceroute cmd in windows command window? <1> tracert <0> ty <2> Buenas...Alguien de habla ispana? <3> i'm new to the java world.... i'm developing an application using a client's API <3> as a developer using that API, what exactly are they giving me? <3> (most likely) <3> a JAR file? <4> yes unless it's a web application <3> what when i write my program, how do i 'use' the JAR? <3> do i have to uncompress it into .java files <4> put it in your cl***path <5> Jimbo21: ask them? <4> that usually helps too <6> **** YOU ABEND
<7> drive by abuse, impressive <1> hey mike2_ <1> how's your nagios experience? <7> Bryin: thin to non-existant :) <1> bummer <7> sorry <1> I have some good contract work available for a Nagios consultant <1> also looking for a Java contractor soon too <7> bugger, well, I may be headed overseas soon anyway, so I doubt that's really an option for me unless the work's in the UK? <1> mike2_: gavin got married <7> oh? well, good on him! :) He was always a nice guy, wondered why it didn't happen sooner. <8> What should I throw if a user enter a value that is never supposed to be < 0 ... ? and how do I print the appropriate message ? <8> I REALY APPRECIATE THE HELP ON THIS CHANNEL <9> hehe <9> Buy a subzero JVM ! <10> you waited four minutes wd <10> and maybe if you thought about it for a minute you might realise it's a stupid question <8> trax : shut up <8> there is no such thing as 'stupid question' <8> if it's so stupid, you answer once, and then it won't be asked again <9> JOptionsPane.showInputDialog(...) ; if (blah < 0) JOptionsPane.showMessageDialog(null,"Nooooooo!"); <8> the only thing beeing stupid here is flamming about ppl who ask questions <8> teralaser : I was asking about 'exception' <8> and it's not with any GUI <9> http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JOptionPane.html <8> (same answer) <10> that's why it's a stupid question, it could be for anything <8> what ? <8> "What should I throw if ..." <- exception <9> throw NumberFormatException perhaps ? <8> good <9> what do I know. Make your own exception! <8> that's probably the answer <10> appropriate exception for what? axis? swing? <3> if i downloaded log4j..... do i really need all the files that comes w/ it or do i really just need the JAR file? <8> if there an easy way to check if a specific object is part of a vector ? <8> does contain will check for the exact object, or i'll work even with another object containning the same data <7> contain checks to see if the thing you are comparing .equals( thing in vector ) <8> are you saying I need to implement an equal method ? <8> or do all objects have that by default <7> well, you can use the default Object one, but that may not give the result you're after <7> you do have a copy of the API right? <8> I'm looking at it -> object.equal <8> but it's not clear if it checks for a particular instance, or for the values inside it <8> suppose I have two bank account, I would like that account1 != account2 even if they have the same attributes <7> then the default should be fine. <8> internaly java use a hashcode ? <7> yay_: what does .equals for Object say in the documentation? <8> Indicates whether some other object is "equal to" this one. .. it doesnt clearly state how it does <8> but in the botoM : <8> See Also: <8> Boolean.hashCode(), Hashtable <8> so I guess every object has a hashValue, and that's what it compares ? <7> which version of java are you using? <8> the latest , why <7> because at the bottom is says " Note that it is generally necessary to override the hashCode method whenever this method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes." <7> now, to me that might imply that it may or may not utilise hashcode <8> we'll see <8> I have another question <8> to take the bank example ok
<7> if it does then hashcode states " As much as is reasonably practical, the hashCode method defined by cl*** Object does return distinct integers for distinct objects. (This is typically implemented by converting the internal address of the object into an integer, but this implementation technique is not required by the JavaTM programming language.)" <8> suppose I have two cl***es, bank and BankAccount -> in bank I have a vector of BankAccount <8> if I have a method in bank ... say TakeMoney( float Amount, BankAccount Src) .. <8> if I simply do a Src.withdraw for example, will the object contained in the vector will be modified too <8> that was badly explained <8> Object myObject; myVector.add(myObject); myObject.modify(); will the object be modified in the vector <8> or is it just a copy <7> it will be modified <7> why are you using vector? <8> well in fact, the bank is only checking which bankAccount is part of it <7> bbl, things to do <8> when you do Bank.withdraw(account, ammount) , in fact it calls' account.widtdraw if it is part of it's vector <7> good luck <8> what ? <8> design problem ? <3> how can you create a GUI w/ Eclipse? <11> Jimbo21: many ways <3> any 'designer' type tools come w/ it? <11> sure <11> but why relegate yourself to the non-thinkers camp? <3> so, how exactly do i do it <8> I would like some suggestions ... <8> the following string expose three 'bank account' operations, any suggestion how to parse it : <8> [(dpt, C1, 100), (retrait, C2, 200), (virement, C1, C2, 300)] <11> yay_: when is your homework due? <8> tomorrow ;) <11> What does the topic say? <9> GOOGLE * JUST ASK! * FAQ/Paste: http://javafaq.mine.nu * NO Homework/Javascript/Warez/Msg'ing <9> (oh, didnt catch the context) <12> I ignored the topic because it'swritten in FORTRAN. <8> BryinAFK : of course, you are right, suggestion about the best way to parse a string in java ..that's gonna solve ..you know <8> all my problem <8> ... <12> yay_: Cool. <8> ricky_clarks : so no suggestion ? <12> Your problem's solved, you just said so. <12> yay_: google java regex tutorial - especially look at String.split. <12> teralaser: IT'S LARGELY WRITTEN IN CRAPITALS. <9> oh <9> I'd like to code in a language, where google would be a reserved word. <9> :D <13> 'lo BryinAFK <11> wb talios <8> ricky_clarks : why isnt (\\w,\\d,\\d) good to parse [(dpt, C1, 100), (retrait, C2, 200), (virement, C1, C2, 300)] in three distinct strings <14> I need help in tree algorithm. How do I do recursive calls?? please help me <12> yay_: Probably because \\w doesn't match (d p t, C1, 100), for a start. <8> o-O <8> I whant all that start with ( and end with ) <12> The regex tutorial is great. <12> Or you could parse it without using regexes. <8> ok ok just One question <8> if I do that <8> .split (" ([(.)]) ") ; <12> Ow, my eyes. <8> why does split include the line that doesnt match in an array <8> It give me something like ...result[0] = [, result[1] = bla,bla,bla , result[2]=] , <12> split isn't matching, try match for match. <8> ooooh <15> can anyone explain what JNI is all about? <12> google <15> i've been doing that <15> does JNI allow u to use other languages within a java program? <15> or is it the other way? <15> you can use java code in other langagues? <12> It's an interface, what does that suggest? <12> http://java.sun.com/j2se/1.5.0/docs/guide/jni/ <15> the tutorial doesn't work! <12> Yeah, there's a broken link. <15> You already have a library written in another language, and wish to make it accessible to Java code through the JNI <15> looks like JNI is for using OTHER LANG. within java <15> ? <12> http://java.sun.com/j2se/1.5.0/docs/guide/jni/ <12> Oops.
Return to
#java or Go to some related
logs:
#php Armadillo 1.xx - 2.xx crack #AllNiteCafe VVVVVVVVVVVW ga7beh
#linux #linux quote site,submit quotes,php,open source
#javascript java programs samples
|
|