Javaв„ў EE 5 Tutorial, The (3rd Edition)

A

accelerator keys, 214, 215, 313, 357, 377, 395. See also Alt+S; MenuForAccelerator method

acceptance tests. See Customer Acceptance Tests

ActionForCommand method, 385

Adapter pattern, 246, 250

AddOldLines method, 470

AddRange method, 61, 62, 6465

Alt key, 18182, 326, 430. See also accelerator keys

Alt+P, 111, 202, 203

Alt+S. See also AltS method; AltS test; AltSWithText test

as accelerator key, 182, 187, 188, 211

adding to GUI, 148

beeping sound, 148, 18182, 188

vs. Ctrl+S, 148

vs. Enter, 188

implementing, 14851, 234

testing, 14849, 20916

AltS method, 173, 174, 175, 343

AltS test, 318, 319, 340, 343, 350, 385

AltSWithText test, 31819, 340, 35152

ampersand (&), 187, 212, 293, 402

ArrayInput test, 73, 76, 78, 80

ArrayList class

AddRange method, 61, 62

vs. arrays, 36, 43, 54, 60, 63, 88, 93, 99, 159, 169, 173, 176, 484, 490

Count property, 60, 93, 94, 160

creating object, 16970

defined, 54, 60

line cleaning and, 9495

lines, 412, 413, 414, 415, 416, 439

menu array and, 37880

newlines and, 6364, 66

arrays

vs. ArrayList, 36, 43, 54, 60, 63, 88, 93, 99, 159, 169, 173, 176, 484, 490

empty, 65, 163, 164

Enter and, 36

skip tags as, 32021

storing menus in, 357, 37780, 38687, 389

string, 57, 60, 63, 64, 88, 92, 93, 99, 16970, 322, 329, 333, 334, 337, 345, 348, 378, 484

TextBox and, 43, 54, 56, 59

ArrayToEnd method, 103

articles

displaying on Web site, 395404

generating with XSLT, 395

AssertEquals method, 20

assertion methods , 20, 7980, 242, 450

asterisks (*), in test code, 25

Категории