|
First
|
Prev |
Next
|
Last
Pages: 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
Question on associativity and precedence int[] z = {10,20,30,40,50}; int index = 4; z[index] = index = 2; System.out.println(z[0]); System.out.println(z[1]); System.out.println(z[2]); System.out.println(z[3]); System.out.println(z[4]); This code gives 10 20 30 40 2 Why does it not give: 10 20 2 40 50 Why z[2] is... 4 Jul 2008 20:14
Controlling SoftReferences I'm implementing a memory-sensitive cache using java.lang.ref.SoftReference. I'm wondering if I can control the sequence in which the references are released. Here's the idea: three objects, A, B, and C. My main class holds a hard reference to A. A holds a soft reference to B, and B holds a soft reference to... 11 Jul 2008 09:55
SAMBA-esque server in java In article <8bae8d7f-8bab-4a31-8893-d1eb55dd2a41(a)m73g2000hsh.googlegroups.com>, Aaron Fude <aaronfude(a)gmail.com> wrote: Hi, I have a database application written in with strictly hierarchical data and I would like to expose it to the windows platform as if it were a mountable network drive. Where ... 4 Jul 2008 14:06
private, nested public, class visible outside package Hi, This is probably more a design than programming question, but I can't find a Java group for that[?] I have a class that is private within a package, but contains a nested class that I want to be public outside the package, i.e. Outside the package, the non-nested class cannot be touched, but the neste... 5 Jul 2008 07:25
Sitemesh : set property from decorated page for decorator Hi, I'm using sitemesh. I have a main.jsp for the main template, to add header and footer to each page. In header.jsp, I need an information (the "theme" of the page) that must be provided by each decorated page. I don't find how to set, in each decorated page, a "theme" property, that I can retrieve in ma... 4 Jul 2008 13:05
easy way to spank the monKey On Jul 4, 8:58 pm, mostafating <mostafat...(a)gmail.com> wrote: Oprah Did A Show On This Topic, ... I do not think Oprah is qualified to demonstrate, despite Her amazingness. -- Andrew Thompson ... 6 Jul 2008 09:54
eclipse CDT import problem. hi all i'm now trying change build environment eclipse 3.3 and CDT 4.0.2 from FC5 to FC8. so, i'm make new workspace on FC8, and import source packages. but i've one problem. one CDT package is not launch. all packages builds are good. but CDT package isn't launch with java.lang.NullPointerException. what's mean... 7 Jul 2008 09:24
Rado Original Classic Steel Automatic Mens Watch R12636113, Best Luxury Watch - www.luxury-gift.org Rado Original Classic Steel Automatic Mens Watch R12636113, Best Luxury Watch - www.luxury-gift.org Luxury Gift : http://www.luxury-gift.org Rado Watches : http://www.luxury-gift.org//rado-watches.html Rado Original Classic Steel Automatic Mens Watch R12636113 Link : http://www.luxury-gift.org/Watches/rado-watch... 3 Jul 2008 23:47
JNI - Passing and returning complex values I'm a C programmer with limited Java experience, and need to use JNI to implement a library in Java on top of a C library that consists of a bunch of functions, each receiving some parameters from the operating system. For each C function, the corresponding Java method will be called, and some values would be retur... 16 Jul 2008 20:16
Matching parentheses with Regular Expressions I`m trying to use regex to match/replace a word in parentheses. The regular expression private static final Pattern java_proc = Pattern.compile("(java)"); does not work, because parentheses are treated as groupings. Using "\" to designate the parentheses as literal characters does not work --- not... 6 Jul 2008 03:48 |