Contents | Prev | Next | Index

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

N

name game, 111
names
See also identifiers; scope; Unicode character set
ambiguous
handling of, 89, 91
reclassification of, 91
(chapter), 77
class
naming conventions, 108
scope of, 130
conflicts
See also hiding
avoiding
in fields with multiple inheritance, 153
through context use, 89
through naming conventions, 106
constants, naming conventions, 109
conventions, 106
impact on name hiding, 84
expression
context in which a name is classified as, 91
qualified, meaning of, 96
simple, meaning of, 95
fields, naming conventions, 109
grammar specification difficulties, 433
hiding, 83
interface
member, access to, 186
naming conventions, 108
LALR(1) grammar, 441
meaning of, determining, 89
method, 156
context in which a name is classified as, 91
naming conventions, 108
qualified, meaning of, 98
simple, meaning of, 98
package
context in which a name is classified as, 90
hiding, 120
in compilation units, 118
limited significance for access control, 115
names
package
naming conventions, 107
qualified, meaning of, 93
scope of, 120
simple, meaning of, 93
unique, 125
importance of, 125
parameters, naming conventions, 110
qualified
access control and, 99
fully, 105
term definition, 79
resolving references to, during resolution phase of linking, 221
restrictions, types and subpackages, 114
rules on being the same
class members, 86
fields, 86
interface fields, 87
methods, 87
simple
scope of, 81
term definition, 79
as subset of identifiers, 79
syntactic
categories, 89
classification of according to context, 90
term definition, 79
type
context in which a name is classified as, 90
interface, scope of, 184
qualified, meaning of, 94
simple, meaning of, 93
variables, local, naming conventions, 110
NaN (Not-a-Number)
See also numbers
comparison results, 35
double, conversion to a float NaN, in narrowing conversion, 57
NaN field
of class Double, 511
of class Float, 504
predefined constants representing, 23
preventing use of algebraic identities in expression evaluation, 308
term definition and specification, 33
narrowing
See also conversion; numbers
primitive conversions
in assignment conversion context, 61
in casting conversion context, 67
not allowed in method invocation conversion context, reasons for, 66
specification, 55
reference conversions, specification, 59
native modifier
See also declarations; modifiers
methods
binary compatibility considerations, 256
declaration, 161
semicolon as body of, 164
not permitted in interface method declarations, 189
reasons why constructors cannot be, 178
NEGATIVE_INFINITY field
of class Double, 511
of class Float, 504
NegativeArraySizeException class, 611
network
standard exceptions
MalformedURLException, 211
ProtocolException, 211
SocketException, 211
UnknownHostException, 211
UnknownServiceException, 211
newInstance method
of class Class, 468
Newton, Sir Isaac, 1
next method
of class Random, 648
nextDouble method
of class Random, 649
nextElement method
of class StringTokenizer, 653
of interface Enumeration, 617
nextFloat method
of class Random, 649
nextGaussian method
of class Random, 650
nextInt method
of class Random, 648
nextLong method
of class Random, 648
nextNextGaussian field
of class Random, 647
nextToken method
of class StreamTokenizer, 717
of class StringTokenizer, 652
NoClassDefFoundError class, 611

NoClassDefFoundError class
non-public
classes, in example of qualified names and access control, 101
nonterminal symbols
See also grammars
definition of, notation for, 8
term definition, 7
NORM_PRIORITY field
of class Thread, 591
NoSuchElementException class, 664
NoSuchFieldError class, 611
NoSuchMethodError class, 611
NoSuchMethodException class, 611
Not-a-Number
See NaN (Not-a-Number)
notation
See also names, naming conventions
grammar, 8
notification
notify method, of class Object, 463
notifyAll method, of class Object, 463
notifyObservers method, of class Observable, 644
wait sets and, 416
null
literal, term definition and specification, 27
NullPointerException class, 611
type
literal as source code representation of the value of, 19
term definition and specification, 30
numbers
See also arithmetic; precision; types
conversions of and to, see conversions
errors in handling, see exceptions
manipulating, see
arithmetic
operators
Number class, 487
NumberFormatException class, 611
numeric promotion
binary, 74
specification, 72
term definition, 52
unary, 73
primitive types, see
byte type
char type
double type
float type
floating-point
int type
numbers
primitive types, see
integers
integral type
long type
short type
Random class, 646
related types, see
boolean
characters
strings
nval field
of class StreamTokenizer, 715
Nygaard, Kristen, 6

Contents | Prev | Next | Index

Java Language Specification (HTML generated by Suzette Pelouch on February 24, 1998)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to [email protected]