Java In A Nutshell, 5th Edition

Index

[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [Q] [R] [S] [T] [U] [V] [W] [X] [Y] [Z]

sameFile( ) (URL)

sandbox

SAX (Simple API for XML) 2nd

        javax.xml.transform package

        javax.xml.transform.sax package

        org.xml.sax package

        org.xml.sax.ext package

        org.xml.sax.helpers package

        parsing XML

        representing XML documents as method call sequences

        validation, source documents

        ValidatorHandler and

SAXException

SAXNotRecognizedException

SAXNotSupportedException

SAXParseException

SAXParser class 2nd

SAXParserFactory class

SAXResult class

SAXSource class 2nd

SAXTransformerFactory class

Scanner class 2nd 3rd 4th

        InputMismatchException

ScatteringByteChannel interface 2nd

schedule( ) (Timer)

scheduleAtFixedRate( ) (Timer)

scheduledExecutionTime( ) (TimerTask)

ScheduledExecutorService 2nd

ScheduledFuture interface 2nd

ScheduledThreadPoolExecutor

scheduling tasks

schemas, XML

        Schema class

        SchemaFactory class

        SchemaFactoryLoader class

        specifying for parser

scientific notation

scope 2nd

        inheritance vs., for member classes

        local classes

        local variables , local classes and

sealed packages

SealedObject class 2nd

search-and-replace operations, using regular expressions

searching

        arrays 2nd

        collections elements

SecretKey interface 2nd

SecretKeyEntry (KeyStore)

SecretKeyFactory class

SecretKeyFactorySpi class

SecretKeySpec class

Secure Hash Algorithm (SHA)

SecureCacheResponse class

SecureClassLoader class

SecureRandom class 2nd 3rd

SecureRandomSpi class

security 2nd 3rd 4th

        access control 2nd

                applets, restrictions on

                file access

                fine-tuning trust levels, policies, and permissions

                sandbox

        for application programmers

        architecture

        authentication and authorization 2nd

        authentication and cryptography

        cryptography

        digital signatures

                SignedObject class

        digitally signed classes

        for end users

       Java VM

                access restrictions

                byte-code verification

        java.security package 2nd

        java.security.cert package

        java.security.interfaces package

        java.security.spec package

        message digests 2nd

        packets, sending/receiving

       permissions and policies [See permissions security policies]

        risks

        secure HTTP ( https \: protocol)

        SecurityException

       SecurityManager [See SecurityManager class]

        for system programmers

        for system administrators

        system properties, granting access to

        URLClassLoader class

Security class

security policies

        default, defined by system administrators

        file permissions

        how they work

        implementation by SecurityManager

        jstatd permissions

        NetPermission class

        Policy class 2nd

        policytool

        ReflectPermission class

        RuntimePermission names

        system, user , and java.security.policy policy files

        user-defined, augmenting or replacing system policy

SecurityManager class 2nd

        default, automatically installing

        delegation of access requests to AccessController

        getting and setting system SecurityManager

        installing

        restrictions on applets

        use by FileInputStream class

SecurityPermission class

seek( ) (RandomAccessFile)

select( )

        ProxySelector class

        Selector class 2nd 3rd

SelectableChannel interface

selectedKeys( ) (Selector)

SelectionKey class

Selector class 2nd

        IllegalSelectorException

selector classes

        AbstractSelectionKey class

        AbstractSelector class

SelectorProvider class

self-reflection

self-signed certificate authority certificates

Semaphore class 2nd

semicolon [See ; under Symbols]

send( )

        DatagramChannel class

        DatagramSocket class 2nd

sendUrgentData( ) (Socket)

separator characters

        constants defined by File class

        directory

        line separators on different platforms

separators (tokens)

SequenceInputStream class

Serializable interface 2nd

        arrays

        implemented by collections and maps

SerializablePermission class

serialization 2nd [See also Serializable interface]

        @serial doc comment tag

        deserialization methods , ObjectInput interface

        deserialization methods, ObjectInputStream

        enumerated types

        Externalizable interface, using

        JavaBeans components

        NotSerializableException

        ObjectInputStream class

        ObjectInputStream.GetField class

        ObjectInputValidation class

        ObjectOutput interface

        ObjectOutputStream class 2nd

        ObjectOutputStream.PutField class

        ObjectStreamClass class

        ObjectStreamConstants interface

        ObjectStreamException

        ObjectStreamField class

        OptionalDataException

        SealedObject class 2nd

        SerializablePermission class

        SignedObject class 2nd

        StreamCorruptedException

        warnings about inadequate documentation

        writing data in addition to default

serialPersistentFields field 2nd 3rd

serialver program

serialVersionUID field

server sockets, factory classes for

server version of VM (Sun HotSpot)

server-side networking

servers

        blocking I/O and

        communicating directly with, using sockets

        NonBlockingServer class (example)

ServerSocket class 2nd 3rd

ServerSocketChannel class

ServerSocketFactory class

Service class (Provider)

service provider interface

        algorithm-parameter generation

        AlgorithmParameters

        CertificateFactory class

        CertificateFactorySpi

        CertPathBuilderSpi

        CertPathValidatorSpi

        CertStoreSpi

        channel and selector implementations

        channels and selectors

        charset implementations

        charsets

        CipherSpi class

        ExemptionMechanismSPI

        for JAAS

        javax.crypto package

        KeyAgreementSpi class

        KeyFactorySpi

        KeyGeneratorSpi class

        KeyManagerFactorySpi

        KeyPairGeneratorSpi

        KeyStoreSpi

        KeyStoreSpi class

        LoginModule, for JAAS

        MacSpi class

        message-digest algorithms

        SecretKeyFactorySpi class

        secure random number generation

        SignatureSpi

        SSLContextSpi

        TrustManagerFactorySpi

ServicePermission class

servlets

session IDs, SSL

Set interface 2nd

        AbstractSet class

        Collection interface methods

        SortedSet interface

set prefix, data accessor methods

set( )

        AbstractList class

        ArrayList class

        Calendar class

        Field class

        LinkedList class

        List interface

        List interface[

        ListIterator interface 2nd

        ThreadLocal class

setAccessible( ) (AccessibleObject) 2nd

setAllowUserInteraction( )

setAttribute( ) (TransformerFactory)

setBroadcast( )

setCalendar( ) (DateFormat)

setCertificateEntry( ) (KeyStore)

setCertPathCheckers( )

setCertStores( )

setCharAt( ) (StringBuffer)

setClassAssertionStatus( )

setConnectTimeout( )

setContentHandler( )

setContentHandlerFactory( ) (URLConnection)

setContextClassLoader( ) (Thread)

setDaemon( ) (Thread)

setDatagramSocketImplFactory( )

setDefault( )

        Authenticator class 2nd

        CookieHandler class

        ProxySelector class

        ResponseCache class

setDefaultAllowUserInteraction( )

setDefaultAssertionStatus( )

setDefaultUncaughtExceptionHandler( ) 2nd

setDefaultUseCaches( ) 2nd

setDoInput( ) (URLConnection)

setDoOutput( ) (URLConnection)

setDTDHandler( )

setElementAt( ) (Vector)

setEnabledProtocols( ) (SSLSocket)

setEndRule( ) (SimpleTimeZone)

setEntry( ) (KeyStore)

setErr( ) (System)

setErrorHandler( )

setErrorListener( )

        Transformer class

        TransformerFactory class

setFeature( )

        SAXParserFactory class

        SchemaFactory class

        Validator class

        XPathFactory class

setGroupingUsed( )

setHostnameVerifier( )

setIfModifiedSince( )

setIn( ) (System)

setInput( ) (Deflater)

setInterface( ) (MulticastSocket)

setKeepAlive( ) (Socket)

setKeyEntry( ) (KeyStore) 2nd

setLastModified( ) (File)

setLevel( ) (ZipOutputStream) 2nd

setLineNumber( ) (LineNumberReader)

setLocale( ) (MessageFormat)

setLoopbackMode( ) (MulticastSocket)

setMaxCRLNumber( )

setMaximumFractionDigits( ) (NumberFormat)

setMaxPathLength( )

setMaxPriority( ) (ThreadGroup)

setMethod( )

        ZipOutputStream class

setMinCRLNumber( )

setName( )

        NameCallback class

        Thread class

setNeedClientAuth( ) 2nd

setNetworkInterface( ) (MulticastSocket)

setNode( ) (DOMResult)

setOOBInline( ) (Socket)

setOption( ) (SocketOptions)

setOut( ) (System)

setOutputProperties( ) (Transformer)

setOutputProperty( ) (Transformer)

setPackageAssertionStatus( )

setParameter( ) (Transformer)

setPassword( )

setPolicy( ) (Policy) 2nd

setPriority( ) (Thread)

setProperties( )

        System class

        TransformerHandler interface

setProperty( )

        Properties class

        SAXParser class

        SchemaFactory class

        System class

        System interface

        TransformerHandler interface

        Validator class

setReadOnly( ) (File)

setReadTimeout( )

setReceiveBufferSize( )

        ServerSocket class

        Socket class

setRequestMethod( )

setResourceResolver( )

        Validator class

setReuseAddress( )

        ServerSocket class

        Socket class

sets

        defined

        enumerated values

        hashtable-based 2nd

        immutable Set objects

        Set interface

                implementations, listed

setSchema( )

setSecurityManager( ) (System)

setSeed( ) (SecureRandom)

setSendBufferSize( )

        DatagramSocket class

        Socket class

setSessionCacheSize( )

setSessionTimeout( )

setSoLinger( ) (Socket)

setSoTimeout( )

        DatagramSocket class

        ServerSocket class

        Socket class

setStartRule( ) (SimpleTimeZone)

setStrength( ) (Collator)

setTcpNoDelay( ) (Socket)

setText( ) (BreakIterator)

setThreadCPUTimeEnabled( )

setTime( )

        Calendar class

        Date class

setTimeToLive( )

setTimeZone( ) (DateFormat)

setTrafficClass( )

setTrafficClass( ) (Socket)

setTrustAnchors( )

setUncaughtExceptionHandler( ) 2nd

setURIResolver( )

        Transformer class 2nd

        TransformerFactory class

setUsageThreshold( )

setUseCaches( )

setValue( ) (Entry)

setVerbose( ) (CompilationMXBean)

setWantClientAuth( ) 2nd

setXIncludeAware( )

setXPathFunctionResolver( )

setXPathVariableResolver( )

severe( ) (Logger)

severity levels, log messages

SHA (Secure Hash Algorithm)

shadowing superclass fields

shallow copy

shared file locks

shared locks

shift operators

        << (left shift)

        >> (signed right shift) operator

        combining with assignment (=) operator

        listed

        return type

short type 2nd

        comparing to float type with == operator

        conversion to other primitive types

        Short class 2nd 3rd 4th

        unsigned values

ShortBuffer class

ShortBufferException

shuffle( ) (Collections)

shutdownInput( ) (Socket)

shutdownOutput( ) (Socket)

side effects

       expression

                in assertion expressions

                in expression statements

        of operators

        order of evaluation and

sign( ) (Signature)

signalAll( ) (Condition)

Signature class 2nd

signature, class definition

        GenericSignatureFormatError

SignatureException

signatures, digital [See digital signatures]

signatures, method

        generic, reflection on

        implicit this parameter

        varargs , converting

SignatureSpi class

signed numbers

signed right shift operator (>>) 2nd

SignedObject class 2nd 3rd

Signer class

signum ( )

        Integer class

        Math class

simple class names

SimpleDateFormat class

SimpleFormatter class

SimpleTimeZone class

single-line comments

singleton( ) (Collections) 2nd

singletonList( ) (Collections) 2nd

singletonMap( ) (Collections) 2nd

sinh( ) (Math)

sink( ) (Pipe)

SinkChannel class (Pipe)

size ( )

        AbstractCollection class

        AbstractList class

        CharArrayWriter class

        DataOutputStream class

        FileChannel class

        FileLock class

        Map interface

        Vector class

skip( )

        InputStream class

        Reader class

        Scanner class

        ZipInputStream class

skipBytes( ) (DataInputStream)

slashSlashComments( ) (StreamTokenizer)

slashStarComments( ) (StreamTokenizer)

sleep( ) (Thread) 2nd 3rd

socket( )

        DatagramChannel class

        SocketChannel class

SocketAddress class 2nd

        UnresolvedAddressException

SocketChannel class 2nd

SocketHandler class

sockets

        BindException 2nd

        client-side networking with SocketChannel

        ConnectException

        DatagramSocket class

        DatagramSocketImpl class

        DatagramSocketImplFactory

        factory classes for creating

        handle to open socket

        InetSocketAddress

        MulticastSocket class

        networking classes

        nonblocking connections

        ProtocolException

        server-side networking (New I/O API)

        ServerSocket class 2nd

        ServerSocketChannel

        ServerSocketFactory class

        Socket class 2nd 3rd

        SocketChannel

        SocketChannel class

        SocketException

        SocketFactory class

        SocketImpl class

        SocketImplFactory interface

        SocketOptions interface

        SocketPermission class

        SocketTimeoutException

        SSL (Secure Sockets Layer)

        unable to connect to remote host

SoftReference class

Solaris operating system

        Java interpreter

        JDK, download site (Sun)

        thread type for Java interpreter and Classic VM

sort ( )

        Arrays class 2nd 3rd

        Collections class 2nd

        static member imports and

SortedMap interface 2nd

        TreeMap implementation

SortedSet interface 2nd

        interesting methods

        TreeSet class

sorting collections elements

source code

        CodeSource class

        converting to ASCII

source files

        C language, for Java native methods

        for classes being debugged , setting for jdb 2nd

        path , specifying for javac compiler

        release of Java, specifying for

        search path for (javadoc)

        specifying for javadoc to process

Source interface 2nd

source keyword

source( ) (Pipe) 2nd

SourceChannel class (Pipe)

SourceLocator interface

spaces in doc comments

special effects, threads for

SPI [See service provider interface]

split( ) (String) 2nd

SSL (Secure Sockets Layer) 2nd 3rd

SSLContext class 2nd

SSLContextSpi class

SSLEngine class 2nd

SSLEngineResult class

SSLEngineResult.HandshakeStatus

SSLException

SSLHandshakeException

SSLKeyException

SSLPeerUnverifiedException

SSLPermission class

SSLServerSocket class

SSLServerSocketFactory

SSLSession class

SSLSessionBindingEvent

SSLSessionBindingListener

SSLSessionContext

SSLSocket class 2nd

SSLSocketFactory

Stack class 2nd

        EmptyStackException

stack traces

        displaying for current or specified threads

        for exceptions

        for threads

        jstack tool

StackOverflowError

stacks

        LIFO queues

        LinkedList, using

StackTraceElement class

standard extensions

        additional information about

        portability conventions and rules

standard input 2nd

standard output 2nd

        profiling output, printing to

start( )

        ProcessBuilder

        Thread class 2nd

startElement( ) (SAXParser)

startsWith( ) (String)

state

        beans

        instance fields

        threads 2nd

        writing complete object state to serialization stream

State class

statements 2nd 3rd

        assert

        break

        compound 2nd

        continue

        defined by Java, summary of

        do/while

        empty

        expression

        flow-control

                return statement

        for

        for/in

        if/else

                else if clause

                nested

        labeled

        local variable declaration

        return

        switch

        synchronized

        throw

                exception types

        try/catch/finally

        while

static (keyword)

static initializers

static member types 2nd

        features of

        implementation

        importing

        restrictions on

static members 2nd

        class fields

        generic types

        import static declaration

        methods

static modifier

        abstract modifier and

        anonymous classes and

        class fields

        class methods

        fields

        interface methods and

        local classes and

        member classes and

        method lookup

        methods

statistics, JVM (jstat tool)

Status class (SSLEngineResult)

stop( ) (Thread) 2nd

store( )

        KeyStore class

        Properties class

StreamCorruptedException

StreamHandler class

streams [See also byte streams; character streams; input/output]

        byte stream classes in java.io

        channels and

        character stream classes

        CipherInputStream class

        CipherOutputStream class

        class resources

        close( ) method and Closeable interface

        corrupted

        encrypting/ decrypting

        FileOutputStream class

        filtering

        implementing Appendable interface

        in, out, and err 2nd

        InputStream class

        javax.xml.transform.stream package

        LineNumberInputStream class (deprecated)

        output, flush( ) and Flushable interface

        OutputStream class

        PipedInputStream class

        PipedOutputStream class

        reading primitive data types in binary format

        SequenceInputStream class

        WriteAbortedException

        writing Java primitive types in portable binary format

        writing serialized objects to

        XML documents

StreamTokenizer class

strictfp methods

strictfp modifier 2nd

StrictMath class 2nd

string concatenation operator (+)

string literals 2nd

strings

        arrays of

        basic operations on

        CharSequence and CharBuffer interfaces

        comparing

        concatenating 2nd 3rd 4th

        converting characters to

        converting numbers to/from

        converting other data types to

        converting Short values to and from

        converting to a double

        converting to and from bytes

        converting to and from integers 2nd

        converting to long or Long

        DOMStringList

        equality comparisons

        escape sequences in string literals

        formatting

        instanceof operator, using with

        manipulation methods, implemented in machine code

        pattern matching with regular expressions

        streaming data, reading from/writing to

        String class 2nd 3rd

                compareTo( ) and equals( )

                format( ) 2nd 3rd 4th

                intern( )

                matches( )

                split( )

                Unicode supplementary characters

        StringBuffer class 2nd

                methods for CharSequence objects

        StringBufferInputStream class

        StringBuilder class

        StringCharacterIterator class

        StringIndexOutOfBoundsException

        StringReader class

        StringWriter class 2nd

       tokenizing

                Scanner class

                StreamTokenizer

                StringTokenizer 2nd

        Unicode, converting to/from bytes

StringTokenizer class

strongly typed languages

structs (C language)

stub files for C language Java native method implementation

subclasses

       of abstract classes

                implementing abstract methods

                partial implementation

        concrete

        constructors

        inheritance and

                access control

                constructor chaining and the default constructor

                hiding superclass fields

                overriding superclass methods

                superclasses and Object class

        Thread class

subinterfaces

Subject class 2nd

SubjectDomainCombiner class

subList( ) (List) 2nd

subMap( ) (SortedMap) 2nd

submit( ) (ExecutorService)

subSequence( )

        CharSequence interface

        StringBuffer class

Subset class

subSet( ) (SortedSet)

substring( )

        StringBuffer class

subtract( ) (BigDecimal)

subtraction operator (-) 2nd

Sun Microsystems

        HotSpot VM

        Java packages controlled by

        java, javax and sun, package names beginning with

        JDK download site

SunJCE cryptographic provider

        Diffie-Hellman key-agreement algorithm

        key-generation implementations

        message authentication algorithms

        SecretKeyFactory implementations, supporting

SunJSSE provider

SunX509 algorithm

super keyword 2nd

        overridden methods, invoking

super( ) 2nd

        vs. super keyword

superclasses 2nd

        containing class members, accessing

        fields, hiding in subclasses

        inheritance by subclasses of method implementations

        methods, overriding

        Object, class hierarchy and

superinterfaces

supplementary characters (Unicode) 2nd 3rd

        Character class methods for

        String methods for

surrogate pairs (Unicode characters) 2nd 3rd 4th

suspend( ) (Thread)

swap( ) (Collections)

switch statements

        assertions in

        case labels

        data types in

        enumerated types and

        restrictions on

symmetric keys 2nd

        generating

SyncFailedException

synchronized methods

        AtomicInteger vs.

        collections

synchronized modifier 2nd 3rd

synchronized statements

        verifying lock with assert statement

synchronizedList( ) (Collections) 2nd

synchronizedSet( ) (Collections) 2nd

synchronizer utilities

        AbstractQueuedSynchronizer

        CountDownLatch

        CyclicBarrier

synchronizing threads

        deadlock, avoiding

        IllegalMonitorStateException

        Object class methods, using

SynchronousQueue class 2nd

system administrators, security for

System class 2nd 3rd

        arraycopy( ) 2nd

        currentTimeMillis( )

        exit( )

        getenv( ), portability and

        identityHashCode( )

        nanoTime( ) 2nd

system classes

        javap tool, specifying search path for

        path to search for (javah)

        portable Java code and

system preferences [See preferences]

system programmers, security for

system properties

        access by applets, restrictions on

        java.security.manager

        Properties class, using for

        read/write access control

system security policy, replacing with user-defined

System.err

System.out

System.out.println( ) 2nd

systemNodeForPackage( ) (Preferences)

Категории