R
- r format suffix, Printf-Style Date and Time Formatting
- R format suffix, Printf-Style Date and Time Formatting
- radio buttons, Checkboxes and Radio Buttons–Checkboxes and Radio Buttons
- Random class, Random Numbers
- random() method, The java.lang.Math Class
- RandomAccessFile class, RandomAccessFile
- Raster class, BufferedImage Anatomy, Updating a BufferedImage
- raw types, Raw Types–Raw Types, Glossary
- READ file open option, FileChannel
- read locks, Read and write locks–Read and write locks
- read() method, Basic I/O, Buffered streams
- read-mostly (copy-on-write) collections, Copy-on-write (“read-mostly”) collections
- read-only and read-mostly collections, Read-Only and Read-Mostly Collections
- readAllBytes() method, NIO File Operations
- readAllLines() method, NIO File Operations
- readAttributes() method, NIO File Operations
- readDouble() method, Data streams
- Reader class, Streams, Character Streams
- readInt() method, author="pat” timestamp="20120926T110720-0500”
comment="one of those sections I hate to get rid of but is less relevant
in terms of the example... should probably find a more modern
example...”The DateAtHost Client
- readLine() method, Character Streams, Pipes
- readObject() method, Initialization with readObject()–Initialization with readObject()
- readSymbolicLink() method, NIO File Operations
- readUTF() method, Data streams
- ReadWriteLock interface, Read and write locks
- readySet() method, Using Select
- READ_ONLY identifier, Memory-mapped files
- READ_WRITE identifier, Memory-mapped files
- receivers, Event Receivers and Listener Interfaces–Event Receivers and Listener Interfaces
- Rectangle class, Filling Shapes
- RED value, Static Members
- reentrant locking, Reentrant locking
- ref attribute, XML Schema
- reference, Variables and Class Types, Reference Types
- Reference class, Weak and Soft References
- reference types, Reference Types–Reference Types, Glossary
- reflection, Modifiers and Security–Modifiers and Security, Accessing Fields–Accessing Fields, Accessing Methods–Accessing Methods, Accessing Constructors, What About Arrays?, Accessing Generic Type Information, Accessing Annotation Data, Dynamic Interface Adapters–Dynamic Interface Adapters, What Is Reflection Good For?–The BeanShell Java scripting language, The BeanShell Java scripting language, Glossary
- accessing annotation data, Accessing Annotation Data
- accessing constructors, Accessing Constructors
- accessing fields, Accessing Fields–Accessing Fields
- accessing generic type information, Accessing Generic Type Information
- accessing methods, Accessing Methods–Accessing Methods
- arrays, What About Arrays?
- BeanShell Java scripting language, The BeanShell Java scripting language
- defined, Glossary
- dynamic interface adapters, Dynamic Interface Adapters–Dynamic Interface Adapters
- modifiers and security, Modifiers and Security–Modifiers and Security
- purpose of, What Is Reflection Good For?–The BeanShell Java scripting language
- regex API, Pattern–Pattern, The Matcher–The Matcher, Splitting and tokenizing strings, Another look at Scanner–Another look at Scanner, Replacing text–Controlling the
substitution, Our simple template engine–Our simple template engine
- Matcher, The Matcher–The Matcher
- Pattern object, Pattern–Pattern
- replacing text, Replacing text–Controlling the
substitution
- Scanner class, Another look at Scanner–Another look at Scanner
- simple template engine, Our simple template engine–Our simple template engine
- splitting and tokenizing strings, Splitting and tokenizing strings
- regionMatches() method, String Method Summary
- register() method, Using Select
- regular expressions, The Past: Java 1.0–Java 1.6, Write once, run away, Escaped characters–Escaped characters, Characters and character classes–Characters and character classes, Custom character classes, Position markers–Position markers, Iteration (multiplicity)–Iteration (multiplicity), Grouping, Capture groups–Capture groups, Numbering, Alternation, Special options, Greediness–Greediness, Lookaheads and lookbehinds–Lookaheads and lookbehinds, Pattern–Pattern, The Matcher–The Matcher, Splitting and tokenizing strings, Another look at Scanner–Another look at Scanner, Replacing text–Controlling the
substitution, Our simple template engine–Our simple template engine, Glossary
- as added feature, The Past: Java 1.0–Java 1.6
- defined, Glossary
- java.util.regex API, Pattern–Pattern, The Matcher–The Matcher, Splitting and tokenizing strings, Another look at Scanner–Another look at Scanner, Replacing text–Controlling the
substitution, Our simple template engine–Our simple template engine
- Matcher, The Matcher–The Matcher
- Pattern object, Pattern–Pattern
- replacing text, Replacing text–Controlling the
substitution
- Scanner class, Another look at Scanner–Another look at Scanner
- simple template engine, Our simple template engine–Our simple template engine
- splitting and tokenizing strings, Splitting and tokenizing strings
- regex notation, Write once, run away, Escaped characters–Escaped characters, Characters and character classes–Characters and character classes, Custom character classes, Position markers–Position markers, Iteration (multiplicity)–Iteration (multiplicity), Grouping, Capture groups–Capture groups, Numbering, Alternation, Special options, Greediness–Greediness, Lookaheads and lookbehinds–Lookaheads and lookbehinds
- alternation, Alternation
- capture groups, Capture groups–Capture groups
- characters and character classes, Characters and character classes–Characters and character classes
- custom character classes, Custom character classes
- escaped characters, Escaped characters–Escaped characters
- greediness, Greediness–Greediness
- grouping, Grouping
- iteration (multiplicity), Iteration (multiplicity)–Iteration (multiplicity)
- lookaheads and lookbehinds, Lookaheads and lookbehinds–Lookaheads and lookbehinds
- numbering, Numbering
- position markers, Position markers–Position markers
- special options, Special options
- write once, run away, Write once, run away
- regular expressions (captured text), Using captured text in a
replacement
- reifiable type, Wildcards in Array Types
- relationships among classes, Shadowed Variables–Shadowed Variables, Overriding Methods–Return types and overridden methods, Special References: this and super, Special References: this and super, Casting–Casting aspersions, Using Superclass Constructors–Using Superclass Constructors, Full Disclosure: Constructors and Initialization, Abstract Methods and Classes–Abstract Methods and Classes, Interfaces as Callbacks–Interfaces as Callbacks, Interface Variables–Flag interfaces, Subinterfaces–Overlapping and conflicting methods, Compilation Units–Compilation Units, Package Names–Package Names, Class Visibility, Importing Classes–Static imports, Basic Access Modifiers–Basic Access Modifiers, Subclasses and Visibility–Subclasses and Visibility, Interfaces and Visibility, Arrays and the Class Hierarchy–ArrayStoreException, Inner Classes as Adapters–Inner Classes as Adapters, Inner Classes Within Methods–Security implications
- arrays and class hierarchy, Arrays and the Class Hierarchy–ArrayStoreException
- compilation units, Compilation Units–Compilation Units
- inner classes, Inner Classes as Adapters–Inner Classes as Adapters, Inner Classes Within Methods–Security implications
- as adapters, Inner Classes as Adapters–Inner Classes as Adapters
- within methods, Inner Classes Within Methods–Security implications
- interfaces, Interfaces as Callbacks–Interfaces as Callbacks, Interface Variables–Flag interfaces, Subinterfaces–Overlapping and conflicting methods
- as callbacks, Interfaces as Callbacks–Interfaces as Callbacks
- interface variables, Interface Variables–Flag interfaces
- subinterfaces, Subinterfaces–Overlapping and conflicting methods
- packages, Package Names–Package Names, Class Visibility, Importing Classes–Static imports
- class visibility, Class Visibility
- importing classes, Importing Classes–Static imports
- package names, Package Names–Package Names
- subclassing and inheritance, Shadowed Variables–Shadowed Variables, Overriding Methods–Return types and overridden methods, Special References: this and super, Special References: this and super, Casting–Casting aspersions, Using Superclass Constructors–Using Superclass Constructors, Full Disclosure: Constructors and Initialization, Abstract Methods and Classes–Abstract Methods and Classes
- abstract methods and classes, Abstract Methods and Classes–Abstract Methods and Classes
- casting, Casting–Casting aspersions
- constructors and initialization, Full Disclosure: Constructors and Initialization
- overriding methods, Overriding Methods–Return types and overridden methods
- shadowed variables, Shadowed Variables–Shadowed Variables
- super reference, Special References: this and super
- superclass constructors, Using Superclass Constructors–Using Superclass Constructors
- this reference, Special References: this and super
- visibility of variables and methods, Basic Access Modifiers–Basic Access Modifiers, Subclasses and Visibility–Subclasses and Visibility, Interfaces and Visibility
- basic access modifiers, Basic Access Modifiers–Basic Access Modifiers
- interfaces and, Interfaces and Visibility
- subclasses and, Subclasses and Visibility–Subclasses and Visibility
- relative positioning, Relative Positioning–Relative Positioning
- release() method, Semaphore
- reloadClasses() command, BeanShell Commands
- reloading, Reloading web apps–Reloading web apps
- remainder operator, Operators
- Remote interface, Remote interfaces
- remote method invocation, A Modern Language, Remote Method Invocation–RMI and CORBA (see RMI)
- remote procedure calls (RPC), Remote Method Invocation
- RemoteException class, Exceptions and Error Classes, Remote interfaces, An RMI Example
- remove() method, The Collection Interface, Iterator, List, Queue, The Map Interface, ConcurrentMap
- Collection interface, The Collection Interface
- ConcurrentMap interface, ConcurrentMap
- Iterator interface, Iterator
- List interface, List
- Map interface, The Map Interface
- Queue interface, Queue
- removeActionListener() method, Event Sources
- removeAll() method, The Collection Interface
- removeNode() method, Preferences Storage
- renameTo() method, File operations, File operations
- render() method, The Fork/Join framework
- rendering images, Transformations and rendering–Transformations and rendering
- RenderingHints class, Transformations and rendering
- repaint() method, The repaint() Method, Painting, The Big Picture, Image Observers, Limiting Drawing with Clipping
- RepaintManager class, Double Buffering
- replace() method, Editing, String Method Summary, StringBuilder and StringBuffer, ConcurrentMap, DocumentFilter
- ConcurrentMap interface, ConcurrentMap
- DocumentFilter class, DocumentFilter
- StringBuilder class, StringBuilder and StringBuffer
- replaceAll() method, Editing, String Method Summary, Replacing text
- replaceFirst() method, Editing, String Method Summary
- replacing text, Replacing text–Controlling the
substitution
- requestFocus() method, Focus, Please, Focus Events
- requestFocusInWindow() method, Focus Events
- RescaleOp class, Filtering Image Data, Using the RescaleOp Class–Using the RescaleOp Class
- reset() method, CyclicBarrier, The Matcher, Buffered streams, Buffer operations
- resetBuffer() method, The Servlet Response
- resolve() method, FileSystem and Path
- resolveSibling() method, FileSystem and Path
- resource bundles, Resource Bundles–Resource Bundles
- resource paths, Resource Paths–Resource Paths
- ResourceBundle class, Resource Bundles
- resources, deallocating, Try with Resources–Try with Resources
- resources, online, Online Resources
- resume() method, Deprecated methods, Working with ThreadGroups
- deprecated, Deprecated methods
- ThreadGroup class, Working with ThreadGroups
- @return
annotation, Javadoc Comments
- return keyword, The finally Clause, Methods
- return types, Return types and overridden methods–Return types and overridden methods
- revalidate() method, The revalidate() and doLayout() Methods–The revalidate() and doLayout() Methods, Layout Managers
- rewriting URLs, User Session Management
- Rich Music Format (RMF), Simple Audio
- right field, Insets
- RIGHT value, FlowLayout
- rint() method, The java.lang.Math Class
- RMF (Rich Music Format), Simple Audio
- RMI (remote method invocation), The Present: Java 7, Exceptions and Error Classes, Real-World Usage, Remote interfaces–Remote interfaces, Exporting remote objects–Exporting remote objects, The RMI registry–The RMI registry, Running the example–Running the example, Dynamic class loading–Dynamic class loading, Passing remote object references–Passing remote object references, RMI and CORBA–RMI and CORBA, Glossary
- and COBRA, RMI and CORBA–RMI and CORBA
- defined, The Present: Java 7
- example, Running the example–Running the example, Dynamic class loading–Dynamic class loading, Passing remote object references–Passing remote object references
- dynamic class loading, Dynamic class loading–Dynamic class loading
- passing remote object references, Passing remote object references–Passing remote object references
- running example, Running the example–Running the example
- remote and nonremote objects, Remote interfaces–Remote interfaces, Exporting remote objects–Exporting remote objects, The RMI registry–The RMI registry
- exporting remote objects, Exporting remote objects–Exporting remote objects
- remote interfaces, Remote interfaces–Remote interfaces
- RMI registry, The RMI registry–The RMI registry
- usage, Real-World Usage
- rmi: protocol, The RMI registry
- rmiregistry application, The RMI registry, Running the example, Dynamic class loading
- overview, The RMI registry
- starting, Running the example
- RMISecurityManager, Dynamic class loading, Dynamic class loading
- Robot class, The AWT Robot!
- roles, Protecting Resources with Roles–Protecting Resources with Roles
- @rolesAllowed annotation, Secure Data Transport
- roll() method, Working with Calendars
- root element, XML Documents
- rotate() method, The Rendering Pipeline
- rotateOnX() method, Molecular Motion
- rotateOnY() method, Molecular Motion
- round() method, The java.lang.Math Class, The java.lang.Math Class
- rows, spanning, Spanning Rows and Columns–Spanning Rows and Columns
- RPC (remote procedure calls), Remote Method Invocation
- RTF files, HTML and RTF for Free–HTML and RTF for Free
- Ruby, Java Compared with Other Languages
- run() command, BeanShell, BeanShell Commands
- run() method, The Thread Class–Running Code in the Thread, The Thread Class and the Runnable Interface, A natural-born thread, Passing Messages
- Runnable interface, The Runnable Interface, The Thread Class and the Runnable Interface, A natural-born thread, Threading an Applet
- RUNNABLE thread state, Thread State
- running flag, Issues Lurking
- runtime type safety, Legacy code and runtime type safety–Legacy code and runtime type safety
- runtime, absence of generics in, Why Isn’t a List<Date> a List<Object>?
- RuntimeException class, Exceptions and Error Classes