| |
| |
| |
|
Page: 1 2 3 4 5 6 7
Comments:
<0> http://scraps.joshbenham.com/?goto=pastes&id=115 <-- anyone able to help me out with my problem on that page :\ <1> Hi guys, I'm doing a documentation for a programming project. If I have a button in my program, how should I put it in the input specification? <2> hmm, dunno. never seen standards that go that low <1> koala_man, are you replying to me? <2> yes
<1> 1 section of the documentation is the Program Specification. Under that, there are Input specification, File Specification, Screen Design, Program Design and Validation and processing. <0> koala_man, do you have any other idea;s why my program could not be working <1> The guide says I need to show the input variables what will be used where I need to include information like Item Name, Desc., Data Type and Size. Should I include buttons and menu file here? <2> schnoodles: lemme look <0> ok i think i know what it is <2> schnoodles: "Emesce"? is that another cl***? <2> ah right <0> when i did that IDriver d = (IDriver) .. it didnt actually create a cl*** <0> it just made d = null <0> yes Emesce is a cl*** <2> schnoodles: use the full package name <0> in main.java i have <0> import rollingticker.drivers.Emesce; <2> schnoodles: that's for the compiler. it doesn't affect the program <2> it just tells the compiler to search and replace Emesce with "rollingetc.etc.Emesce" <2> so you won't have to type it out each time <0> ok so where do you suggest i should do it ? <2> I suggest you do Cl***.forName("rolletc.etc."+driver).etc <0> im guessing <0> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
<0> is not a good thing :P <0> how do i know where it would most likely be doing that ? <0> all i can think of is a String variable; can only hold a certain amount of chars <0> and not a WHOLE rss feed <3> hi folks...I want to create a method that return an array of strings. Somebody told me that I should be using generics instaed. Should my method return a List<String>, or Collection? I am not sure <3> is that signature OK? public static List<String> listFilenames(String directory, String pattern) {} <4> hello <4> Be careful that by returning such a List you do not make it possible for clients to change the internals of that cl***. <4> Very dangerous. <4> In most cases an unmodifyable List is a little better, but the problem there is lack of compile time safety (UnsupportedOperationException). <4> A good general thing to return is a Sequence, see http://www.contractualj.com/ <3> i used to do a return Collection <4> That is quite good without any compromises, except one: It requires this 3rd party API. <4> What you suggested is better than what people do most of the time, it is ok. <3> ok, thanks <4> If you are very, very picky you could do this: Make that method a (non-static) method of an interface, then have a factory just to create instances of cl***es which implement that interface, and use a Sequence<String> as return type. But you rarely find that. <5> hello <6> 'lo <5> hi everyone <6> (+: <7> Anyone around that can help me with some issues i'm having involving strings and duplicate substrings?
Return to
#java or Go to some related
logs:
de daaru, o mere bhaiya de daaru
#chat-world #chat-world chat acrnyms #allnitecafe englısh to bosnian #chat-world yuklex kese ho #allnitecafe
|
|