P
- p format suffix, Printf-Style Date and Time Formatting
- -p switch, Generating a Java Model from an XML Schema
- <p> tag, HTML to XHTML
- P2P (peer-to-peer), Nonblocking Client-Side Operations
- pack() method, Content Panes, Layout Managers
- pack200 format, The pack200 Utility
- package annotations, Package annotations
- Package Explorer, Eclipse, Using Eclipse
- package-info.java file, Package annotations
- packages, Simplify, Simplify, Simplify..., Package and Imports–Package and Imports, Package and Imports, Packages and Compilation Units, Compilation Units, Package Names, Class Visibility, The unnamed package, Static imports, Glossary
- class visibility, Class Visibility
- defined, Simplify, Simplify, Simplify..., Packages and Compilation Units, Glossary
- in HelloJava
application, Package and Imports–Package and Imports
- importing classes, The unnamed package, Static imports
- static imports, Static imports
- unnamed package, The unnamed package
- naming of, Package and Imports
- package names, Package Names
- statement, Compilation Units
- padding, Padding and Insets–Padding and Insets
- page-oriented Web applications, Page-Oriented Versus “Single Page” Applications–Page-Oriented Versus “Single Page” Applications
- paint() method, Threads, The Fork/Join framework, Painting, The Big Picture, The Big Picture, The JApplet Class
- using Fork/Join framework
with, The Fork/Join framework
- JApplet class, The JApplet Class
- and Swing, Painting
- and threads, Threads
- paintComponent() method, HelloComponent, The JComponent Class, The paintComponent() Method–The paintComponent() Method, Painting
- painting, Painting–Painting
- parallelism, Threads
- @param
annotation, Javadoc Comments
- <param> element, Applet parameters, Parameters, Glossary
- parameter type, Parameter Type Limitations–Using Class<T>
- parameterized types, Reference Types, Generics, Parameterized Type Relationships–Why Isn’t a List<Date> a List<Object>?, Using Array Types–Using Array Types, What Good Are Arrays of Generic Types?, Glossary
- arrays of, Using Array Types–Using Array Types, What Good Are Arrays of Generic Types?
- purpose of, What Good Are Arrays of Generic Types?
- using array types, Using Array Types–Using Array Types
- defined, Reference Types, Generics, Glossary
- relationships, Parameterized Type Relationships–Why Isn’t a List<Date> a List<Object>?
- parameters, Variables and Class Types, Raw Types
- _parent value, Driving the browser
- parent() method, Functions
- parentheses (), Flags, Escaped characters, Grouping
- parse attribute, XInclude
- parse() method, Parsing and Formatting with DateFormat
- ParseException, Throwing Exceptions, Parsing and Formatting with DateFormat
- parser, A Universal Parser
- parsing, Parsing and Formatting Text–StringTokenizer, Parsing and Formatting with DateFormat–Parsing and Formatting with DateFormat
- with DateFormat, Parsing and Formatting with DateFormat–Parsing and Formatting with DateFormat
- text, Parsing and Formatting Text–StringTokenizer
- passwords, Say the Magic Word–Say the Magic Word
- path, JDK Environment, The Classpath
- adding directory to, JDK Environment
- defined, The Classpath
- Path class, FileSystem and Path–Path to classic file and back
- PATH environment variable, The Classpath
- path property, System Properties
- Pattern class, Pattern–Pattern
- #PCDATA identifier, DTDs
- peek method, Queue
- peek() method, Queue
- peekFirst() method, Queue
- peekLast() method, Queue
- peer-to-peer (P2P), Nonblocking Client-Side Operations
- peerless components, Peers and Look-and-Feel–Peers and Look-and-Feel
- percent sign (%), Operators, The Format String, Miscellaneous
- performance, A Virtual Machine–A Virtual Machine, Performance Issues, Performance Issues
- and compilation, A Virtual Machine–A Virtual Machine
- issues, Performance Issues
- throwing exceptions, Performance Issues
- Perl, Java Compared with Other Languages
- Phaser utility, author="pat” timestamp="20120806T231934-0500”
comment="I'm not sure if we need to recast our example using
Phaser or replace it... I think Phaser pretty much replaces
CyclicBarrier, but it is only in Java 7... so normally we'd
show both... but they are very similar... Also I'm tired
:)”Phaser
- PI value, The java.lang.Math Class
- Pipe class, Selectable Channels
- PipedInputStream class, Pipes
- PipedOutputStream class, Pipes
- PipedReader class, Pipes
- PipedWriter class, Pipes
- pipes, Pipes–Pipes
- Plain Old Java Objects (POJOs), Enterprise JavaBeans and POJO-Based Enterprise Frameworks–Enterprise JavaBeans and POJO-Based Enterprise Frameworks
- PLAIN style identifier, Using Fonts
- platforms using Java, Growing Up
- play() method, Simple Audio
- Player interface, Java Media Framework
- plug-in, Glossary
- plus sign (+) operator, A Word About Strings, Operators, Constructing Strings, Flags, Escaped characters, Iteration (multiplicity)
- concatenating strings, Constructing Strings
- formatting strings, Flags
- in regular
expressions, Escaped characters, Iteration (multiplicity)
- POJOs (Plain Old Java Objects), Enterprise JavaBeans and POJO-Based Enterprise Frameworks–Enterprise JavaBeans and POJO-Based Enterprise Frameworks
- policy files, The Default Security Manager, The policytool Utility–The policytool Utility, Using a Policy File with the Default Security Manager
- default security manager, The Default Security Manager, Using a Policy File with the Default Security Manager
- policytool utility, The policytool Utility–The policytool Utility
- poll() method, CompletionService, Queue, Queue, BlockingQueue, Watching Paths
- pollFirst() method, Queue
- pollLast() method, Queue
- Polygon class, Filling Shapes
- polymorphism, Inheritance, Method Overloading, Glossary
- pop-up menus, Pop-Up Menus–Component-Managed Pop Ups
- popupMenuCanceled() method, Event Summary
- PopupMenuEvent class, Event Summary
- popupMenuWill-BecomeInvisible() method, Event Summary
- popupMenuWill-BecomeVisible() method, Event Summary
- portability of Java, A Virtual Machine, Java Compared with Other Languages
- position markers, Position markers–Position markers
- position() method, Buffer operations
- POSITIVE_INFINITY value, Math Utilities
- POST method, Talking to Web Applications, Using the POST Method–Using the POST Method, Servlets
- post-conditions, Using Assertions
- POSTencoding, GET, POST, and “extra path”
- postVisitDirectory() method, Directory Operations
- pow() method, The java.lang.Math Class, The java.lang.Math Class
- precision field, The Format String
- preconditions, Using Assertions
- predicates, Predicates–Predicates
- PreferenceChangeListener interface, Change Notification
- Preferences API, Preferences for Classes, Preferences Storage, Change Notification–Change Notification, Glossary
- change notification, Change Notification–Change Notification
- defined, Glossary
- preferences for classes, Preferences for Classes
- preferences storage, Preferences Storage
- Preferences class, Preferences Storage
- prefs.xml file, Preferences Storage
- preloading images, Preloading images
- prepareImage() method, ImageObserver
- prerequisites, Who Should Read This Book–Who Should Read This Book
- preVisitDirectory() method, Directory Operations
- primitive and numeric conversions, Primitive and Numeric Conversions–Primitive and Numeric Conversions
- primitive numbers, Parsing Primitive Numbers–Number formats
- primitive operators, Operators
- primitive types, Floating-point precision, Variable declaration and initialization–Variable declaration and initialization, Integer literals–Integer literals, Floating-point literals, Binary literals, Character literals, Wrappers for Primitive Types–Wrappers for Primitive Types, Autoboxing and Unboxing of Primitives–Performance implications of boxing, Glossary
- autoboxing and unboxing of, Autoboxing and Unboxing of Primitives–Performance implications of boxing
- binary literals, Binary literals
- character literals, Character literals
- defined, Glossary
- floating-point literals, Floating-point literals
- floating-point precision, Floating-point precision
- integer literals, Integer literals–Integer literals
- variable declaration and initialization, Variable declaration and initialization–Variable declaration and initialization
- wrappers for, Wrappers for Primitive Types–Wrappers for Primitive Types
- Principal class, Procedural Authorization
- print() command, BeanShell, BeanShell Commands
- print() method, Method Overloading, Printing
- Printable interface, Printing
- printDialog() method, Printing
- printf() method, Variable-Length Argument Lists, PrintWriter and PrintStream, Glossary
- printf-style formatting, Formatter, The Format String–The Format String, Width, precision, and justification–Width, precision, and justification, Uppercase, Numbered arguments–Numbered arguments, Primitive and Numeric Conversions–Primitive and Numeric Conversions, Flags–Flags, Miscellaneous, Printf-Style Date and Time Formatting–Printf-Style Date and Time Formatting
- date and time, Printf-Style Date and Time Formatting–Printf-Style Date and Time Formatting
- flags, Flags–Flags
- format string, The Format String–The Format String
- Formatter class, Formatter
- miscellaneous, Miscellaneous
- primitive and numeric conversions, Primitive and Numeric Conversions–Primitive and Numeric Conversions
- string conversions, Width, precision, and justification–Width, precision, and justification, Uppercase, Numbered arguments–Numbered arguments
- numbered arguments, Numbered arguments–Numbered arguments
- uppercase, Uppercase
- width, precision, and justification, Width, precision, and justification–Width, precision, and justification
- printing, Printing–Printing
- println() method, HelloJava, HelloJava
- printStackTrace() method, Stack Traces
- PrintStream class, Method Overloading, Formatter, PrintWriter and PrintStream–PrintWriter and PrintStream
- PrintWriter class, Formatter, PrintWriter and PrintStream–PrintWriter and PrintStream, Streams from Strings and Back
- PriorityBlockingQueue class, Java Collections implementations
- PriorityQueue class, Java Collections implementations
- private keyword, Safety of Implementation, The paintComponent() Method, Our Color Methods, Accessing Fields and Methods, Constructors, Subclassing and Inheritance, Basic Access Modifiers, Basic Access Modifiers, Static inner classes, Glossary
- for constructors, Constructors
- defined, The paintComponent() Method, Glossary
- for inner classes, Static inner classes
- overview, Basic Access Modifiers, Basic Access Modifiers
- and subclass
inheritance, Subclassing and Inheritance
- private methods, Subclasses and Visibility
- probeContentType() method, NIO File Operations
- problems area, Eclipse, The Lay of the Land
- procedural authorization, Procedural Authorization–Procedural Authorization
- process, Threads
- programming for Web, A Modern Language (see Web, programming for)
- promotion of data types, Integer literals
- properties, Loading and Storing–Loading and Storing, System Properties–System Properties
- loading and storing, Loading and Storing–Loading and Storing
- system properties, System Properties–System Properties
- Properties class, Properties
- <property>
element, A Development-Oriented Directory Layout
- PropertyChangeEvents, Constraining Properties, Constraining Properties
- propertyNames() method, Properties
- PropertyResourceBundle class, Resource Bundles
- propietary software, Java’s Origins–Java’s Origins
- protected keyword, Accessing Fields and Methods, Constructors, Basic Access Modifiers, Subclasses and Visibility, Static inner classes, Glossary
- for constructors, Constructors
- defined, Glossary
- for inner classes, Static inner classes
- overview, Basic Access Modifiers
- and subclasses, Subclasses and Visibility
- protocol handler, The URL Class, Glossary
- protocol, defined, Uniform Resource Locators (URLs)
- proxies, Proxies and Firewalls–ProxySelector
- Proxy class, Dynamic Interface Adapters, How it works
- proxyHost property, Proxies and Firewalls
- proxyPort property, Proxies and Firewalls
- ProxySelector class, ProxySelector–ProxySelector
- public keyword, The paintComponent() Method, Running Java Applications, Accessing Fields and Methods, Constructors, Interfaces, Basic Access Modifiers, Basic Access Modifiers, Interfaces and Visibility, Static inner classes, Glossary
- for constructors, Constructors
- defined, The paintComponent() Method, Glossary
- for inner classes, Static inner classes
- and interface
methods, Interfaces
- and interfaces, Interfaces and Visibility
- and main() method, Running Java Applications
- overview, Basic Access Modifiers, Basic Access Modifiers
- public methods, Subclasses and Visibility
- public-key cryptography, Glossary
- Pulse server code, The Pulse server code–The Pulse server code
- put() method, Configuring Eclipse and Creating a Project–Importing the Learning Java Examples, BlockingQueue, The Map Interface, Buffer operations
- putIfAbsent() method, ConcurrentMap
- putNextEntry() method, Zip archives
- pwd() command, BeanShell Commands
- Python, Java Compared with Other Languages