| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> aha, ok. no clue about streaming. <1> bummer. :-( <2> how to print acsii integers in ascii ? example I have the following int x= 0xA; system.out.println(x); prints 10 and not A <0> if you want to print out chars, why do you print ints? <0> int is anumber, not a char. <2> I want to print hex values, <1> isnt it x.toChar() or something similar? <0> DaAbz: say another thing <0> you keep wanting something new in every message. :) <0> perhaps make up your mind. <0> and then clearly communicate what you want to do. <2> I really cant see what is so vague in my question, I've given an example with codes to minimize any confusion <0> DaAbz: possibly related: http://groups.google.com/groups?complete=1&hl=en&q=print%20int%20hex%20java&btnG=Google+Search&sa=N&tab=wg <3> i need one of u ****eers to learn me to code ok <3> so somebody teach me <2> Clackwell it's much simpler than I thought, Integer.toHexString(14);
<3> no its String.toHexString(14); bitch <3> for(int i=0; i<java.size(); i++){ <3> System.out.println("You are gay"); <3> } <1> actually... it hink you can just cast an into into a char... *shrugs* <1> clackwell... i'v been doing some reading... does this sound about right... i need java to take what i get from the web cam and feed it through a codec? <0> CppIsWeird: yeah, but he doesn't want the respective char, rather the hex representation of the value. <1> oh <0> CppIsWeird: no clue. read up on streaming options for java? <0> jmf should show up high on the list i guess. <1> not for java specifically... but in general... im still kinda going through what i'v found and digesting it. does java have specific packages for video/streaming/encodeing ect that you know of? <1> whats bad is everything i get wants to do it from a file <1> nothing speaks of from a live source <1> i think i'll know where to go once i figure out exactly how a codec works <1> oh ****, im late for college <1> bbiab <4> could anyone help me with a stupid problem ? <4> i'm trying to compare two strings to see if they contain the same text and the compare is failing even though when I output the text to screen it's identical <4> the comparison is if ( jobname == scheduler[i][1]){ <4> any ideas ? <5> you can use the "equals" <5> in the string cl*** <4> forgive my ignorance here but could you show me what you mean ? <5> there is a method, but i don't remember how exanctly it was <5> something like if(jobname.equals(scheduler[i][1]) <5> if(jobname.equals(scheduler[i][1])) <5> it returns true if both strings are the same <5> try it <6> what's an ordinary way to compare two Strings ? <6> to check if they are identical even <4> alb_bd you may just be a god :) <4> second question <4> is there any way within java to autovivify an array ? by which I mean is there any way to create and use and array without first specifying it's size? <7> no <4> what about expanding it's size if more space is required? <7> you can write a method that creates a new (larger) array and moves content over, and then changes the object reference.. Or use a collection <4> what about creating a m***ive array and then compressing it down? <7> same issue, once an array is created you can't change its size <6> Oh common s/he's asking about some sort of Array object or how you call it in JRE <4> what would the opposite of .equals be? <7> ? <5> equals returns a boolean if you want the opposite it could be !string.equals(...) <4> if i use thanks :) <8> Is there anyway to p*** a cl*** (not an object to a method). Something like method(x) { Object o = new x(); } <8> ? <9> you want a template <8> if that's close in concept to c++ templates, no <9> er <9> sorry <9> I thought I was looking at #C++ haha <9> hm <9> Generics maybe? <8> no, i solved it <8> Cl*** x <9> hm, all right :) <8> but new x(); doesn't work, x.newInstance works (that's what I was missing) <8> :) <9> ah <8> when I call a method that has a Cl*** parameter <8> can i simply use a cl*** name <8> like public method(Cl*** c)
<8> if i have a defined cl*** x <8> can I simply call method(x); ? <9> you want to call a static method from the cl*** itself? <8> no i want to instantiate it <8> actually, i have an abstract cl*** let's say Shape <8> which can be either a Square or a Circle <8> I have a cl*** World in which i have a Shape x; <8> in the World constructor i want to p*** a (Cl***<? extends Shape> cl) <8> and in the constructor: x = cl.newInstance(); <8> does that make any sence ? <9> hm, have to say I don't know, sorry <8> ok, sorry <8> i'll manage <8> thanks though <9> could have watied for someone else, heheh <4> is there any way you can delete a array ? <10> if you set its reference to null, the vm will take care of garbage collection <10> but here is some information on how to force it, http://java.sun.com/docs/books/tutorial/essential/system/garbage.html <11> using java in general is a bad idea from what i've heard <10> why is that SB_ ? <11> slow <11> and not very useful <11> like, for some things it does stuff <12> SB_: you are totally off the track <11> but if you are trying to do anything serious <11> :) <11> kinemaway, i guess i just don't use java that much <11> actually, not ever since my cs cl*** <12> and in business, development time is more important than execution time <12> you simply buy hardware to compensate <11> guess so <11> yeah <11> that _might_ work <11> ok <12> lol, it will take 3 weeks to develop instead of 3 month <11> so it sounds like you use it for work <11> what do you make with it at work <12> so adding the 1000$ for an additional server is way worth it <11> like, what would be an example application <13> well I've been working on a API that allows you to manipulate objects constituating knowledge resources pluggeable in the company new web index initiative <13> with the editors calling the services from the API etc <11> oracle? <13> optimizing the code is nothing to optimizing the design <13> and I measure performance with the big O notation <11> um... ok? <13> which lead to real optimization (order of magnitude) <11> But why not juse use oracle <13> my API calls Hibernate which abstract database vendor <11> or php/mysql <13> so I support about 15 databases <11> or something like that <14> Question: Is it good design to have a driver program -> Encapsulating Cl*** -> Objects? <14> I completed my homework, I'm just wondering what the best design is for personal info. <11> kinematix, so you are writing something that is a java interface to go over multiple OS then basically <14> I created my driver which uses a cl***; the cl*** stores the head / tail for a linked list and manages it. <13> because I need a domain model, I need stateful objects, I need concurrency management, I take advantage of the huge java portable cl*** library <14> The cl*** uses another cl*** which is the data, list pointers, and accessor / modifier methods <11> kinematix, i guess? <11> kinematix, seems like java is very limited <13> multiple OS, multiple database, and the API may be called with web services (from a C# program let's say) <11> C# :P <13> java isn't limited, it is a full featured language <11> it's not limited by that <14> (with an ugly ui) <13> we have no operator overloading, no multiple inheritance (but interfaces, alot better according to me), we don't have pointers, but we have references <11> like there are multiple ways to do most problems right kinematix ? it seems like one could easily use multiple other things in place of java that would work better <13> you don't need pointers in 90% of C(++) code, that's just a trend <13> you could use references <11> Who said that 90% of people use pointers? <13> SB: if you are designing a simple dynamic web site you may use php + mysql <14> Can anyone answer my (simple) question? :( <13> that would be better yes <13> sb_: me <11> or that 90% of pointers are used incorrectly though
Return to
#java or Go to some related
logs:
mkpasswd centos md5 #AllNiteCafe #linuxhelp #linux #MissKitten #teens #javascript famous gladiators #linux ssh_exchange_identification +gentoo
|
|