1. Using int as a type parameter for java.util.Dictionary stackoverflow.comWhen I try to declare a Dictionary as such:
The compiler gives me the following error:
Syntax error on token "int", Dimensions expected after this tokenBut it works ... |
2. Java parameter passing question stackoverflow.comI am relatively new to Java and while trying out some code came across something that surprised me. Hopefully some one can shed some light on this. Here's some code snippets ... |
3. Jasper Reports: How does one call a java method with a int parameter from a JasperDesign class stackoverflow.comI've used jasper without using xml (I must change this still) but I have an implementation of a JasperDesign that i make use of ... I create a JRDesignTextField with a ... |
4. Java parameter passing int[][] stackoverflow.comI am trying to write a simple DCT algorithm in java. I want my findDCT method to have as a parameter an integer array like this:
|
5. Java: Self defined method parameter problems stackoverflow.comI'm trying to learn basic animation out of Lambert/Osborne's Fundamentals of Java. This method is defined within the Circle class, and taken right out of the book.
|
6. Why is parameter to string.indexOf method is an int in Java stackoverflow.comI am wondering why the parameter to indexOf method an int , when the description says a char. public int indexOf(int ch)
|
7. why the method with int parameter is considered for numerical value? stackoverflow.com
|
8. int parameter validation, ( options??) coderanch.comHi all. I would like to hear your opinions on the next topic. When I recive a parameter in jsp that is an int, which do you think is the correct way to validate the parameter was sended, or the parameter is an int , etc. currently I use: String intString = request.getParameter("parameter"); int intValue=0; if( intString != null ){ intValue ... |
9. return int in parameter coderanch.comI have a method that needs to return an int in a parameter. In C++, I would just pass the address of my parameter, and have the called method populate the contents of that address. In Java, I am not sure what to do, since I can not pass the address of the int. Do I need to create a class ... |
10. integer parameters coderanch.comAlso a greenhorn, but I would say that you should make a method with a return type "int" and two arguments "a" and "b" Then an if-else structure to decide which to return (I.E. Here is a program to decide which of two strings is longer and return it: public String longerString(String a , String b) { if (a.length > b.length) ... |
11. trying to figure out how to minus the place of an int parameter in a method. java-forums.orgI'm trying to figure out how to solve this particular problem: I'm given a limited length of a string number and im trying to figure out how to find a particular char in the string and if not, if the index of this character is greater than this character itself, reduce the index by one and return it into the method ... |
12. Parameters with two integers. java-forums.orgHello there, im stuck at something here. I'm new to Java, and i have this issue. I'll try to explain as good as i can. I have written a method called printNumbers, in this method it has a paramater including two integers ( public static int printNumbers (int x, int y) ), i want it to print all the numbers from ... |
13. How to restrict parameter to take only integers ?? forums.oracle.comHello, I m fresher and not a xpert in java. I have been placed into one project. Its generally a management project. One page of project contains one field named " TOTAL EXP ". I want it to restrict only integers like (1,2,3,5.6,3.3 etc ) and not like this 1 month, 3+ years, 4+, etc. Can u suggest me where to ... |
14. trouble creating a method with an integer parameter forums.oracle.com |
15. methods where String and int share a parameter value forums.oracle.com |