exp( ), 419
expm1( ), 419
Expressions
and autoboxing/unboxing, 268–270
regular.SeeRegular expressions
extends, 157, 158, 202, 325, 329
and bounded wildcard arguments, 331, 334
Externalizable interface, 593
FF
false, 32, 39, 40, 71
FALSE, 402
Field class, 274, 277, 278, 436, 833–834
fields, 509
File class, 540, 556–561, 564, 574, 587
methods, demonstration of some, 557–558
File(s)
I/O, 293–296, 556–561
pointer, 578
source, 21–22, 106
FileChannel class, 818, 819, 821
FileDialog class, 747–748
FileFilter interface, 561
FileInputStream class, 287, 293–294, 564–565,
818, 819, 821
FilenameFilter interface, 560–561
FileNotFoundException, 294, 564, 566, 579
FileOutputStream class, 287, 293–294, 295,
565–567, 818
FileReader class, 287, 540, 579
FileWriter class, 287, 579, 580
fill( ), 482
fillArc( ), 679–680
fillInStackTrace( ), 219
fillOval( ), 678–679
fillPolygon( ), 680–681
fillRect( ), 677
fillRoundRect( ), 678
FilteredImageSource class, 765, 770
FilterInputStream class, 287, 569, 577
FilterOutputStream class, 287, 569, 576
FilterReader class, 287
FilterWriter class, 287
final
to prevent class inheritance, 181
to prevent method overriding, 180
variables, 143
finalize( ), 121–122, 181, 412
finally block, 205, 216–217
Financial calculations, applets and servlets for,
931–963
find( ), 826, 828–829, 830
findInLine( ), 548–549
findWithinHorizon( ), 549
Finger protocol, 600, 605
Firewall, 9
first( ), 444, 730
firstElement( ), 488, 489
firstKey( ), 465, 466
Float class, 265, 386–388, 390
methods, table of, 387–388
float data type, 33, 36, 40
Floating-point(s), 33, 36–37
literals, 40
floatValue( ), 265, 386, 387, 388, 391, 392,
393, 395
floor( ), 420
FlowLayout class, 664, 724–725, 870
flush( ), 527, 562, 563, 571, 580, 588, 594
Flushable interface, 561, 562, 574, 579, 586, 587
FocusEvent class, 640, 642, 643
focusGained( ), 651
FocusListener interface, 650, 651
focusLost( ), 651
Font class, 664, 686–687, 690, 691
methods, table of, 687
Font(s), 686–699
creating and selecting, 689–690
determining available, 687–688
information, obtaining, 690–691
metrics to manage text output, using,
691–699
terminology used to describe, 692
FontMetrics class, 664, 691–692, 693
methods, table of, 692
for loop, 27–30, 88–98
enhanced.SeeFor-each version of the
for loop
variations, 91–92
For-each version of the for loop, 14, 89, 92–97
and arrays, 92–97
and the break statement, 94
and collections, 92–93, 97, 440, 461–462
general form, 92
and the Iterable interface, 434, 440, 461
and maps, 464
forDigit( ), 400
Format conversion specifiers, 526, 527–539
argument index with, using an, 538–539
and format flags, 535–537
and specifying minimum field width,
533–534
and specifying precision, 534–535
Index 1005