Click here to Skip to main content
16,020,424 members
Home / Discussions / Java
   

Java

 
AnswerRe: startNetworkServer Pin
TorstenH.11-Jan-11 21:39
TorstenH.11-Jan-11 21:39 
GeneralRe: startNetworkServer [modified] Pin
pancakeleh11-Jan-11 21:49
pancakeleh11-Jan-11 21:49 
GeneralRe: startNetworkServer Pin
TorstenH.12-Jan-11 0:17
TorstenH.12-Jan-11 0:17 
GeneralRe: startNetworkServer Pin
pancakeleh12-Jan-11 19:36
pancakeleh12-Jan-11 19:36 
Questionbasic question about Namespaces in Java Pin
nic77m10-Jan-11 9:05
nic77m10-Jan-11 9:05 
AnswerRe: basic question about Namespaces in Java Pin
Luc Pattyn10-Jan-11 10:54
sitebuilderLuc Pattyn10-Jan-11 10:54 
GeneralRe: basic question about Namespaces in Java Pin
TorstenH.10-Jan-11 23:50
TorstenH.10-Jan-11 23:50 
GeneralRe: basic question about Namespaces in Java Pin
David Skelly11-Jan-11 2:03
David Skelly11-Jan-11 2:03 
Actually it could be any of the above, 1, 2, 3 or 4, allowing for the messed up naming convention.

Example: java.util.Map.Entry is a class called Entry inside a class called Map inside a package called java.util.

Inner classes can contain nested inner classes, that is legal in Java, although not good design. So you could have mypackage.A.B.C or even A.B.C.D if A is located in the default package. Most Java programmers seeing Able.Baker.Charlie.Delta would see it as four class names because of the naming convention that classes start with uppercase characters and packages start with lower case.

Also, Java packages are not hierarchical, so the java package does not really contain the util package. They are two separate packages, one called java, one called java.util. If you are using reflection, you can get a Package object that represents a package, but there is no way to get sub-packages since there is no such concept in the Java language itself. (OK, you can list all the packages and parse through them by name yourself which is how Eclipse and NetBeans do it.) Java files (source and class files) are stored in a hierarchical file structure, but the actual packages themselves are not seen as hierarchies by the JVM at runtime. The pseudo-hierarchy of packages is there for human convenience, not for the compiler or JVM.
GeneralRe: basic question about Namespaces in Java Pin
Luc Pattyn11-Jan-11 2:07
sitebuilderLuc Pattyn11-Jan-11 2:07 
Questioninstallshield Pin
lucky_12215-Jan-11 22:32
lucky_12215-Jan-11 22:32 
AnswerRe: installshield [ 5xRepost ] Pin
Richard MacCutchan6-Jan-11 2:39
mveRichard MacCutchan6-Jan-11 2:39 
GeneralRe: installshield [ 5xRepost ] Pin
lucky_12216-Jan-11 18:21
lucky_12216-Jan-11 18:21 
GeneralRe: installshield [ 5xRepost ] Pin
Peter_in_27806-Jan-11 19:10
professionalPeter_in_27806-Jan-11 19:10 
QuestionComparing values in the table with the value the user keyed in Pin
pancakeleh5-Jan-11 16:20
pancakeleh5-Jan-11 16:20 
AnswerRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan5-Jan-11 21:46
mveRichard MacCutchan5-Jan-11 21:46 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh5-Jan-11 22:05
pancakeleh5-Jan-11 22:05 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan5-Jan-11 22:48
mveRichard MacCutchan5-Jan-11 22:48 
AnswerRe: Comparing values in the table with the value the user keyed in Pin
Arman S.6-Jan-11 9:39
Arman S.6-Jan-11 9:39 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
pancakeleh6-Jan-11 17:48
pancakeleh6-Jan-11 17:48 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan6-Jan-11 21:49
mveRichard MacCutchan6-Jan-11 21:49 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Arman S.7-Jan-11 6:54
Arman S.7-Jan-11 6:54 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan7-Jan-11 8:26
mveRichard MacCutchan7-Jan-11 8:26 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Arman S.7-Jan-11 8:35
Arman S.7-Jan-11 8:35 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Richard MacCutchan7-Jan-11 8:58
mveRichard MacCutchan7-Jan-11 8:58 
GeneralRe: Comparing values in the table with the value the user keyed in Pin
Arman S.7-Jan-11 9:23
Arman S.7-Jan-11 9:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.