At first I am beginner in Java. I have problem with checkstyle error mentioned in thread title.  Consider having similiar code:  public class myClass {   JButton[] buttons;        public myClass() {         this.buttons = new JButton[2];         //constructor code....          this.buttons[0].addActionListener( new ActionListener() {                     public void actionPerformed( ActionEvent e ) {                                         firstMethod(0, 1);                       secondMethod(5, 10);                     }                 });        }        public void firstMethod( int x, int y ) {         // do something       }        public void secondMethod( int x, int y ) {         // do something       }      }   In constructior I've created onclick event for button from attribute buttons, where when the button is clicked it will perform method firstMethod(int, int) and secondMethod(int, int), everything working of course, but the checkstyle throws me the error. For some reasons I cannot just use this.firstMethod() as I am inside another object (ActionListener).  Any ideas how to throw myClass reference into actionListener?
In the following snippet:  public class a {     public void otherMethod(){}     public void doStuff(String str, InnerClass b){}     public void method(a){         doStuff("asd",             new InnerClass(){                 public void innerMethod(){                     otherMethod();                 }             }         );     } }   Is there a keyword to refer to the outer class from the inner class?  Basically what I want to do is outer.otherMethod(), or something of the like, but can't seem to find anything.
The  is a proposed propulsion mechanism for spacecraft in which some form of microwave device provides the propulsion. The consensus from the physics community, including many voices on this site, is that the proposed device would violate conservation of momentum.   Several experiments have been conducted, by three main groups: (i) , from Satellite Propulsion Research Ltd, (ii) a research group at the Northwestern Polytechnical University in Xi'an, China, and (iii) Eagleworks Laboratories at NASA's Lyndon B. Johnson Space Center in Houston, Texas. However, few of these experiments have been performed in vacuum (and none of the vacuum tests has been published in a peer-reviewed journal), which means the effect of air currents around the device cannot be ruled out.  This device has been the subject of many questions on this site, including          and their many closed duplicates.  Many of these questions ask what the proposed explanations are, but then veer off into territory of the form "assuming it is true, how does it work?", so they have been (rightfully) closed as counterfactual physics. I feel this sort of bundling does a lot of harm to the discussion, and there is some scope to ask what exactly is being proposed as an explanation. So:     What do the proponents of EmDrive claim is the theoretical justification of the device's function?   Please limit answers exclusively to references, and indicate whether they are peer-reviewed or not. Please limit answers to serious attempts at explanations, as opposed to vague claims about the 'quantum vacuum' - or indicate if an experimental paper does not have any such theoretical explanation or reference.  To be clear, this is not the place to discuss whether the explanations are correct or not. If you have specific questions about any of these sources, ask it separately. (However, if your question starts with "assuming that this works", be prepared for it to be closed.) If you feel there are not enough resources on this thread, you can  but please do not post another question asking people to look for more references. It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this? Has a free neutron ever been shown to absorb/emit/interact with a photon? Protons only 'interact with' very high-energy photons, whether inside a nucleus or free, right?  I'm assuming the same about neutrons....  Neutrons have a small magnetic moment and a slight electric 'moment' (dipole?), correct?  They are sometimes considered to consist of a negative charge surrounding a positive charge?  I would assume that neutrons, in a nucleus or free, interact with photons even less often than protons, and that the gamma photon has to have an even higher energy than one interacting with a proton....  Lastly, I have read about 'photodisintegration', in which a nucleon is kicked out of a nucleus by a gamma ray.  It seems to happen to neutrons sometimes...  But, I am mostly curious about experimental evidence of free neutrons interacting with photons, how often it happens compared to free protons, and whether the interacting photon's energy has to be extremely high, higher even than a photon interacting with a proton... What's the difference between anonymous methods (C# 2.0) and lambda expressions (C# 3.0)? I remember I saw a apt mirror somewhere containing older distributions but I cannot find it anymore. Does anybody know where to find it? Proof of $\int_{[0,\infty)}pt^{p-1}\mu(\{x:|f(x)|\geq t\})d\mu(t)=\int_{[0,\infty)}\mu(\{x:|f(x)|^p\geq s\})d\mu(s)$ Why can't I use Stack Exchange if I'm under 13 years old, or if I'm under 16 years old and from the EU? I was just reading the , and noticed something:  You must be at least 13 years old to access or use the Network or Services, including without limitation to complete a Stack Overflow account registration. By accessing or using the Services or the Network in any manner, you represent and warrant that you are at least 13 years of age. If you are under 13 years old, you may not, under any circumstances or for any reason, access or use the Services or Network in any manner, and may not provide any personal information to or on the Services or Network (including, for example, a name, address, telephone number or email address). If you are located within the European Union, you must be at least 16 years old to access or use the Network or Services, including without limitation to complete a Stack Overflow Account Registration.  I signed up for Stack Overflow when I was around 11 or 12 and I did provide my email address. Are you saying that my use of Stack Overflow was not legal? I'm 16 now (so I'm in the clear), but that just seems a little harsh. Is that possibly related to the age limit for accepting a binding contract/agreement (although I thought that was 18 in the U.S.)? Is there a way for users under the age of 13, or for users from the European Union who are under the age of 16, to use the site legally? What does "...from nonmagical attacks not made with silvered weapons" mean? I'm sure your first thought is, that's perfectly clear.  Unfortunately my group who aren't normally rules lawyers disagree.  Party encounters a  (MM p.211).  It has:     Damage Immunities: bludgeoning, piercing, and slashing from nonmagical   attacks not made with silvered weapons.   My reading of that is if the weapon has to be magical and silvered to hurt it.  So a +1 silver dagger will hurt it, but a +1 regular dagger or a +0 silver dagger won't.  The group's interpretation was that all three of those weapons would hurt and only a +0 regular dagger would be ineffective.    I would also note my interpretation would mean something like blade barrier would also not harm it since you could argue they're magical blades but nothing indicates that they're silvered.    This also appears to be the same wording for some undead so I'm not looking for a lycanthrope specific interpretation but something general for every time that wording is used.    Thanks in advance. Spacing changes when using unicode-math range feature. Why? You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign &amp; Latin Modern, see my example:  \documentclass{scrartcl}  \usepackage{amsmath} \usepackage{unicode-math} % use unicode in math &amp; setup math fonts \setmathfont{Asana Math} %\setmathfont[range=\sum]{Latin Modern Math} % substitute Sum sign  \begin{document}  Notice the different sum sign $\sum$, as intended.   Notice also, the difference in spacing, not intended: \begin{equation}     \begin{bmatrix}         0           &amp; \frac{1}{2}   &amp; \frac{2}{3} \\         \frac{3}{4} &amp; 0             &amp; \frac{4}{5} \\         \frac{5}{6} &amp; \frac{6}{7}   &amp; 0     \end{bmatrix}     \begin{pmatrix}         A \\         B \\         C     \end{pmatrix} \end{equation} \end{document}   However, not only the sum sign, but also the spacing in the matrices changes. With Latin Modern commented out (as in the example):  With Latin Modern active (remove % before relevant line):  Why is that? BTW, I'm using Lualatex from TeXLive 2012. What are these auxiliary file descriptors? While poking around /proc/self folder for my mksh shell,  I found a peculiar thing: in /proc/self/fd/* there are all the standard file descriptors (0 for stdin, 1 for stdout, and 2 stderr) some file descriptors, but also some extra ones - 24, 25, 3. And I technically can list them with a glob in the shell:  $ for fd in /proc/self/fd/* ; do echo $fd ; done                                                       /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/24 /proc/self/fd/25 /proc/self/fd/3   But when I try to stat them or use find on them, they are reported as non-existent.  $ find  /proc/self/fd/*                                                                                /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/24’: No such file or directory find: ‘/proc/self/fd/25’: No such file or directory /proc/self/fd/3   Same occurs in bash , but just with just one auxiliary file descriptor.  $ for fd in /proc/self/fd/* ; do echo $fd; done /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/255 /proc/self/fd/3  $ find /proc/self/fd/* /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/255’: No such file or directory /proc/self/fd/3   Question is: what are those additional file descriptors? What is their purpose? Possible Duplicate:                If in a multiple linear regression (enter method) the general model isn't significant (F>.05) but one of the predictors is significant (β&lt;.05), should I consider it as a significant result? Is there a difference between Bayesian and Classical sufficiency? The title pretty much says it all. I wonder whether there is any difference in the way Bayesians understand sufficiency vs. the way orthodox statistics understands sufficiency, or are they equivalent?  If there is a difference, what is it? I keep running into areas where I see a chest in a section of the room that seems completely walled-off. Is there any way to get to these, or is that just the randomly generated dungeon being a tease?  I had to splice two screenshots together to show an example of what I'm talking about:   Is there any way to get in there? Export objects to separate files in Illustrator Prove that $\exp(x)>0$ using only formal definition of exp As  says:     [...] the kinetic energy of a non-rotating object of mass $m$ traveling at a speed $v$ is $\frac{1}{2}mv^2$.   Why does this not increase linearly with speed? Why does it take so much more energy to go from $1\ \mathrm{m/s}$ to $2\ \mathrm{m/s}$ than it does to go from $0\ \mathrm{m/s}$ to $1\ \mathrm{m/s}$?  My intuition is wrong here, please help it out! Adding an error on a dynamic referenced field Is there a way to add an error on a dynamically referenced field? Let's take this simple example:  opp.get('Name').addError('Invalid name');   This is not working, I'm looking for a similar minded way.  Thanks Adding/updating field to polygon feature class that lists bordering (neighbor) polygons? I have a dataset of zipcodes.  I want to add a new field "NEIGHBORS" that includes bordering polygons in a comma delimited manner such as attached image: I want to switch to French locale. So I tried the below command:  myUbundu@myUbundu-desktop:~$ export LC_ALL=fr_FR   But I am getting the warning  -bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR)   How to set the locale to French? Do I need to install additional packages? Forcing series convergence