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

AhmadLang / Java, How To Program, 2004

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

sibling side effect

Sieve of Eratosthenes

Sieve of Eratosthenes, using a BitSet signal method of Condition 2nd 3rd

signal value

signalAll method of Condition

signature

signature of a method

signed right shift (>>) 2nd 3rd Silicon Graphics

Simple commands Simple Compiler simple condition Simple Interpreter Simple Language simple name

SimpleGraph applet simplest activity diagram 2nd

Simpletron Machine Language (SML) 2nd Simpletron simulator 2nd 3rd 4th

simulate a middle-mouse-button click on a oneor two-button mouse simulate a right-mouse-button click on a one-button mouse simulation

coin tossing

Simulation: Tortoise and the Hare 2nd simulator

sin method of Math

Since: note sine

single entry point single exit point single inheritance single quotes

single static import

single-entry/single-exit control statements 2nd single-line (end-of-line) comment 2nd 3rd single-precision floating-point number single-quote character

single-selection list single-selection statement 2nd 3rd

if

Single-Threaded Execution design pattern 2nd single-type-import declaration

SINGLE_INTERVAL_SELECTION constant of ListSelectionModel 2nd 3rd

SINGLE_SELECTION constant of ListSelectionModel

SingleThreadModel interface

Singleton design pattern 2nd singly linked list

size

size method

of BitSet of List 2nd of Map

of PriorityQueue of Vector

size of the applet's display area sleep interval

sleep method of Thread 2nd 3rd 4th

sleeping thread

small diamond symbol (for representing a decision in a UML activity diagram) smallest integer in a group

smallest of several integers SML

snap-to ticks for JSlider "sneakernet"

socket

Socket class 2nd 3rd 4th 5th

close method

getInetAddress method getInputStream method 2nd getOutputStream method

setSoTimeOut method

socket-based communication

SocketException class

SocketImpl

SocketMessageManager implementation of MessageManager for communicating via Sockets and

multicast DatagramPackets SocketTimeoutException class

software 2nd software asset software engineering

Software Engineering Observations software life cycle

software model

software reuse 2nd 3rd 4th 5th 6th 7th software simulation

solid circle

solid circle (for representing an initial state in a UML diagram) in the UML 2nd

solid circle enclosed in an open circle (for representing the end of a UML activity diagram) solid circle surrounded by a hollow circle

solid diamonds (representing composition) in the UML Solves Towers of Hanoi problem with a recursive method sort

sort algorithms bubble sort 2nd bucket sort insertion sort merge sort quicksort selection sort

sort key

sort method of Arrays 2nd

sort method of Collections

SortDemo applet

sorted array sorted order 2nd

SortedMap interface

SortedSet interface 2nd

first method last method

sorting 2nd descending order with a Comparator

sorting data 2nd sorting techniques sound 2nd

sound card sound engine source code 2nd

SOUTH constant of BorderLayout 2nd SOUTH constant of GridBagConstraints

SOUTHEAST constant of GridBagConstraints

SOUTHWEST constant of GridBagConstraints

space character space flag 2nd space/time trade-off

spanky.triumf.ca/www/fractint/fractint.html

speaker

speaking to a computer special character 2nd

Special Section: Advanced String Manipulation Exercises Special Section: Building Your Own Compiler 2nd Special Section: Building Your Own Computer

special symbol specialization in the UML specifics

Spelling Checker project sphere

spiral 2nd

split a statement over multiple lines split method of String

split the array in merge sort spooler

spooling

SpreadSheet applet SQL 2nd 3rd 4th

DELETE statement 2nd 3rd 4th FROM clause

GROUP BY

INNER JOIN clause 2nd

INSERT statement 2nd

LIKE clause 2nd

ON clause

ORDER BY clause 2nd 3rd

SELECT query 2nd 3rd 4th 5th

SET clause

UPDATE statement

VALUES clause

WHERE clause

SQL keyword SQL script SQL statement

SQLException class 2nd sqrt method of Math 2nd 3rd

square brackets, [] 2nd square root

Squares eliminated by placing a queen in the upper-left corner of a chessboard stack 2nd 3rd 4th 5th 6th

Stack class 2nd isEmpty method

of package java.util 2nd peek method

pop method

push method

stack frame

Stack generic class

Stack<Double>

Stack<Integer>

Stack manipulation program stack operation

pop push

stack overflow stack trace stack unwinding

StackComposition uses a composed List object

stacked building block

stacking control statements 2nd 3rd stacking rule

StackInheritance extends class List

StackTraceElement class

getClassName method

getFileName method getLineNumber method getMethodName method

"standalone" units standard action 2nd

standard error stream (System.err) 2nd 3rd 4th standard input stream (System.in) 2nd 3rd

standard output stream (System.out) 2nd 3rd 4th 5th

standard reusable component standard time format

"standardized, interchangeable parts" start method of JApplet 2nd 3rd

start method of Player

starting angle

startsWith method of String

startup.bat (Tomcat)

startup.sh (Tomcat) starvation

state

state button

State design pattern 2nd 3rd 4th context object

State class state object State subclass

state diagram for the ATM object state diagram in the UML

state in the UML 2nd

state machine diagram in the UML 2nd state object

state of an object 2nd

stateChanged method of ChangeListener

statement 2nd

Statement

Statement interface 2nd 3rd

executeQuery method statements

break 2nd 3rd 4th continue 2nd 3rd

control statement 2nd 3rd 4th control-statement nesting control-statement stacking do...while 2nd 3rd 4th double selection 2nd

empty 2nd empty statement

for 2nd 3rd 4th 5th 6th 7th 8th if 2nd 3rd 4th 5th 6th 7th

if...else 2nd 3rd 4th 5th 6th

labeled continue looping

multiple selection nested

nested if...else 2nd repetition 2nd 3rd return 2nd

selection 2nd single selection

switch 2nd 3rd 4th

switch multiple-selection statement while 2nd 3rd 4th 5th 6th 7th 8th

static

class member 2nd

class member demonstration class variable

field (class variable) keyword

method 2nd 3rd static binding

static class variable used maintain a count of the number of Employee objects in memory

static import 2nd of Math methods on demand

static method cannot access non-static class members

status bar

step debugger command step up debugger command

stop debugger command

stop method

of AudioClip of JApplet 2nd of Timer

stop method of JApplet store method of Properties

straight-line form

Strategy design pattern 2nd 3rd strategy object

stream 2nd stream header stream of bytes stream processing

stream socket 2nd 3rd stream-based communications streams

streams-based transmission strictfp keyword

strictly self-similar fractal string 2nd

literal

of characters

String array

String class

charAt method 2nd 3rd compareTo method 2nd

concat method

deleteCharAt method

endsWith method

equals method

equalsIgnoreCase method 2nd 3rd

format method 2nd

getChars method

indexOf method

lastIndexOf method

length method

matches method

regionMatches method

replace

replaceAll method

replaceFirst method

split method startsWith method substring method 2nd 3rd toCharArray method 2nd

toLowerCase

toUpperCase

trim method valueOf method

String class character-manipulation methods

String class constructors

String class searching methods

String class startsWith and endsWith methods

String class substring methods

String class valueOf methods

String comparison methods

String comparisons string concatenation 2nd string literal

String method concat

String methods replace, toLowerCase, toUpperCase, trim and toCharArray

String permutations generated with a recursive method

StringBuffer class 2nd 3rd 4th

append method

capacity method

charAt method

delete method

ensureCapacity method

getChars method

insert method

length method

reverse method

setCharAt method

trim method

StringBuffer class append methods

StringBuffer class character-manipulation methods

StringBuffer class constructors

StringBuffer constructors

StringBuffer method length and capacity

StringBuffer methods insert and delete

StringIndexOutOfBoundsException class 2nd

StringReader class

StringTokenizer class 2nd 3rd 4th 5th

countTokens

hasMoreTokens method 2nd nextToken method 2nd

StringTokenizer object used to tokenize strings

StringWriter class

Stroke object 2nd strongly typed languages Stroustrup, Bjarne 2nd structural design pattern

structural design patterns 2nd 3rd structure of a system 2nd

structured programming 2nd 3rd 4th 5th 6th 7th summary

Structured Query Language (SQL) 2nd Student Poll exercise

subarray

subclass 2nd 3rd 4th 5th subdirectory

subject object sublist

subList method of List

submenu

submit method of ExecutorService 2nd

subprotocol for communication subscribe

subscript (index)

substring method of String 2nd 3rd

subsystem subtraction 2nd

operator, - suffix F

suffix F for float literals suffix L for long literals

sum the elements of an array

Summary of the 32 recursion examples and exercises in this text Summing integers with the for repetition statement

Sun Audio file format (.au extension) 2nd Sun Java System Application Server

Sun Microsystems 2nd

Sun Microsystems Java Web site Sun Microsystems, Inc.

sun.jdbc.odbc

sunsite.tus.ac.jp/multimed

super keyword 2nd 3rd

call superclass constructor super.paintComponent( g )

superclass 2nd 3rd 4th constructor constructor call syntax default constructor direct 2nd

indirect 2nd

method overridden in a subclass

Superclass private instance variables are accessible to a subclass via public or protected methods inherited by the subclass

supercomputer Supermarket Simulation surrogates

survey

Survey.html document that allows users to submit survey responses to SurveyServlet

suspend a thread 2nd suspend an applet's execution swapping values 2nd

sweep 2nd

sweep counterclockwise Swing Event Package Swing GUI components

Swing GUI components package SwingConstants interface 2nd 3rd

SwingUtilities class 2nd

invokeLater method

updateComponentTreeUI method switch logic

switch multiple-selection statement 2nd 3rd 4th 5th 6th

activity diagram with break statements case label 2nd

controlling expression default case 2nd 3rd testing multiple input values

Sybase Sybase, Inc. symbol table

synchronization 2nd 3rd 4th synchronization wrapper synchronize

synchronize access to a collection synchronized

keyword 2nd 3rd method statement

synchronized collection synchronous call synchronous error syntax

syntax error 2nd 3rd system

system behavior

System class arraycopy

exit method 2nd

setErr method

setIn method

setOut

system requirements system service system structure

System.err (standard error stream) 2nd 3rd 4th

System.in (standard input stream)

System.out

print method 2nd println method 2nd 3rd

System.out (standard output stream) 2nd

System.out.print method 2nd System.out.printf method 2nd System.out.println method 2nd 3rd

SystemColor class