Friday, March 27, 2015

MirroredTypesException

com.sun.mirror.type.MirroredTypesException

MirroredTypesException is described in the javadoc comments as:

Thrown when an application attempts to access a sequence of {link: Class} objects each corresponding to a {link: TypeMirror}.
see: MirroredTypeException see: Declaration#getAnnotation(Class)

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • MirroredTypesException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • MirroredTypesException is not thrown within the available source code.

Friday, March 20, 2015

com.sun.jmx.snmp.SnmpUnknownMsgProcModelException

SnmpUnknownMsgProcModelException is described in the javadoc comments as:

This exception is thrown when an SnmpMsgProcessingSubSystem doesn't know the passed ID.

This API is a Sun Microsystems internal API and is subject to change without notice.


since: 1.5

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • SnmpUnknownMsgProcModelException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • SnmpUnknownMsgProcModelException is not thrown within the available source code.

Wednesday, March 18, 2015

RemoteException

java.rmi.RemoteException

RemoteException is described in the javadoc comments as:

A RemoteException is the common superclass for a number of communication-related exceptions that may occur during the execution of a remote method call. Each method of a remote interface, an interface that extends java.rmi.Remote, must list RemoteException in its throws clause.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The 'wrapped remote exception' that may be provided at construction time and accessed via the public {link: #detail} field is now known as the cause, and may be accessed via the {link: Throwable#getCause()} method, as well as the aforementioned 'legacy field.'

Invoking the method {link: Throwable#initCause(Throwable)} on an instance of RemoteException always throws {@link IllegalStateException}.
version: 1.24, 12/19/03 author: Ann Wollrath since: JDK1.1

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.connect(Remote, Remote)

/**
     * Makes a Remote object ready for remote communication. This normally
     * happens implicitly when the object is sent or received as an argument
     * on a remote method call, but in some circumstances it is useful to
     * perform this action by making an explicit call.  See the 
     * {@link Stub#connect} method for more information. 
     * @param target the object to connect.
     * @param source a previously connected object.
     * @throws RemoteException if <code>source</code> is not connected
     * or if <code>target</code> is already connected to a different ORB than
     * <code>source</code>.
     */
public void connect(Remote target, Remote source) throws RemoteException {
    if (target == null || source == null) {
        throw new NullPointerException('invalid argument');
    }
    ORB orb = null;
    try {
        if (StubAdapter.isStub(source)) {
            orb = StubAdapter.getORB(source);
        } else {
            Tie tie = Util.getTie(source);
            if (tie == null) {
            } else {
                orb = tie.orb();
            }
        }
    } catch (SystemException e) {
        throw new RemoteException(''source' object not connected', e);
    }
    boolean targetIsIIOP = false;
    Tie targetTie = null;
    if (StubAdapter.isStub(target)) {
        targetIsIIOP = true;
    } else {
        targetTie = Util.getTie(target);
        if (targetTie != null) {
            targetIsIIOP = true;
        } else {
        }
    }
    if (!targetIsIIOP) {
        if (orb != null) {
            throw new RemoteException(''source' object exported to IIOP, 'target' is JRMP');
        }
    } else {
        if (orb == null) {
            throw new RemoteException(''source' object is JRMP, 'target' is IIOP');
        }
        try {
            if (targetTie != null) {
                try {
                    ORB existingOrb = targetTie.orb();
                    if (existingOrb == orb) {
                        return;
                    } else {
                        throw new RemoteException(''target' object was already connected');
                    }
                } catch (SystemException e) {
                }
                targetTie.orb(orb);
            } else {
                StubAdapter.connect(target, orb);
            }
        } catch (SystemException e) {
            throw new RemoteException(''target' object was already connected', e);
        }
    }
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

com.sun.corba.se.impl.presentation.rmi.StubConnectImpl.connect(StubIORImpl, org.omg.CORBA.Object, org.omg.CORBA.portable.ObjectImpl, ORB)

/** Connect the stub to the orb if necessary.  
    * @param ior The StubIORImpl for this stub (may be null)
    * @param proxy The externally visible stub seen by the user (may be the same as stub)
    * @param stub The stub implementation that extends ObjectImpl
    * @param orb The ORB to which we connect the stub.
    */
public static StubIORImpl connect(StubIORImpl ior, org.omg.CORBA.Object proxy, org.omg.CORBA.portable.ObjectImpl stub, ORB orb) throws RemoteException {
    Delegate del = null;
    try {
        try {
            del = StubAdapter.getDelegate(stub);
            if (del.orb(stub) != orb) throw wrapper.connectWrongOrb();
        } catch (org.omg.CORBA.BAD_OPERATION err) {
            if (ior == null) {
                Tie tie = (javax.rmi.CORBA.Tie) Utility.getAndForgetTie(proxy);
                if (tie == null) throw wrapper.connectNoTie();
                ORB existingOrb = orb;
                try {
                    existingOrb = tie.orb();
                } catch (BAD_OPERATION exc) {
                    tie.orb(orb);
                } catch (BAD_INV_ORDER exc) {
                    tie.orb(orb);
                }
                if (existingOrb != orb) throw wrapper.connectTieWrongOrb();
                del = StubAdapter.getDelegate(tie);
                ObjectImpl objref = new CORBAObjectImpl();
                objref._set_delegate(del);
                ior = new StubIORImpl(objref);
            } else {
                del = ior.getDelegate(orb);
            }
            StubAdapter.setDelegate(stub, del);
        }
    } catch (SystemException exc) {
        throw new RemoteException('CORBA SystemException', exc);
    }
    return ior;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.rmi.activation.ActivationGroup.getMonitor()

/**
     * Returns the monitor for the activation group.
     */
private ActivationMonitor getMonitor() throws RemoteException {
    synchronized (ActivationGroup.class) {
        if (monitor != null) {
            return monitor;
        }
    }
    throw new RemoteException('monitor not received');
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

ActivationException

java.rmi.activation.ActivationException

ActivationException is described in the javadoc comments as:

General exception used by the activation interfaces.

As of release 1.4, this exception has been retrofitted to conform to the general purpose exception-chaining mechanism. The 'detail exception' that may be provided at construction time and accessed via the public {link: #detail} field is now known as the cause, and may be accessed via the {link: Throwable#getCause()} method, as well as the aforementioned 'legacy field.'

Invoking the method {link: Throwable#initCause(Throwable)} on an instance of ActivationException always throws {@link IllegalStateException}.
author: Ann Wollrath version: 1.24, 12/19/03 since: 1.2

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

java.rmi.activation.ActivationGroup.createGroup(ActivationGroupID, ActivationGroupDesc, long)

/**
     * Create and set the activation group for the current VM.  The
     * activation group can only be set if it is not currently set.
     * An activation group is set using the <code>createGroup</code>
     * method when the <code>Activator</code> initiates the
     * re-creation of an activation group in order to carry out
     * incoming <code>activate</code> requests. A group must first be
     * registered with the <code>ActivationSystem</code> before it can
     * be created via this method.
     * The group class specified by the
     * <code>ActivationGroupDesc</code> must be a concrete subclass of
     * <code>ActivationGroup</code> and have a public constructor that
     * takes two arguments: the <code>ActivationGroupID</code> for the
     * group and the <code>MarshalledObject</code> containing the
     * group's initialization data (obtained from the
     * <code>ActivationGroupDesc</code>.
     * If the group class name specified in the
     * <code>ActivationGroupDesc</code> is <code>null</code>, then
     * this method will behave as if the group descriptor contained
     * the name of the default activation group implementation class.
     * Note that if your application creates its own custom
     * activation group, a security manager must be set for that
     * group.  Otherwise objects cannot be activated in the group.
     * <code>java.rmi.RMISecurityManager</code> is set by default.
     * If a security manager is already set in the group VM, this
     * method first calls the security manager's
     * <code>checkSetFactory</code> method.  This could result in a
     * <code>SecurityException</code>. If your application needs to
     * set a different security manager, you must ensure that the
     * policy file specified by the group's
     * <code>ActivationGroupDesc</code> grants the group the necessary
     * permissions to set a new security manager.  (Note: This will be
     * necessary if your group downloads and sets a security manager).
     * After the group is created, the
     * <code>ActivationSystem</code> is informed that the group is
     * active by calling the <code>activeGroup</code> method which
     * returns the <code>ActivationMonitor</code> for the group. The
     * application need not call <code>activeGroup</code>
     * independently since it is taken care of by this method.
     * Once a group is created, subsequent calls to the
     * <code>currentGroupID</code> method will return the identifier
     * for this group until the group becomes inactive.
     * @param id the activation group's identifier
     * @param desc the activation group's descriptor
     * @param incarnation the group's incarnation number (zero on group's
     * initial creation)
     * @return the activation group for the VM
     * @exception ActivationException if group already exists or if error
     * occurs during group creation 
     * @exception SecurityException if permission to create group is denied.
     * (Note: The default implementation of the security manager 
     * <code>checkSetFactory</code>
     * method requires the RuntimePermission 'setFactory')
     * @see SecurityManager#checkSetFactory
     * @since 1.2
     */
public static synchronized ActivationGroup createGroup(ActivationGroupID id, final ActivationGroupDesc desc, long incarnation) throws ActivationException {
    SecurityManager security = System.getSecurityManager();
    if (security != null) security.checkSetFactory();
    if (currGroup != null) throw new ActivationException('group already exists');
    if (canCreate == false) throw new ActivationException('group deactivated and ' + 'cannot be recreated');
    try {
        String groupClassName = desc.getClassName();
        if (groupClassName == null) {
            groupClassName = sun.rmi.server.ActivationGroupImpl.class.getName();
        }
        final String className = groupClassName;
        Class cl;
        try {
            cl = (Class) java.security.AccessController.doPrivileged(new PrivilegedExceptionAction() {

                public Object run() throws ClassNotFoundException, MalformedURLException {
                    return RMIClassLoader.loadClass(desc.getLocation(), className);
                }
            });
        } catch (PrivilegedActionException pae) {
            throw new ActivationException('Could not load default group ' + 'implementation class', pae.getException());
        }
        Constructor constructor = cl.getConstructor(groupConstrParams);
        Object[] params = new Object[] { id, desc.getData() };
        Object obj = constructor.newInstance(params);
        if (obj instanceof ActivationGroup) {
            ActivationGroup newGroup = (ActivationGroup) obj;
            currSystem = id.getSystem();
            newGroup.incarnation = incarnation;
            newGroup.monitor = currSystem.activeGroup(id, newGroup, incarnation);
            currGroup = newGroup;
            currGroupID = id;
            canCreate = false;
        } else {
            throw new ActivationException('group not correct class: ' + obj.getClass().getName());
        }
    } catch (java.lang.reflect.InvocationTargetException e) {
        e.getTargetException().printStackTrace();
        throw new ActivationException('exception in group constructor', e.getTargetException());
    } catch (ActivationException e) {
        throw e;
    } catch (Exception e) {
        throw new ActivationException('exception creating group', e);
    }
    return currGroup;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.rmi.activation.ActivationGroup.setSystem(ActivationSystem)

/**
     * Set the activation system for the VM.  The activation system can
     * only be set it if no group is currently active. If the activation
     * system is not set via this call, then the <code>getSystem</code>
     * method attempts to obtain a reference to the
     * <code>ActivationSystem</code> by looking up the name
     * 'java.rmi.activation.ActivationSystem' in the Activator's
     * registry. By default, the port number used to look up the
     * activation system is defined by
     * <code>ActivationSystem.SYSTEM_PORT</code>. This port can be overridden
     * by setting the property <code>java.rmi.activation.port</code>.
     * If there is a security manager, this method first
     * calls the security manager's <code>checkSetFactory</code> method.
     * This could result in a SecurityException.
     * @param system remote reference to the <code>ActivationSystem</code>
     * @exception ActivationException if activation system is already set
     * @exception SecurityException if permission to set the activation system is denied.
     * (Note: The default implementation of the security manager 
     * <code>checkSetFactory</code>
     * method requires the RuntimePermission 'setFactory')
     * @see #getSystem
     * @see SecurityManager#checkSetFactory
     * @since 1.2
     */
public static synchronized void setSystem(ActivationSystem system) throws ActivationException {
    SecurityManager security = System.getSecurityManager();
    if (security != null) security.checkSetFactory();
    if (currSystem != null) throw new ActivationException('activation system already set');
    currSystem = system;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.rmi.activation.ActivationGroup.currentGroup()

/**
     * Returns the current group for the VM.
     * @exception ActivationException if current group is null (not active)
     */
static synchronized ActivationGroup currentGroup() throws ActivationException {
    if (currGroup == null) {
        throw new ActivationException('group is not active');
    }
    return currGroup;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.rmi.activation.ActivationGroup.internalCurrentGroupID()

/**
     * Returns the activation group identifier for the VM.  If an
     * activation group does not exist for this VM, a default
     * activation group is created. A group can be created only once,
     * so if a group has already become active and deactivated.
     * @return the activation group identifier
     * @exception ActivationException if error occurs during group
     * creation, if security manager is not set, or if the group
     * has already been created and deactivated.
     */
static synchronized ActivationGroupID internalCurrentGroupID() throws ActivationException {
    if (currGroupID == null) throw new ActivationException('nonexistent group');
    return currGroupID;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.rmi.activation.ActivationGroup.getSystem()

/**
     * Returns the activation system for the VM. The activation system
     * may be set by the <code>setSystem</code> method. If the
     * activation system is not set via the <code>setSystem</code>
     * method, then the <code>getSystem</code> method attempts to
     * obtain a reference to the <code>ActivationSystem</code> by
     * looking up the name 'java.rmi.activation.ActivationSystem' in
     * the Activator's registry. By default, the port number used to
     * look up the activation system is defined by
     * <code>ActivationSystem.SYSTEM_PORT</code>. This port can be
     * overridden by setting the property
     * <code>java.rmi.activation.port</code>.
     * @return the activation system for the VM/group
     * @exception ActivationException if activation system cannot be
     *  obtained or is not bound
     * (means that it is not running)
     * @see #setSystem
     * @since 1.2
     */
public static synchronized ActivationSystem getSystem() throws ActivationException {
    if (currSystem == null) {
        try {
            int port;
            port = ((Integer) java.security.AccessController.doPrivileged(new GetIntegerAction('java.rmi.activation.port', ActivationSystem.SYSTEM_PORT))).intValue();
            currSystem = (ActivationSystem) Naming.lookup('//:' + port + '/java.rmi.activation.ActivationSystem');
        } catch (Exception e) {
            throw new ActivationException('unable to obtain ActivationSystem', e);
        }
    }
    return currSystem;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

ReadOnlyBufferException

java.nio.ReadOnlyBufferException

ReadOnlyBufferException is described in the javadoc comments as:

Unchecked exception thrown when a content-mutation method such as put or compact is invoked upon a read-only buffer.
version: 1.14, 01/05/02 since: 1.4

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

java.nio.ByteBuffer.array()

/**
     * Returns the byte array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final byte[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRB.compact()

public CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRB.put(char)

public CharBuffer put(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRB.put(int, char)

public CharBuffer put(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRL.compact()

public CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRL.put(char)

public CharBuffer put(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsCharBufferRL.put(int, char)

public CharBuffer put(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRB.compact()

public DoubleBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRB.put(double)

public DoubleBuffer put(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRB.put(int, double)

public DoubleBuffer put(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRL.compact()

public DoubleBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRL.put(double)

public DoubleBuffer put(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsDoubleBufferRL.put(int, double)

public DoubleBuffer put(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRB.compact()

public FloatBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRB.put(float)

public FloatBuffer put(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRB.put(int, float)

public FloatBuffer put(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRL.compact()

public FloatBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRL.put(float)

public FloatBuffer put(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsFloatBufferRL.put(int, float)

public FloatBuffer put(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRB.compact()

public IntBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRB.put(int)

public IntBuffer put(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRB.put(int, int)

public IntBuffer put(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRL.compact()

public IntBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRL.put(int)

public IntBuffer put(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsIntBufferRL.put(int, int)

public IntBuffer put(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRB.compact()

public LongBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRB.put(int, long)

public LongBuffer put(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRB.put(long)

public LongBuffer put(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRL.compact()

public LongBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRL.put(int, long)

public LongBuffer put(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsLongBufferRL.put(long)

public LongBuffer put(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRB.compact()

public ShortBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRB.put(int, short)

public ShortBuffer put(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRB.put(short)

public ShortBuffer put(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRL.compact()

public ShortBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRL.put(int, short)

public ShortBuffer put(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ByteBufferAsShortBufferRL.put(short)

public ShortBuffer put(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.CharBuffer.array()

/**
     * Returns the character array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final char[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.CharBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR._put(int, byte)

void _put(int i, byte b) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.compact()

public ByteBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.put(ByteBuffer)

public ByteBuffer put(ByteBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.put(byte)

public ByteBuffer put(byte x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.put(byte[], int, int)

public ByteBuffer put(byte[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.put(int, byte)

public ByteBuffer put(int i, byte x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putChar(char)

public ByteBuffer putChar(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putChar(int, char)

public ByteBuffer putChar(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putChar(long, char)

private ByteBuffer putChar(long a, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putDouble(double)

public ByteBuffer putDouble(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putDouble(int, double)

public ByteBuffer putDouble(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putDouble(long, double)

private ByteBuffer putDouble(long a, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putFloat(float)

public ByteBuffer putFloat(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putFloat(int, float)

public ByteBuffer putFloat(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putFloat(long, float)

private ByteBuffer putFloat(long a, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putInt(int)

public ByteBuffer putInt(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putInt(int, int)

public ByteBuffer putInt(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putInt(long, int)

private ByteBuffer putInt(long a, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putLong(int, long)

public ByteBuffer putLong(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putLong(long)

public ByteBuffer putLong(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putLong(long, long)

private ByteBuffer putLong(long a, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putShort(int, short)

public ByteBuffer putShort(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putShort(long, short)

private ByteBuffer putShort(long a, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectByteBufferR.putShort(short)

public ByteBuffer putShort(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRS.compact()

public CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRS.put(CharBuffer)

public CharBuffer put(CharBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRS.put(char)

public CharBuffer put(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRS.put(char[], int, int)

public CharBuffer put(char[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRS.put(int, char)

public CharBuffer put(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRU.compact()

public CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRU.put(CharBuffer)

public CharBuffer put(CharBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRU.put(char)

public CharBuffer put(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRU.put(char[], int, int)

public CharBuffer put(char[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectCharBufferRU.put(int, char)

public CharBuffer put(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRS.compact()

public DoubleBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRS.put(DoubleBuffer)

public DoubleBuffer put(DoubleBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRS.put(double)

public DoubleBuffer put(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRS.put(double[], int, int)

public DoubleBuffer put(double[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRS.put(int, double)

public DoubleBuffer put(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRU.compact()

public DoubleBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRU.put(DoubleBuffer)

public DoubleBuffer put(DoubleBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRU.put(double)

public DoubleBuffer put(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRU.put(double[], int, int)

public DoubleBuffer put(double[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectDoubleBufferRU.put(int, double)

public DoubleBuffer put(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRS.compact()

public FloatBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRS.put(FloatBuffer)

public FloatBuffer put(FloatBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRS.put(float)

public FloatBuffer put(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRS.put(float[], int, int)

public FloatBuffer put(float[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRS.put(int, float)

public FloatBuffer put(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRU.compact()

public FloatBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRU.put(FloatBuffer)

public FloatBuffer put(FloatBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRU.put(float)

public FloatBuffer put(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRU.put(float[], int, int)

public FloatBuffer put(float[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectFloatBufferRU.put(int, float)

public FloatBuffer put(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRS.compact()

public IntBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRS.put(IntBuffer)

public IntBuffer put(IntBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRS.put(int)

public IntBuffer put(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRS.put(int, int)

public IntBuffer put(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRS.put(int[], int, int)

public IntBuffer put(int[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRU.compact()

public IntBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRU.put(IntBuffer)

public IntBuffer put(IntBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRU.put(int)

public IntBuffer put(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRU.put(int, int)

public IntBuffer put(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectIntBufferRU.put(int[], int, int)

public IntBuffer put(int[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRS.compact()

public LongBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRS.put(LongBuffer)

public LongBuffer put(LongBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRS.put(int, long)

public LongBuffer put(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRS.put(long)

public LongBuffer put(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRS.put(long[], int, int)

public LongBuffer put(long[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRU.compact()

public LongBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRU.put(LongBuffer)

public LongBuffer put(LongBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRU.put(int, long)

public LongBuffer put(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRU.put(long)

public LongBuffer put(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectLongBufferRU.put(long[], int, int)

public LongBuffer put(long[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRS.compact()

public ShortBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRS.put(ShortBuffer)

public ShortBuffer put(ShortBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRS.put(int, short)

public ShortBuffer put(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRS.put(short)

public ShortBuffer put(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRS.put(short[], int, int)

public ShortBuffer put(short[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRU.compact()

public ShortBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRU.put(ShortBuffer)

public ShortBuffer put(ShortBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRU.put(int, short)

public ShortBuffer put(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRU.put(short)

public ShortBuffer put(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DirectShortBufferRU.put(short[], int, int)

public ShortBuffer put(short[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DoubleBuffer.array()

/**
     * Returns the double array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final double[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.DoubleBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.FloatBuffer.array()

/**
     * Returns the float array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final float[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.FloatBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR._put(int, byte)

void _put(int i, byte b) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.compact()

public ByteBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.put(ByteBuffer)

public ByteBuffer put(ByteBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.put(byte)

public ByteBuffer put(byte x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.put(byte[], int, int)

public ByteBuffer put(byte[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.put(int, byte)

public ByteBuffer put(int i, byte x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putChar(char)

public ByteBuffer putChar(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putChar(int, char)

public ByteBuffer putChar(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putDouble(double)

public ByteBuffer putDouble(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putDouble(int, double)

public ByteBuffer putDouble(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putFloat(float)

public ByteBuffer putFloat(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putFloat(int, float)

public ByteBuffer putFloat(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putInt(int)

public ByteBuffer putInt(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putInt(int, int)

public ByteBuffer putInt(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putLong(int, long)

public ByteBuffer putLong(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putLong(long)

public ByteBuffer putLong(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putShort(int, short)

public ByteBuffer putShort(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapByteBufferR.putShort(short)

public ByteBuffer putShort(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapCharBufferR.compact()

public CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapCharBufferR.put(CharBuffer)

public CharBuffer put(CharBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapCharBufferR.put(char)

public CharBuffer put(char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapCharBufferR.put(char[], int, int)

public CharBuffer put(char[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapCharBufferR.put(int, char)

public CharBuffer put(int i, char x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapDoubleBufferR.compact()

public DoubleBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapDoubleBufferR.put(DoubleBuffer)

public DoubleBuffer put(DoubleBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapDoubleBufferR.put(double)

public DoubleBuffer put(double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapDoubleBufferR.put(double[], int, int)

public DoubleBuffer put(double[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapDoubleBufferR.put(int, double)

public DoubleBuffer put(int i, double x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapFloatBufferR.compact()

public FloatBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapFloatBufferR.put(FloatBuffer)

public FloatBuffer put(FloatBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapFloatBufferR.put(float)

public FloatBuffer put(float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapFloatBufferR.put(float[], int, int)

public FloatBuffer put(float[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapFloatBufferR.put(int, float)

public FloatBuffer put(int i, float x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapIntBufferR.compact()

public IntBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapIntBufferR.put(IntBuffer)

public IntBuffer put(IntBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapIntBufferR.put(int)

public IntBuffer put(int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapIntBufferR.put(int, int)

public IntBuffer put(int i, int x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapIntBufferR.put(int[], int, int)

public IntBuffer put(int[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapLongBufferR.compact()

public LongBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapLongBufferR.put(LongBuffer)

public LongBuffer put(LongBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapLongBufferR.put(int, long)

public LongBuffer put(int i, long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapLongBufferR.put(long)

public LongBuffer put(long x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapLongBufferR.put(long[], int, int)

public LongBuffer put(long[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapShortBufferR.compact()

public ShortBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapShortBufferR.put(ShortBuffer)

public ShortBuffer put(ShortBuffer src) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapShortBufferR.put(int, short)

public ShortBuffer put(int i, short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapShortBufferR.put(short)

public ShortBuffer put(short x) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.HeapShortBufferR.put(short[], int, int)

public ShortBuffer put(short[] src, int offset, int length) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.IntBuffer.array()

/**
     * Returns the int array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.IntBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.LongBuffer.array()

/**
     * Returns the long array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final long[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.LongBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ShortBuffer.array()

/**
     * Returns the short array that backs this
     * buffer  <i>(optional operation)</i>.
     *  Modifications to this buffer's content will cause the returned
     * array's content to be modified, and vice versa.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The array that backs this buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final short[] array() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return hb;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.ShortBuffer.arrayOffset()

/**
     * Returns the offset within this buffer's backing array of the first
     * element of the buffer  <i>(optional operation)</i>.
     *  If this buffer is backed by an array then buffer position <i>p</i>
     * corresponds to array index <i>p</i> + <tt>arrayOffset()</tt>.
     *  Invoke the {@link #hasArray hasArray} method before invoking this
     * method in order to ensure that this buffer has an accessible backing
     * array.  
     * @return  The offset within this buffer's array
     *          of the first element of the buffer
     * @throws  ReadOnlyBufferException
     *          If this buffer is backed by an array but is read-only
     * @throws  UnsupportedOperationException
     *          If this buffer is not backed by an accessible array
     */
public final int arrayOffset() {
    if (hb == null) throw new UnsupportedOperationException();
    if (isReadOnly) throw new ReadOnlyBufferException();
    return offset;
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.StringCharBuffer.compact()

public final CharBuffer compact() {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.StringCharBuffer.put(char)

public final CharBuffer put(char c) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html

java.nio.StringCharBuffer.put(int, char)

public final CharBuffer put(int index, char c) {
    throw new ReadOnlyBufferException();
}

Source: "Java SE Downloads: Java SE 6 JDK Source Code", at: http://www.oracle.com/technetwork/java/javase/downloads/index.html