G
- g conversion character, Primitive and Numeric Conversions
- G conversion character, Primitive and Numeric Conversions
- Gamma, Objects in Java
- garbage collection, Dynamic Memory Management–Dynamic Memory Management, Garbage Collection–Garbage Collection, Finalization, Glossary
- defined, Glossary
- and finalize()
method, Finalization
- in Java, Dynamic Memory Management–Dynamic Memory Management
- gc() method method, Garbage Collection
- generics, The Past: Java 1.0–Java 1.6, Reference Types, Containers: Building a Better Mousetrap–Can Containers Be Fixed?, Enter Generics–Talking About Types, Enter Generics, Talking About Types, Erasure–Erasure, Raw Types–Raw Types, Raw Types, Parameterized Type Relationships–Why Isn’t a List<Date> a List<Object>?, Parameterized Type Relationships, Casts–Casts, The Type Variable–The Type Variable, Subclassing Generics–Subclassing Generics, Exceptions and Generics–No generic throwables, Parameter Type Limitations–Using Class<T>, Bounds–Erasure and Bounds (Working with Legacy Code), A Supertype of All Instantiations, Bounded Wildcards–Bounded Wildcards, Thinking Outside the Container–Thinking Outside the Container, Lower Bounds–Lower Bounds, Reading, Writing, and Arithmetic–Reading, Writing, and Arithmetic, <?>, <Object>, and the Raw Type, <?>, <Object>, and the Raw Type, <?>, <Object>, and the Raw Type, Wildcard Type Relationships–Wildcard Type Relationships, Generic Methods Introduced–Generic Methods Introduced, Type Inference from Arguments–Type Inference from Arguments, Type Inference from Assignment Context–Type Inference from Assignment Context, Explicit Type Invocation, Wildcard Capture–Wildcard Capture, Wildcard Types Versus Generic Methods, Using Array Types–Using Array Types, What Good Are Arrays of Generic Types?, Wildcards in Array Types–Wildcards in Array Types, Case Study: The Enum Class–Case Study: The Enum Class, Case Study: The sort() Method–Case Study: The sort() Method, Generics and collections, Glossary, Glossary, Glossary
- as added feature, The Past: Java 1.0–Java 1.6
- and collections, Generics and collections
- arrays of parameterized types, Using Array Types–Using Array Types, What Good Are Arrays of Generic Types?, Wildcards in Array Types–Wildcards in Array Types
- purpose of, What Good Are Arrays of Generic Types?
- using array types, Using Array Types–Using Array Types
- wildcards in array types, Wildcards in Array Types–Wildcards in Array Types
- bounds, Bounds–Erasure and Bounds (Working with Legacy Code)
- casts, Casts–Casts
- containers, Containers: Building a Better Mousetrap–Can Containers Be Fixed?
- defined, Glossary
- Enum class, Case Study: The Enum Class–Case Study: The Enum Class
- erasure, Erasure–Erasure
- generic classes, Raw Types, Parameterized Type Relationships, Glossary
- compatibility with raw types, Raw Types
- defined, Glossary
- one-dimensional inheritance, Parameterized Type Relationships
- generic classes, writing, The Type Variable–The Type Variable, Subclassing Generics–Subclassing Generics, Exceptions and Generics–No generic throwables, Parameter Type Limitations–Using Class<T>
- exceptions and generics, Exceptions and Generics–No generic throwables
- parameter type limitations, Parameter Type Limitations–Using Class<T>
- subclassing generics, Subclassing Generics–Subclassing Generics
- type variable, The Type Variable–The Type Variable
- generic methods, Generic Methods Introduced–Generic Methods Introduced, Type Inference from Arguments–Type Inference from Arguments, Type Inference from Assignment Context–Type Inference from Assignment Context, Explicit Type Invocation, Wildcard Capture–Wildcard Capture, Wildcard Types Versus Generic Methods, Glossary
- defined, Glossary
- explicit type invocation, Explicit Type Invocation
- overview, Generic Methods Introduced–Generic Methods Introduced
- type inference from arguments, Type Inference from Arguments–Type Inference from Arguments
- type inference from assignment context, Type Inference from Assignment Context–Type Inference from Assignment Context
- vs. wildcard types, Wildcard Types Versus Generic Methods
- wildcard capture, Wildcard Capture–Wildcard Capture
- overview, Enter Generics–Talking About Types
- parameterized type relationships, Parameterized Type Relationships–Why Isn’t a List<Date> a List<Object>?
- raw types, Raw Types–Raw Types
- sort( ) method, Case Study: The sort() Method–Case Study: The sort() Method
- type inference, Enter Generics
- types, Reference Types, Talking About Types
- wildcards, A Supertype of All Instantiations, Bounded Wildcards–Bounded Wildcards, Thinking Outside the Container–Thinking Outside the Container, Lower Bounds–Lower Bounds, Reading, Writing, and Arithmetic–Reading, Writing, and Arithmetic, <?>, <Object>, and the Raw Type, <?>, <Object>, and the Raw Type, <?>, <Object>, and the Raw Type, Wildcard Type Relationships–Wildcard Type Relationships
- <?>, <?>, <Object>, and the Raw Type
- <Object>, <?>, <Object>, and the Raw Type
- bounded, Bounded Wildcards–Bounded Wildcards
- lower bounds, Lower Bounds–Lower Bounds
- raw type, <?>, <Object>, and the Raw Type
- supertype of all instantiations, A Supertype of All Instantiations
- thinking outside the container, Thinking Outside the Container–Thinking Outside the Container
- using, Reading, Writing, and Arithmetic–Reading, Writing, and Arithmetic
- wildcard type relationships, Wildcard Type Relationships–Wildcard Type Relationships
- GET method, The TinyHttpd Server, Talking to Web Applications, Using the GET Method, Servlets
- get() method, Accessing Fields, Working with Calendars, List, The Map Interface, Buffer operations
- ByteBuffer class, Buffer operations
- Calendar class, Working with Calendars
- List interface, List
- Map interface, The Map Interface
- GET-style encoding, GET, POST, and “extra path”
- getAbsolutePath() method, File operations, File operations
- getActionCommand() method, Buttons and Labels
- getAffectedArea() method, Limiting Drawing with Clipping
- getAndIncrement() method, Atomic Operations
- getAndSet() method, Atomic Operations
- getApplet() method, Inter-applet communication
- getAppletContext() method, Driving the browser
- getApplets() method, Inter-applet communication
- getAscent() method, Font Metrics
- getAttribute() method, NIO File Operations, The ServletContext API, The DOM API, Test-Driving DOM
- getAudioClip() method, Applet resources
- getAuthType() method, Procedural Authorization
- getAvailableIDs() method, Time Zones
- getAvailableLocales() method, The java.util.Locale Class
- getBackground() method, Other Component Methods
- getBoolean() method, Accessing Fields
- getBuffer() method, Streams from Strings and Back
- getBundle() method, Resource Bundles
- getByName() method, The HeartBeat applet code, InetAddress
- getBytes() method, String Method Summary
- getCanonicalPath() method, File operations, File operations
- getCause() method, Chaining and rethrowing exceptions
- getChars() method, String Method Summary
- getChild() method, JDOM
- getChildNodes() method, The DOM API
- getChildren() method, JDOM
- getChildText() method, JDOM
- getClass() method, The Class Class, Reflection, Resource Paths
- getClip() method, Transformations and rendering
- getColor() method, Solid Colors, Using Fonts
- getColumnClass() method, Round Two: Creating a Table Model
- getColumnCount() method, Round Two: Creating a Table Model, Round Three: A Simple Spreadsheet
- getColumnName() method, Round Two: Creating a Table Model
- getComponentAt() method, Managing Components
- getComponents() method, Managing Components
- getConstructor() method, Reflection
- getConstructors() method, Reflection, Reflection
- getContent() method, Getting the Content as an Object, Getting the Content as an Object
- getContentEncoding() method, The HttpURLConnection
- getContentLength() method, The HttpURLConnection
- getContents() method, Resource Bundles
- getContentType() method, Managing Connections, The HttpURLConnection
- getCookies() method, Cookies
- getCurrencyInstance() method, Formatting with the java.text Package
- getCursor() method, Other Component Methods
- getDateInstance() method, Parsing and Formatting with DateFormat
- getDateTimeInstance() method, Parsing and Formatting with DateFormat, Parsing and Formatting with DateFormat
- getDeclaredClasses() method, Reflection
- getDeclaredConstructor() method, Reflection
- getDeclaredConstructors() method, Reflection, Reflection
- getDeclaredField() method, Reflection
- getDeclaredFields() method, Reflection, Reflection
- getDeclaredMethod() method, Reflection
- getDeclaredMethods() method, Reflection
- getDefault() method, The java.util.Locale Class, ProxySelector
- getDescent() method, Font Metrics
- getDocumentBase() method, Applet resources
- getDocumentElement() method, Test-Driving DOM
- getElementbyTagName() method, Test-Driving DOM
- getElementsByTagName() method method, The DOM API
- getEventSetDescriptors() method, Getting events information
- getExponent() method, Floating-Point Components
- getExtraPath() method, GET, POST, and “extra path”
- getFamily() method, Using Fonts
- getField() method, Reflection
- getFields() method, Reflection, Reflection
- getFile() methods, The URL Class
- getFileAttributeView() method, NIO File Operations
- getFilePointer() method, RandomAccessFile
- getFileStore() method, NIO File Operations
- getFirstChild() method, The DOM API
- getFont() method, Using Fonts
- getFontName() method, Using Fonts
- getForeground() method, Other Component Methods
- getFreeSpace() method, File operations
- getHeaderField() method, The HttpURLConnection
- getHeaderFieldDate() method, The HttpURLConnection
- getHeaderFieldInt() method, The HttpURLConnection
- getHeight() method, Font Metrics, ImageObserver
- getHost() method, The HeartBeat applet code, The URL Class
- getHours() method, Object creation
- getIcon() method, Supplying icons
- getIconImage() method, Other Methods for Controlling Frames
- getImage() method, The Image Class, Image Observers, ImageObserver, Applet resources
- getImageLoadStatus() method, ImageIcon
- getInsets() method, Insets
- getInstanceOf() method, Bean Instantiation and Type Management
- getInt() method, Accessing Fields
- getInterfaces() method, Reflection
- getLastChild() method, The DOM API
- getLastModified() method, The HttpURLConnection
- getLastModifiedTime() method, NIO File Operations
- getLeading() method, Font Metrics
- getLineMetrics() method, Font Metrics
- getLogger() method, Loggers
- getMaximumSize() method, Layout Managers, Layout Managers
- getMediaTracker() method, ImageIcon
- getMessage() method, Throwing Exceptions
- getMethod() method, Reflection
- getMethods() method, Reflection
- getMinimumSize() method, Layout Managers, Layout Managers
- getModifiers() method, Modifiers and Security, Mouse and Key Modifiers on InputEvents
- getName() method, File operations, File operations, Other Component Methods, Using Fonts
- getNextEntry() method, Decompressing Data
- getNodeValue() method, The DOM API
- getNumberInstance() method, Formatting with the java.text Package
- getOppositeComponent() method, Focus Events
- getOutputStream() method, Clients, Content type
- getOwner() method, Conditions, NIO File Operations
- getParameter() method, GET, POST, and “extra path”, Applet parameters
- getParameterMap() method, The ShowParameters Servlet
- getParent() method, File operations, File operations
- getPassword() method, Say the Magic Word
- getPath() method, File operations, File operations
- getPercentInstance() method, Formatting with the java.text Package
- getPosixFilePermissions() method, NIO File Operations
- getPreferredSize() method, Other Component Methods, Layout Managers, Layout Managers
- getProperties() method, System Properties
- getProperty() method, System Properties, Properties
- getPropertyDescriptors() method, Getting Properties Information
- getProtocol() method, The URL Class
- getReadLockCount() method, Conditions
- getRequestURI() method, The ShowParameters Servlet
- getResource() method, JAR Files, Resource Paths, Applet resources
- getResourceAsStream() method, Resource Paths, Applet resources
- getResourcePaths() method, The ServletContext API
- getResponseCode() method, Using the POST Method
- getRowCount() method, Round Two: Creating a Table Model, Round Three: A Simple Spreadsheet
- getScaledInstance() method, Scaling and Size
- getSelectedText() method, The TextEntryBox Application
- getSelectedValues() method, Lists and Combo Boxes
- getSelection() method, Checkboxes and Radio Buttons
- getSession() method, The ShowSession Servlet
- getSize() method, Other Component Methods, Using Fonts
- getSource() method, More Events and Interfaces, Enabling and Disabling Components
- getStackTrace() method, Stack Traces
- getState() method, Thread State
- getStream() method, Applet persistence and navigation
- getStringBounds() method, Font Metrics, Font Metrics
- getStyle() method, Using Fonts
- getTcpNoDelay() method, TCP_NODELAY
- getText() method, The TextEntryBox Application
- getTextContent() method, The DOM API
- getTime() method, Working with Calendars
- getTimeInstance() method, Parsing and Formatting with DateFormat
- getTotalSpace() method, File operations
- getUseableSpace() method, File operations
- getUserPrincipal() method, Procedural Authorization
- getValue() method, Formatted Text
- getValueAt() method, Round Two: Creating a Table Model, Round Three: A Simple Spreadsheet
- getWheelRotation() method, Mouse-wheel events
- getWidth() method, ImageObserver
- getWriter() method, Pipes
- getWriterFormatNames() method, Saving Image Data
- global field, Loggers
- glyphs, Drawing Text
- Google Web Toolkit, Google Web Toolkit–Google Web Toolkit
- Gosling Emacs, Java’s Origins
- Gosling, James, Enter Java
- GradientPaint class, Color Gradients
- graphical user interface (GUI), Glossary
- Graphics class, HelloComponent
- graphics context, Glossary
- greediness, Greediness–Greediness
- GREEN value, Static Members
- GregorianCalendar class, Dates and Times
- grep command line utility, XMLGrep
- grid coordinates, Grid Coordinates–Grid Coordinates
- GridBagConstraints class, The GridBagConstraints Class–The GridBagConstraints Class
- GridBagLayout class, Layout Managers, The GridBagConstraints Class–The GridBagConstraints Class, Grid Coordinates–Grid Coordinates, The fill Constraint–The fill Constraint, Spanning Rows and Columns–Spanning Rows and Columns, Weighting–Calculating the weights of rows and columns, Anchoring–Anchoring, Padding and Insets–Padding and Insets, Relative Positioning–Relative Positioning, Composite Layouts–Composite Layouts
- anchoring, Anchoring–Anchoring
- composite layouts, Composite Layouts–Composite Layouts
- fill constraint, The fill Constraint–The fill Constraint
- grid coordinates, Grid Coordinates–Grid Coordinates
- GridBagConstraints class, The GridBagConstraints Class–The GridBagConstraints Class
- padding and insets, Padding and Insets–Padding and Insets
- relative positioning, Relative Positioning–Relative Positioning
- spanning rows and columns, Spanning Rows and Columns–Spanning Rows and Columns
- weighting, Weighting–Calculating the weights of rows and columns
- gridheight variable, The GridBagConstraints Class, Spanning Rows and Columns
- GridLayout class, Layout Managers, GridLayout–GridLayout
- gridwidth variable, The GridBagConstraints Class, Spanning Rows and Columns
- gridx variable, The GridBagConstraints Class, Grid Coordinates, Relative Positioning
- gridy variable, The GridBagConstraints Class, Grid Coordinates, Relative Positioning
- group() method, The Matcher
- groupCount() method, The Matcher
- grouping, Grouping–Grouping
- GUI (graphical user interface), Glossary
- .gz files, Decompressing Data
- GZIPInputStream, Decompressing Data
- GZIPOutputStream, Archives and Compressed Data