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

P

packages
binary compatibility considerations, 242
(chapter), 113
declarations, in compilation units, 118
as declared entity, 78
host support for, 115
importing all public types from a, 122
LALR(1) grammar, 442
members, 114
access to, 120
members of, 85
named, in compilation units, 118
names
context in which a name is classified as, 90
fully qualified, 105
hiding, 120
naming conventions, 107
qualified, meaning of, 93
scope of, 120
simple, meaning, 93
unique, 125
unique, importance of, 125
scope of, 81
standard
java.io
package (chapter), 665
checked exceptions defined in, 210
java.lang
checked exceptions defined in, 210
package (chapter), 455
unchecked exceptions defined in, 209
packages
standard
java.net
checked exceptions defined in, 211
java.util
package (chapter), 615
unchecked exceptions defined in, 209
storing in a
database, 117
file system, 115
term definition, 114
unnamed, in compilation units, uses and cautions, 119
Paine, Thomas
American Crisis
shift for yourselves, 650
times that try men's souls, 290
Common Sense, mind of the multitude, 650
panjandrum, 290
parameter(s)
See also modifiers; variables
constructor, 177
assignment during instance creation, 228
binary compatibility considerations, 254
description, 45
initial value, 46
scope, 82
as declared entity, 79
exception
description, 45
initial value, 46
scope, 291, 82
method
binary compatibility considerations, 254
description, 45
initial value, 46
specification of, 156
names, naming conventions, 110
@param tag, specification, 422
scope of, 81, 82
types, method invocation conversion context, 66
parentOf method
of class ThreadGroup, 605
parse method
of class Date, 631
parseInt method
of class Integer, 492
parseLong method
of class Long, 499
parseNumbers method
of class StreamTokenizer, 716
Partridge, Eric, 127

Partridge, Eric
pathSeparator field
of class File, 753
pathSeparatorChar field
of class File, 753
pearls, 417
peek method
of class Stack, 661
Peirce, Charles, 383
Peretti, Hugo E., 28
performance
See optimization
PI field
of class Math, 518
PipedInputStream class, 687
PipedOutputStream class, 725
platform-dependent
native methods are, 161
pointers
See references
NullPointerException class, 611
polling
for asynchronous exceptions, 206
pop method
of class Stack, 661
pos field
of class BufferedInputStream, 700
of class ByteArrayInputStream, 689
of class StringBufferInputStream, 692
POSITIVE_INFINITY field
of class Double, 511
of class Float, 504
pow method
of class Math, 522
precedence
See also expressions
of operators, in expression evaluation, 308
precise
term definition, 205
precision
See also numbers
possible loss of
in narrowing primitive conversion, 55
in widening primitive conversion, 54
preparation
of classes, 221
in Test class example, at virtual machine startup, 216
of interfaces, 221
standard exceptions, AbstractMethodError, 212
prescient store
actions, with threads, 408
preventing
instantiation, 180
with private constructors, 132
prime numbers, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823
primitive
See also numbers
conversion
narrowing, 55
in assignment conversion context, 61
in casting conversion context, 67
not allowed in method invocation conversion context, reasons for, 66
widening, 54
in assignment conversion context, 61
in binary numeric promotion context, 74
in casting conversion context, 67
in method invocation conversion context, 66
in unary numeric promotion context, 73
types
as array element types, 194
changing value of variables, 31
fully qualified name for, 105
literal as source code representation of the value of, 19
narrowing conversions, specification, 55
term definition and specification, 30
variables of, specification, 44
widening conversions, specification, 54
printing
print method, of class PrintStream, 740
println method, of class PrintStream, 741
printStackTrace method, of class ThreadGroup, 613
PrintStream class, 738
See Also output
Prior, Matthew, 529
priority
thread, 415
private modifier
See also declarations; modifiers
access
determining, 99
inheritance of class members, example, 141
constructors
access control, example, 105
preventing instantiation with, 132
fields, access control, example, 105
inheritance with, example, 141
methods
abstract not permitted with, 158
access control, example, 105
as implicitly final, 160
in example of qualified names and access control, 105
overriding and hiding not possible with, 166
preventing instantiation by declaring constructors as, 180
Process class, 561
productions
LALR(1) grammar
arrays, 446
blocks, 446
class declarations, 443
constructor declarations, 445
expressions, 450
field declarations, 443
interface declarations, 445
method declarations, 444
statements, 446
static initializers, 444
those used only in, 442
term definition, 7
programming practices
cautions, unnamed package use, 119
promotion
See also numbers
(chapter), 51
promotion
numeric, 72
binary, 74
specification, 74
specification, 72
term definition, 52
unary, 73
specification, 73
properties
Properties class, 639
propertyNames method, of class Properties, 640
protected modifier
See also declarations; modifiers
access, 100, 99
inheritance of class members, example, 141
constructors, access control, example, 104
fields, access control, example, 104
inheritance with, example, 141
methods, access control, example, 104
protocols
standard exception, ProtocolException, 211
public modifier
See also declarations; modifiers
access, 99
inheritance of class members, example, 141
classes
access control in, 99
binary compatibility considerations, 243
in example of qualified names and access control, 101
constructors, access control, example, 103
fields
access control, example, 103
interface, implicit in declaration, 187
inheritance with, example, 141
interfaces
binary compatibility considerations, 259
declaration, 184
methods
access control, example, 103
in interfaces, implicit in declaration, 189
superclasses, accessing instances of non-public subclasses through, 142
superinterfaces, accessing instances of non-public subclasses through, 142
types
defined in java.lang, list of, 123
importing from a package, with type-import-on-demand, 122
push method
of class Stack, 661
pushBack field
of class PushbackInputStream, 710
pushBack method
of class StreamTokenizer, 718
PushbackInputStream class, 710
put method
of class Dictionary, 634
of class Hashtable, 637

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]