Contents | Index
A
- abrupt completion
- See completion, abrupt
- abs method
- of class
Math
, 526
- abstract modifier
- See also declarations; modifiers
AbstractMethodError
class, 611- classes
- binary compatibility considerations, 242
- declaration of, 131
- definition and characteristics, 131
- direct superinterface relationship to, 136
- interfaces, implicit for every, 184
- methods
- binary compatibility considerations, 254
- classes, 158
- declaration examples, 158, 159, 190
- interfaces, 189
- overloading, 190, 191
- overriding, 189, 190
- semicolon as body of, 164
- reasons why constructors cannot be declared as, 178
- accept method
- of interface
FilenameFilter
, 759
- access
- See also scope
- accessibility
- determining, 99
- term definition, 99
- accessible, term definition, 99
- array, 195
- expression evaluation order, 342
- constructor, binary compatibility considerations, 248
- of fields, expression evaluation, 319
- inheritance of class members, example
- default, 140
private
, 141protected
, 141public
, 141
- interface member names, 186
- to members of a package, 120
- method, binary compatibility considerations, 248
- non-
public
class instances, through public
superclasses and superinterfaces, 142 - overridden methods, using
super
keyword, 165 - qualified
- See also field access expressions; method invocation expressions
- term definition, 99
- threads,
volatile
fields use for, 147
- access control
- See also security
- classes, example, 100, 101
- constructors
- default, example, 102
private
, example, 105protected
, example, 104public
, example, 103
- fields
- default, example, 102
private
, example, 105protected
, example, 104public
, example, 103
IllegalAccessError
class, 611IllegalAccessException
class, 611- methods
- default, example, 102
private
, example, 105protected
, example, 104public
, example, 103
- package names, limited significance of, 115
protected
, details of, 100- qualified names and, 99
- standard exceptions,
IllegalAccessException
, 210 - term definition, 99
- acos method
- of class
Math
, 519
- actions
- See also methods
- main memory subsystem
- lock, 401
- read, 401
- unlock, 401
- write, 401
- prescient store, with threads, 408
- thread
- assign, 401
- load, 401
- lock, 401
- store, 401
- unlock, 401
- use, 401
- threads, constraints on relationships among, 403
- activeCount method
- of class
Thread
, 599 - of class
ThreadGroup
, 609
- activeGroupCount method
- of class
ThreadGroup
, 609
- addElement method
- of class
Vector
, 657
- Addison, Joseph, 143
- addObserver method
- of class
Observable
, 643
- after method
- of class
Date
, 629
- algebraic identities
- See also expressions; mathematical functions
- limits on use of, 308
- allGroups methods
allGroupsCount
method, of class ThreadGroup
, 608- of class
ThreadGroup
, 608
- allThreads method
- of class
ThreadGroup
, 608
- allThreadsCount method
- of class
ThreadGroup
, 608
- alphabet
- See also syntax
- components, see characters
- data types, see primitive types
- term definition, 7
- ambiguity
- See also names, ambiguous; scope
- avoiding, in fields with multiple inheritance, 153
- and method
- of class
BitSet
, 621
- append method
- of class
StringBuffer
, 552
- argument
- See also parameters
IllegalArgumentException
class, 611- lists, evaluation order, 309
- values, method invocation conversion context, 66
- arithmetic
- See also floating-point; integers;
Math
class; numbers; operators; primitive types ArithmeticException
class, 611- integer division,
ArithmeticException
, 307 Math
class, 517Number
class, 487- operators, numeric promotion, specification, 72
Random
class, 646- standard exceptions,
ArithmeticException
, 209
- arrays
- See also classes; data structures
- access, 195
- expression evaluation order, 342
arraycopy
method, of class System
, 584ArrayStoreException
class, 611- assignment, expression evaluation order, 370
ByteArrayInputStream
class, 689ByteArrayOutputStream
class, 727- (chapter), 193
- character, distinguished from strings, 199
Class
- objects, 199
- obtaining, example, 49
Cloneable
interface implemented by, 198- components
- See also variables
- assignment, run-time testing, 199, 303, 370, 375
- default values, 46
- initialization, 194
- as a kind of variable, 44
- type declaration, 194
- creation, 195, 38
- expression evaluation, 315
- order, 316
- order, example, 318
- out-of-memory detection, example, 319
- example, 196
- grammar specification difficulties, 438
- indexing of, 195
IndexOutOfBoundsException
class, 611- initialization, 195, 196
- LALR(1) grammar productions, 446
- members, 197, 88
- names, fully qualified, 106
NegativeArraySizeException
class, 611Object
as superclass of, 199- origin, 195
- standard exceptions
ArrayStoreException
, 199, 209IndexOutOfBoundsException
, 209NegativeArraySizeException
, 209
- variables
- declaration, 194
- initialization, 194
- ASCII characters
- See also characters; Unicode character set
- Unicode character set relationship to, 11
- asin method
- of class
Math
, 519
- assignment
- See also fields; initialization
- array, expression evaluation order, 370, 375
- assignable to, term definition, 61
- compatible, term definition, 61
- compound
- evaluation order, 305
- operators, evaluation, 375
- conversion context, specification, 52, 61
- definite, (chapter), 383
- expressions
- boolean, definite assignment, 390
- definite assignment, 391
- as statements, 272
- operation, to change value of primitive value, 31
- simple operators, evaluation, 370
- atan method
- of class
Math
, 520
- atan2 method
- of class
Math
, 520
- @author tag
- specification, 421
- available method
- of class
BufferedInputStream
, 701 - of class
ByteArrayInputStream
, 691 - of class
FileInputStream
, 686 - of class
FilterInputStream
, 697 - of class
InputStream
, 682 - of class
LineNumberInputStream
, 708 - of class
PushbackInputStream
, 711 - of class
StringBufferInputStream
, 693