R

r format suffix, Printf-Style Date and Time Formatting
R format suffix, Printf-Style Date and Time Formatting
radio buttons, Checkboxes and Radio ButtonsCheckboxes 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 TypesRaw Types, Glossary
READ file open option, FileChannel
read locks, Read and write locksRead 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 InterfacesEvent 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 TypesReference Types, Glossary
reflection, Modifiers and SecurityModifiers and Security, Accessing FieldsAccessing Fields, Accessing MethodsAccessing Methods, Accessing Constructors, What About Arrays?, Accessing Generic Type Information, Accessing Annotation Data, Dynamic Interface AdaptersDynamic 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 FieldsAccessing Fields
accessing generic type information, Accessing Generic Type Information
accessing methods, Accessing MethodsAccessing Methods
arrays, What About Arrays?
BeanShell Java scripting language, The BeanShell Java scripting language
defined, Glossary
dynamic interface adapters, Dynamic Interface AdaptersDynamic Interface Adapters
modifiers and security, Modifiers and SecurityModifiers and Security
purpose of, What Is Reflection Good For?The BeanShell Java scripting language
regex API, PatternPattern, The MatcherThe Matcher, Splitting and tokenizing strings, Another look at ScannerAnother look at Scanner, Replacing textControlling the substitution, Our simple template engineOur simple template engine
Matcher, The MatcherThe Matcher
Pattern object, PatternPattern
replacing text, Replacing textControlling the substitution
Scanner class, Another look at ScannerAnother look at Scanner
simple template engine, Our simple template engineOur 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 charactersEscaped characters, Characters and character classesCharacters and character classes, Custom character classes, Position markersPosition markers, Iteration (multiplicity)Iteration (multiplicity), Grouping, Capture groupsCapture groups, Numbering, Alternation, Special options, GreedinessGreediness, Lookaheads and lookbehindsLookaheads and lookbehinds, PatternPattern, The MatcherThe Matcher, Splitting and tokenizing strings, Another look at ScannerAnother look at Scanner, Replacing textControlling the substitution, Our simple template engineOur simple template engine, Glossary
as added feature, The Past: Java 1.0–Java 1.6
defined, Glossary
java.util.regex API, PatternPattern, The MatcherThe Matcher, Splitting and tokenizing strings, Another look at ScannerAnother look at Scanner, Replacing textControlling the substitution, Our simple template engineOur simple template engine
Matcher, The MatcherThe Matcher
Pattern object, PatternPattern
replacing text, Replacing textControlling the substitution
Scanner class, Another look at ScannerAnother look at Scanner
simple template engine, Our simple template engineOur simple template engine
splitting and tokenizing strings, Splitting and tokenizing strings
regex notation, Write once, run away, Escaped charactersEscaped characters, Characters and character classesCharacters and character classes, Custom character classes, Position markersPosition markers, Iteration (multiplicity)Iteration (multiplicity), Grouping, Capture groupsCapture groups, Numbering, Alternation, Special options, GreedinessGreediness, Lookaheads and lookbehindsLookaheads and lookbehinds
alternation, Alternation
capture groups, Capture groupsCapture groups
characters and character classes, Characters and character classesCharacters and character classes
custom character classes, Custom character classes
escaped characters, Escaped charactersEscaped characters
greediness, GreedinessGreediness
grouping, Grouping
iteration (multiplicity), Iteration (multiplicity)Iteration (multiplicity)
lookaheads and lookbehinds, Lookaheads and lookbehindsLookaheads and lookbehinds
numbering, Numbering
position markers, Position markersPosition 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 VariablesShadowed Variables, Overriding MethodsReturn types and overridden methods, Special References: this and super, Special References: this and super, CastingCasting aspersions, Using Superclass ConstructorsUsing Superclass Constructors, Full Disclosure: Constructors and Initialization, Abstract Methods and ClassesAbstract Methods and Classes, Interfaces as CallbacksInterfaces as Callbacks, Interface VariablesFlag interfaces, SubinterfacesOverlapping and conflicting methods, Compilation UnitsCompilation Units, Package NamesPackage Names, Class Visibility, Importing ClassesStatic imports, Basic Access ModifiersBasic Access Modifiers, Subclasses and VisibilitySubclasses and Visibility, Interfaces and Visibility, Arrays and the Class HierarchyArrayStoreException, Inner Classes as AdaptersInner Classes as Adapters, Inner Classes Within MethodsSecurity implications
arrays and class hierarchy, Arrays and the Class HierarchyArrayStoreException
compilation units, Compilation UnitsCompilation Units
inner classes, Inner Classes as AdaptersInner Classes as Adapters, Inner Classes Within MethodsSecurity implications
as adapters, Inner Classes as AdaptersInner Classes as Adapters
within methods, Inner Classes Within MethodsSecurity implications
interfaces, Interfaces as CallbacksInterfaces as Callbacks, Interface VariablesFlag interfaces, SubinterfacesOverlapping and conflicting methods
as callbacks, Interfaces as CallbacksInterfaces as Callbacks
interface variables, Interface VariablesFlag interfaces
subinterfaces, SubinterfacesOverlapping and conflicting methods
packages, Package NamesPackage Names, Class Visibility, Importing ClassesStatic imports
class visibility, Class Visibility
importing classes, Importing ClassesStatic imports
package names, Package NamesPackage Names
subclassing and inheritance, Shadowed VariablesShadowed Variables, Overriding MethodsReturn types and overridden methods, Special References: this and super, Special References: this and super, CastingCasting aspersions, Using Superclass ConstructorsUsing Superclass Constructors, Full Disclosure: Constructors and Initialization, Abstract Methods and ClassesAbstract Methods and Classes
abstract methods and classes, Abstract Methods and ClassesAbstract Methods and Classes
casting, CastingCasting aspersions
constructors and initialization, Full Disclosure: Constructors and Initialization
overriding methods, Overriding MethodsReturn types and overridden methods
shadowed variables, Shadowed VariablesShadowed Variables
super reference, Special References: this and super
superclass constructors, Using Superclass ConstructorsUsing Superclass Constructors
this reference, Special References: this and super
visibility of variables and methods, Basic Access ModifiersBasic Access Modifiers, Subclasses and VisibilitySubclasses and Visibility, Interfaces and Visibility
basic access modifiers, Basic Access ModifiersBasic Access Modifiers
interfaces and, Interfaces and Visibility
subclasses and, Subclasses and VisibilitySubclasses and Visibility
relative positioning, Relative PositioningRelative Positioning
release() method, Semaphore
reloadClasses() command, BeanShell Commands
reloading, Reloading web appsReloading web apps
remainder operator, Operators
Remote interface, Remote interfaces
remote method invocation, A Modern Language, Remote Method InvocationRMI 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 renderingTransformations 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 textControlling the substitution
requestFocus() method, Focus, Please, Focus Events
requestFocusInWindow() method, Focus Events
RescaleOp class, Filtering Image Data, Using the RescaleOp ClassUsing 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 BundlesResource Bundles
resource paths, Resource PathsResource Paths
ResourceBundle class, Resource Bundles
resources, deallocating, Try with ResourcesTry 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 methodsReturn types and overridden methods
revalidate() method, The revalidate() and doLayout() MethodsThe 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 interfacesRemote interfaces, Exporting remote objectsExporting remote objects, The RMI registryThe RMI registry, Running the exampleRunning the example, Dynamic class loadingDynamic class loading, Passing remote object referencesPassing remote object references, RMI and CORBARMI and CORBA, Glossary
and COBRA, RMI and CORBARMI and CORBA
defined, The Present: Java 7
example, Running the exampleRunning the example, Dynamic class loadingDynamic class loading, Passing remote object referencesPassing remote object references
dynamic class loading, Dynamic class loadingDynamic class loading
passing remote object references, Passing remote object referencesPassing remote object references
running example, Running the exampleRunning the example
remote and nonremote objects, Remote interfacesRemote interfaces, Exporting remote objectsExporting remote objects, The RMI registryThe RMI registry
exporting remote objects, Exporting remote objectsExporting remote objects
remote interfaces, Remote interfacesRemote interfaces
RMI registry, The RMI registryThe 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 RolesProtecting 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 ColumnsSpanning Rows and Columns
RPC (remote procedure calls), Remote Method Invocation
RTF files, HTML and RTF for FreeHTML and RTF for Free
Ruby, Java Compared with Other Languages
run() command, BeanShell, BeanShell Commands
run() method, The Thread ClassRunning 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 safetyLegacy 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