The .NET Developers Guide to Directory Services Programming

 < Day Day Up > 


G

Garbage collection, 34, 106, 108–109

definition, 410

further reading, 119

program, 125

Gas station simulation, 80–86

adapter objects, 278, 283, 285

animator implementation, 251–259

car class program, 255–258

gas station class program, 258

pump class program, 254–255

car class program, 284–285

controlling object, 82

GasStation class program, 287

listener interface, 280

multiple pumps implementation using JEM, 262, 277–287

notification object, 279

pump class program, 282–283

PumpManager class, 278–279, 286

race condition, 281

source code, 82–85

state diagram, 82

Generic components, 131–132, 410, See also Reuse

Generic data types, 130–131

Generic reuse, 129, 305, See Reuse

Getters, 372

Graphical user interface (GUI), 16

chat program, 403

further reading, 222

generic reuse, 305

threads, See GUI threads

Graphics object, 110, 214

Grep, 375

gt method, 139–141, 143–145

GUI, See Graphical user interface

GUI threads

animator, 204–205, 208–209, 231, See also Animator

button objects, 13–14

constraints for decoupled controller design, 298–299

cooperative synchronization, 231, 234–235, 237–240

Fibonacci number-calculating program, 3–6

JFrame and, 189

simple animator program, 189, 192–193


 < Day Day Up > 

Категории