Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

AhmadLang / Java, How To Program, 2004

.pdf
Скачиваний:
626
Добавлен:
31.05.2015
Размер:
51.82 Mб
Скачать

for a dialog box specified as null

parentheses 2nd nested redundant unnecessary

parseDouble method of Double 2nd parseInt method of Integer 2nd 3rd 4th

partition step in quicksort Pascal, Blaise

pass an array element to a method pass an array to a method

pass-by-reference pass-by-value 2nd

Passing a generic type Stack to a generic method Passing arrays and individual array elements to methods passing options to a program

password

PATH environment variable

path information path mapping

pathSeparator static field of File

pattern

Pattern class 2nd compile method matcher method matches method

pattern matching pattern of 1 s and 0 s

Payable interface declaration

Payable interface hierarchy UML class diagram

Payable interface test program processing Invoices and Employees polymorphically

payroll file

Payroll System Modification exercise peek method of PriorityQueue

peek method of Stack

percent (%) SQL wildcard character perfect number (exercise)

perform a calculation perform a task perform an action

performance of binary tree sorting and searching Performance Tip

performing operations concurrently permutation

Permutation.java

PermutationTest.java

persistent data persistent Hashtable personal computer 2nd

phase

physical input operation physical output operation PI 2nd

"pick off" each digit pie chart

Pie Chart exercise

PIE constant of Arc2D

pie shaped arc Pig Latin

pipe

PipedInputStream class PipedOutputStream class

PipedReader class

PipedWriter class

pixel ("picture element") 2nd pixel coordinates

PixelGrabber class

PLAF (pluggable look-and-feel)

PLAIN constant of Font 2nd

PLAIN_MESSAGE

platform dependency play method

of Applet

of AudioClip Player interface

getControlPanelComponent method getVisualComponent method

start method

playing an AudioClip playing audio

pluggable look-and-feel (PLAF) pluggable look-and-feel package

plus sign (+) indicating public visibility in the UML PNG (Portable Network Graphics) 2nd

point 2nd

Point class point-of-sale system poker

Poker game

poll analysis program

poll method of PriorityQueue

polygon 2nd Polygon class 2nd

addPoint method 2nd

Polygons displayed with drawPolygon and fillPolygon PolygonsJPanel.java

polyline polylines

polymorphic processing

of collections

of related exceptions polymorphic programming polymorphic screen manager

polymorphically process Invoices and Employees polymorphism 2nd 3rd 4th 5th 6th

polynomial pool of threads

pop method of Stack

pop off a stack

popup trigger event 2nd port 2nd 3rd

port 80 port 8080

port number 2nd 3rd 4th 5th 6th portability 2nd 3rd

Portability Tip portable portable GUI

Portable Network Graphics (PNG) 2nd position number

positional notation positional value

positional values in the decimal number system positive and negative arc angles 2nd

positive degrees

post request 2nd 3rd 4th 5th 6th 7th

postcondition postdecrement

postfix decrement operator

postfix expression evaluation algorithm postfix increment operator 2nd

postfix notation PostgreSQL postincrement 2nd postorder traversal 2nd

pow method of Math 2nd 3rd 4th 5th

power (exponent) 2nd power of 2 larger than 2nd precedence 2nd 3rd

arithmetic operators chart

precedence chart Precedence Chart Appendix precision 2nd

format of a floating-point number precision of a floating-point value

precision of a formatted floating-point number precondition

predecrement

predefined character class

predicate

predicate method 2nd preemptive scheduling Preferences API

prefix decrement operator prefix increment operator preincrement 2nd

Preincrementing and postincrementing preorder traversal

prepackaged data structures primary key

primary memory prime 2nd prime number

primitive type 2nd 3rd 4th passed by value promotions

primitive types boolean

byte

char 2nd

double 2nd

float 2nd int 2nd 3rd 4th

names are keywords short

principal

principle of least privilege 2nd print a line of text

print an array

Print an Array Backwards exercise Print an Array exercise

print an array recursively print debugger command

print method of System.out 2nd

print on multiple lines 2nd print spooling

printArray generic method

printArray method in which actual type names are replaced by convention with the generic name E

printf method of System.out

printing a binary tree in a two-dimensional tree format Printing a line of text with multiple statements

Printing array elements using generic method printArray Printing array elements using overloaded methods

Printing Dates in Various Formats

Printing multiple lines of text with a single statement

Printing positive and negative numbers with and without the + flag Printing the bits in an integer

printing trees

println method of PrintWriter println method of System.out 2nd 3rd

printStackTrace method of Throwable 2nd

PrintStream class 2nd

PrintWriter class 2nd 3rd 4th

println method

priority of a thread

PriorityQueue class

clear method

offer method

peek method

poll method

size method

PriorityQueue test program

private

access modifier data

field keyword

private access modifier 2nd

private keyword 2nd

Private members of Time1 are not accessible

private superclass members cannot be accessed in subclass

probability

procedural programming language procedure 2nd

processing phase processing unit producer 2nd producer thread

producer/consumer relationship 2nd product of odd integer

program

program construction principles 2nd program control

program execution stack 2nd program in the general 2nd program in the specific program-development process program-development tool 2nd programmer 2nd programmer-declared method

programmer-declared method maximum that has three double parameters programmer-defined class

promotion promotion rules 2nd

promotions for primitive types prompt

Properties class getProperty method 2nd keySet method

list method

load method

setProperty method 2nd store method

Properties class of package java.util

property attribute of <jsp:setProperty> action 2nd

proprietary class protected

access modifier 2nd protected access modifier 2nd

protected superclass members inherited into subclass BasePlusCommissionEmployee3

protocol

protocol for communication (jdbc) Prototype design pattern 2nd 3rd Proxy design pattern 2nd 3rd proxy object

pseudocode 2nd 3rd 4th 5th 6th first refinement 2nd

second refinement 2nd pseudocode algorithm pseudorandom number 2nd public

abstract method

access modifier 2nd 3rd 4th class

final static data interface

keyword 2nd 3rd 4th 5th 6th member of a subclass method 2nd 3rd

method encapsulated in an object service

static class members static method

publish

publishers table of books database 2nd

pure Java components push method of Stack

push onto a stack put HTTP request

put method of BlockingQueue 2nd

put method of Map Pythagorean Triples

Index

[SYMBOL] [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]

quadratic run time qualified name

quantifiers used in regular expressions quantum

query 2nd

query a database

query application for the Books.mdb database query method

query string

QUESTION_MESSAGE

queue 2nd 3rd 4th 5th Queue interface 2nd 3rd

queue length

Queue processing program queue to the server

QueueInheritance extends class List

quicksort algorithm QuickTime (.mov) files QuickTime files

Index

[SYMBOL] [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]

"r" file open mode 2nd

radians

radio button 2nd radio button group radius 2nd

radius of a circle radix

raised rectangle

Random Characters exercise Random class 2nd 3rd

nextInt method 2nd

setSeed method Random Colors exercise

Random Interimage Transition exercise random limericks

Random Lines Using Class Line2D.Double exercise random method of Math 2nd

random number generation

random number generation to create sentences random number processing

random numbers

difference between values scaling factor 2nd

seed value 2nd shifting value

Random Triangles exercise random-access file 2nd 3rd

RandomAccessAccountRecord class used in the random-access file programs

RandomAccessAccountRecord.java

RandomAccessFile class 2nd 3rd 4th

readDouble method

readInt method

seek method 2nd

writeChars method

writeDouble method

writeInt method

Randomly Erasing an Image exercise randomly generated triangles randomly sized shapes

range method of EnumSet

range-view methods

rapid application development (RAD) ratio of successive Fibonacci numbers

Rational class

Rational Numbers (exercise)

Rational Software Corporation 2nd Rational Unified Process™

raw type

Raw type test program

Reaction Time/Reaction Precision Tester exercise read-only file

read-only text read-only variable

Read/Write Lock design pattern 2nd readability 2nd 3rd

readDouble method of RandomAccessFile

Reader class

Reading a file by opening a connection through a URL reading a file on a web server

Reading data sequentially from a randomaccess file readInt method of RandomAccessFile

readLine method of BufferedReader

readObject method of ObjectInput readObject method of ObjectInputStream

ReadRandomFile.java

ReadRandomFileTest.java

ReadSequentialFile.java

ReadSequentialFileTest.java

ReadTextFile.java

ReadTextFileTest.java

ready state

real number 2nd real part

realization in the UML receive a connection receive data from a server

receive method of DatagramSocket receive method of MulticastSocket

"receiving" section of the computer reclaim memory

reclaiming dynamically allocated memory record 2nd

record key 2nd 3rd record size

recover from an error rectangle 2nd 3rd 4th 5th 6th Rectangle Class (exercise)

Rectangle2D class

Rectangle2D.Double class

Recursion Examples

FactorialCalculator.java

FactorialTest.java

FibonacciCalculator.java

FibonacciTest.java

Fractal.java

FractalJPanel.java

Permutation.java

PermutationTest.java

TowersOfHanoi.java

TowersOfHanoiTest.java

recursion exercises binary search Recursion Exercises Eight Queens

Find the Minimum Value in an Array Fractals

Generating Mazes Randomly Greatest Common Divisor

recursion exercises linear search Recursion Exercises

Maze Traversal Using Recursive Backtracking Mazes of Any Size

Palindromes

Print an Array

Print an Array Backwards Recursive power Method

Time to Calculate Fibonacci Numbers Visualizing Recursion

recursion overhead recursion step 2nd recursive backtracking

recursive binary search algorithm recursive call 2nd 3rd

recursive evaluation of 5!

recursive factorial method recursive linear search algorithm recursive method

Recursive power Method exercise recursive step

recursively generating Fibonacci numbers Recursively Print a List Backwards Recursively Search a List

redirect a stream redirecting requests

Redirecting requests to other resources

RedirectServlet.html document to demonstrate redirecting requests to other resources

redundant parentheses

ReentrantLock class 2nd

refer to an object reference

reference type 2nd 3rd refinement process refresh interval

regionMatches method of String

register a port

register an ActionListener registered listener

registering the event handler regular expression

*

+

.

?

\D