How does one implement the friend concept in Java (like C++)?
I would like to be able to write a Java class in one package which can access non-public methods of a class in another package without having to make it a subclass of the other class. Is this possible?
Converting from shapefile or raster formats to LAS? Is this correct: "Our listeners are what make X"? Adding materials to more than one object Is it possible to add a texture or material to more than one object at a time? What editors/IDEs are available for easing the process of writing TeX/LaTeX documents? Please state some useful features like code completion, spell checking, building final DVI or PDF files, etc.  This question is undergoing a systematic refurbishment, see  on Meta. If you’d like to see another editor feature covered here or to take care of an editor that’s not covered yet, share your ideas in that meta question.  List of editors Links to answers. I flagged a post and (choose one)   my flag was marked as helpful, yet nothing was done my flag was marked as declined, yet the post was deleted/edited/closed   Why? When two objects -one of them transparent- intersects it creates some artifacts visible even in the alpha channel. Even with 1024 transparent bounces the artifacts remain.    In the example file there are two cubes in the same position, one transparent and one emission.    What is causing this? Any way to get rid of this artifacts? "I have" vs "I have got" I don't know what is the difference between using "I have got" and "I have" For example:      He's got broad shoulders.    Is it possible to say:      He has broad shoulders.    If yes, so what is the difference? Winforms Textbox - Using Ctrl-Backspace to Delete Whole Word I know on client side (javascript) you can use windows.location.hash but could not find anyway to access from the server side. I'm using asp.net. Getting the class name of an instance? I try to understand why for a connected Lie group $G$ the first fundamental group $\pi_1(G)$ is abelian, and mainly why the second fundamental group is trivial $\pi_2(G)=0$?  Thanks for anyone who give me references for a 'simple proof' of these results What happened to the ia32-libs package? The ia32-libs package is no longer present in Ubuntu 12.04 repositories for a 64bit system. Are there any available replacement packages available for download? Anyone know of a custom GPS ROM for Samsung Galaxy 5? Possible Duplicate:          I recently bought a Samsung Galaxy 5 (model number GT-I5500) and I'm new to the android world.   I'm not satisfied with the performance of the GPS on my cell phone so I thought it would be interesting to use a custom ROM to see if it improves a bit.   Anyone knows of a ROM that was tested in this model? What is the variance of the weighted mixture of two gaussians? Say I have two normal distributions A and B with means $\mu_A$ and $\mu_B$ and variances $\sigma_A$ and $\sigma_B$. I want to take a weighted mixture of these two distributions using weights $p$ and $q$ where $0\le p \le 1$ and $q = 1-p$. I know that the mean of this mixture would be $\mu_{AB} = (p\times\mu_A) + (q\times\mu_B)$.  What would the variance be?    A concrete example would be if I knew the parameters for the distribution of male and female height. If I had a room of people that was 60% male, I could produce the expected mean height for the whole room, but what about the variance? Comparing two byte arrays in .NET Mean Time to Failure (MTTF): When disk manufacturers post this, how should you interpret their numbers? Mean Time to Failure (MTTF) is usually given in terms of hours, and by doing some calculations, it seems that a disk should fail only after a good number of years have gone by.  It seems that disks need repair more often than that. Does anyone know why this is so?  I figured that there is something fishy about this metric. Am interpreting something wrong here? Was Louis stalked days in advance too? Im trying to craft a regex that only returns &lt;link&gt; tag hrefs  Why does this regex return all hrefs including &lt;a hrefs?       (?&lt;=&lt;link\s+.*?)href\s*=\s*[\'\"][^\'\"]+        &lt;link rel="stylesheet" rev="stylesheet"      href="idlecore-tidied.css?T_2_5_0_228" media="screen">     &lt;a href="anotherurl">Slash Boxes&lt;/a>   thank you Finish an activity after a time period Make Applications (Ubuntu Software) to access all the DRIVES in my computer