M


main(), 352–353

Map interface

in Collections Framework, 537–538

HashMap, 543

Hashtable, 544

LinkedHashMap, 544

methods, 569–570

overview, 543–544

TreeMap, 544

working with maps, 563–566

maps, collection. See Map interface

Matcher class, 482–484

matches, simple searches, 473–474

member modifiers, applied to inner classes, 644

member variables. See instance variables

members, class. See declaration, of class members

memory

garbage collection and, 244–245

strings and, 419–420

metacharacter searches

dot (.) metacharacter, 479

metacharacter and string collisions, 481–482

overview, 474–476

method-local inner classes

functions and limitations of, 645–646

overview, 644–645

two-minute drill, 657–658

methods

abstract, 41–45

arrays, 568

behaviors, 2

"chained methods," 428

collections, 568

defining inner class within a method, 644–645

enums, 63–65

file, 432

final, 40

generic collections, 584–597, 602–605

listing exceptions a method can throw, 359

lists, sets, maps, and queues, 569–570

naming conventions, 7–8

native, 46

Object class, 523

serialization, 449–452

signatures, 10

strictfp, 46

StringBuffer and StringBuilder, 426–428

synchronized, 45

thread, 676, 689–690, 729

variable arguments lists with methods, 46–47

methods, static variables

accessing, 143–147

overview, 141–143

variable declaration, 59–60

methods, String class

public boolean equalsIgnoreCase(String s), 422

public char charAt(int index), 421

public int length(), 422

public String concat(String s), 421–422

public String replace(char old, char new), 422

public String substring (int begin), 422–423

public String substring (int begin, int end), 422–423

public String tolowerCase(), 423

public String toString(), 424

public String toUpperCase(), 424

public String trim(), 424

methods, StringBuffer class, 426–428

public String toString(), 427

public StringBuffer delete (int start, int end) 426–427

public synchronized StringBuffer append(String s), 426

public synchronized StringBuffer reverse(), 427

methods, StringBuilder class, 427

modifiers

access modifiers, 24–26

class modifiers, 12–13, 68–69

member modifiers applied to inner classes, 644

nonaccess modifiers, 15

nonaccess modifiers for class members, 39

not using local variables with access modifiers, 38–39

two-minute drill, 68–69, 71–72

multidimensional arrays

assigning, 223–224

constructing, 213–214

multiple threads, 685–688

multiplication (*) operator, 286




SCJP Sun Certified Programmer for Java 5 Study Guide Exam 310-055
SCJP Sun Certified Programmer for Java 5 Study Guide (Exam 310-055) (Certification Press)
ISBN: 0072253606
EAN: 2147483647
Year: 2006
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net