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

I

I/O
See also files
java.io package, (chapter)
standard exceptions
EOFException, 210
InterruptedIOException, 210
IOException, 210
identifiers
See also fields; names; scope; variables
characteristics of those that are not names, 79
in labeled statements, distinguished from those in declarations, 80
term definition and specification, 17
as token, 17
identity
conversion
in assignment conversion context, 61
in casting conversion context, 67
in method invocation conversion context, 66
specification, 54
IEEE 754 standard, 6

IEEE 754 standard
See also numbers
compliance, narrowing conversion from double to float, 57
floating-point
conversion of numbers to, 22
types conformance to, 33
IEEEremainder method
of class Math, 524
if statements
See also statements
dangling else, handling of, 270
definite assignment, 394
if-then statement, specification, 273
if-then-else statement, specification, 274
specification, 273
IllegalAccessError class, 611
IllegalAccessException class, 611
IllegalArgumentException class, 611
IllegalThreadStateException class, 611
implement
See also classes; extends clause; interfaces
implements clause, 185
class declaration, specifying direct superinterfaces with, 135
term definition, 135, 87
import
See also packages; scope
automatic, 122
declarations
example, 123
single-type, 121
term definition, 120
type-import-on-demand, 122
imported types
as declared entity, 78
scope of, 81
in field
of class FileNameDescriptor, 760
of class FilterInputStream, 696
of class System, 579
inCheck field
of class SecurityManager, 570
inClass method
of class SecurityManager, 571
inClassLoader method
of class SecurityManager, 572
IncompatibleClassChangeError class, 611
index entries
bogus
Fibonacci numbers, 783
prime numbers, 801
warp factors, 820
obscure
Bell, Alexander Graham, 769
Bovik, Harry, 770
Fifth Dimension, 784
first cat, 784
Gauss, Carl Friedrich, 785
Hardy, Godfrey Harold, 786
make it so, 793
Marx, Chico, 794
Marx, Groucho, 794
panjandrum, 800
Ramanujan, Srinivasa, 803
razor, 803
Saturday Night Live, 805
Tokens, The, 817
virtue, 820
warp factors, 820
self-referential
index entries, 788
not, see Russell's paradox
self-reference, 805
Star Trek, 808
silly
banana-fana, 769
bear, 769
brown paper packages, 770
butter, 770
cuspidor, 776
good fences, 786
mighty minds, 796
mystic evolution, 796
one too many, 798
spittoon, 807
sweat, 810
indexing
of arrays, 195
indexOf method
of class String, 540
of class Vector, 659
IndexOutOfBoundsException class, 611
inexact results
See also numbers
rounding behavior, 35
infinity
See also number
isInfinite method
in class Double, 23
in class Float, 23
infinity
Java representation of, 23
NEGATIVE_INFINITY field
in class Double, 23
in class Float, 23
POSTIVE_INFINITY field
in class Double, 23
in class Float, 23
signed, produced by floating-point overflow, 35
inheritance
See also object-oriented concepts; scope
in class
examples of, 139
of members, 138
of members, with public, protected, and private access, examples, 141
private, example, 141
protected, example, 141
public, example, 141
with default access, example, 140
of fields
in class declarations
multiply inherited from interfaces, example of, 153
reinheritance of, example of, 154
in interface declarations
ambiguous inherited, example, 188
multiply inherited, example, 188
of members, 85
in interface declarations, 186
of methods
in class declarations, 165
with the same signatures, 166
in interface declarations, 189
multiple
See also superinterfaces
example, 137
term definition, 85
initialization
See also control flow; linking
of arrays
in creation, to default value, 317, 46
using array initializers, 196
of classes, 223
detailed procedure, 225
detailed procedure, 225
of fields
in classes, 149
in interfaces, 187
of for statement, 281
of interfaces, 223
detailed procedure, 225
initialization
standard exceptions, ExceptionInitializerError, 212
of types, when it occurs, 223
for variables, array, 194
initializers
See also creation; execution
arrays, 196
ExceptionInInitializerError class, 611, 614
executing, in Test class example initialization, 217
for fields
in class, 149
in interface, 187
static, 149, 175
binary compatibility considerations, 259
LALR(1) grammar productions, 444
for variables
class, 149
during class or interface initialization, 149
instance, 150
during instance creation, 229
input
See also files; output; streams
BufferedInputStream class, 699
ByteArrayInputStream class, 689
elements, term definition, 14
FileInputStream class, 684
FilterInputStream class, 696
Input goal symbol, lexical grammar use, 7
InputStream class, 680
LineNumberInputStream class, 707
PipedInputStream class, 687
PushbackInputStream class, 710
SequenceInputStream class, 694
StringBufferInputStream class, 692
tokens, 14
insert method
of class StringBuffer, 555
insertElementAt method
of class Vector, 657
instance(s)
See also classes; interfaces; object-oriented concepts
creation, 228, 38
constructor
invocation by creation expressions, 177
parameter assignment during, 228
use in, 176
instance(s)
creation
expression evaluation, 314
order, 315
expressions as statements, 272
invocation of initializers for instance variables during, 229
method dispatching during, 230
finalization of, 231
implementation procedures, 232
instanceof operator
testing expression types with, 303
testing expressions with, 303
instantiation
InstantiationError class, 611
InstantiationException class, 611
preventing, with private constructors, 132, 180
methods, see methods, non-static
standard exceptions, InstantiationException, 131, 210
variables, see fields, class, non-static
instanceof operator
testing expression types with, 303
integers
See also arithmetic; integral types; numbers
converting to boolean values, 37
intBitsToFloat method, of class Float, 508
Integer class, 488
intValue method
of class Double, 512
of class Float, 505
of class Integer, 489
of class Long, 496
of class Number, 487
literals
longest permitted, 21
term definition and specification, 19
operations, 31
integral types
See also arithmetic; 31numbers; 31types; 31
byte type, 30
value range, 31
char type, 30
value range, 31
int type, 30
value range, 31
long type, 30
value range, 31
integral types
short type, 30
value range, 31
values and operations, 31
interfaces
See also class(es); fields; methods; packages; subclasses; superclasses; superinterfaces
abstract methods, 190, 191
accessibility, 99
as array element types, 194
binary compatibility considerations, 259
binary representation
binary file format requirements, 240
verification of, 220
body, declarations, 185
Cloneable, implemented by arrays, 198
declarations, 184
(chapter), 183
LALR(1) grammar productions, 445
as members of packages, 85
as declared entity, 78
fields
binary compatibility considerations, 251
declarations, 186
examples, 188
inheritance
ambiguous, 188
multiply, 188
initialization, 187
initialization, 223
detailed procedure, 225
linking, process description, 220
loading, 218
process description, 219
members, 87
binary compatibility considerations, 260
declarations, 185
inheritance from superinterfaces, 186
names, access to, 186
methods
declarations, examples, 190
overloading, 190
examples, 191
overriding, 189
examples, 190
names
fully qualified, 105
naming conventions, 108
as package members, 85
preparation of, 221
process description, 219
interfaces
public
binary compatibility considerations, 259
declaration, 184
references to, binary file format requirements, 239
scope of, 184, 81
standard, Cloneable, implemented by arrays, 198
superinterfaces
binary compatibility considerations, 243
of a class, 135
declaration of, 135
unloading of, 235
intern method
of class String, 547
InternalError class, 611
internationalization
See Unicode character set
interrupt method
of class Thread, 599
interrupted method
of class Thread, 599
InterruptedException class, 611
invocation
of constructors
expression evaluation, 314
expression evaluation, order, 315
in creation of new class instances, 228
language constructs that result in, 177
of hidden class methods, example, 171
of methods
conversion, 66
expression evaluation, 323
order, 333
how chosen, 303
isAbsolute method
of class File, 755
isAlive method
of class Thread, 598
isDaemon method
of class Thread, 597
of class ThreadGroup, 607
isDefined method
of class Character, 474
isDigit method
of class Character, 478
isDirectory method
of class File, 756
isEmpty method
of class Dictionary, 633
of class Hashtable, 636
of class Vector, 658
isFile method
of class File, 756
isInfinite method
of class Double, 515
of class Float, 508
isInterface method
of class Class, 467
isInterrupted method
of class Thread, 599
isJavaLetter method
of class Character, 482
isJavaLetterOrDigit method
of class Character, 482
isLetter method
of class Character, 479
isLetterOrDigit method
of class Character, 480
isLowerCase method
of class Character, 476
isNaN method
of class Double, 514
of class Float, 507
isSpace method
of class Character, 482
isTitleCase method
of class Character, 478
isUpperCase method
of class Character, 477
iteration
See also control structures
continue statement, use with, 285
do statement, specification, 279
for statement, specification, 281
while statement, specification, 277

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 doug.kramer@sun.com