Codota Logo
AbstractObjectList.set
Code IndexAdd Codota to your IDE (free)

How to use
set
method
in
org.jfree.util.AbstractObjectList

Best Java code snippets using org.jfree.util.AbstractObjectList.set (Showing top 6 results out of 315)

  • Common ways to obtain AbstractObjectList
private void myMethod () {
AbstractObjectList a =
  • Codota IconObject object;(AbstractObjectList) object.clone()
  • Smart code suggestions by Codota
}
origin: jfree/jcommon

/**          
 * Sets an object reference (overwriting any existing object).       
 *   
 * @param index  the object index.   
 * @param object  the object (<code>null</code> permitted).          
 */          
public void set(final int index, final Object object) {      
  super.set(index, object);        
}    
   
origin: org.jfree/jcommon

/**          
 * Sets an object reference (overwriting any existing object).       
 *   
 * @param index  the object index.   
 * @param object  the object (<code>null</code> permitted).          
 */          
public void set(final int index, final Object object) {      
  super.set(index, object);        
}    
   
origin: org.jfree/com.springsource.org.jfree

/**          
 * Sets an object reference (overwriting any existing object).       
 *   
 * @param index  the object index.   
 * @param object  the object (<code>null</code> permitted).          
 */          
public void set(final int index, final Object object) {      
  super.set(index, object);        
}    
   
origin: org.jfree/jcommon

/**
 * Provides serialization support.
 *
 * @param stream  the input stream.
 *
 * @throws IOException  if there is an I/O error.
 * @throws ClassNotFoundException  if there is a classpath problem.
 */
private void readObject(final ObjectInputStream stream) 
  throws IOException, ClassNotFoundException {
  stream.defaultReadObject();
  this.objects = new Object[this.size];
  final int count = stream.readInt();
  for (int i = 0; i < count; i++) {
    final int index = stream.readInt();
    if (index != -1) {
      set(index, stream.readObject());
    }
  }
  
}
origin: jfree/jcommon

/**
 * Provides serialization support.
 *
 * @param stream  the input stream.
 *
 * @throws IOException  if there is an I/O error.
 * @throws ClassNotFoundException  if there is a classpath problem.
 */
private void readObject(final ObjectInputStream stream) 
  throws IOException, ClassNotFoundException {
  stream.defaultReadObject();
  this.objects = new Object[this.size];
  final int count = stream.readInt();
  for (int i = 0; i < count; i++) {
    final int index = stream.readInt();
    if (index != -1) {
      set(index, stream.readObject());
    }
  }
  
}
origin: org.jfree/com.springsource.org.jfree

/**
 * Provides serialization support.
 *
 * @param stream  the input stream.
 *
 * @throws IOException  if there is an I/O error.
 * @throws ClassNotFoundException  if there is a classpath problem.
 */
private void readObject(final ObjectInputStream stream) 
  throws IOException, ClassNotFoundException {
  stream.defaultReadObject();
  this.objects = new Object[this.size];
  final int count = stream.readInt();
  for (int i = 0; i < count; i++) {
    final int index = stream.readInt();
    if (index != -1) {
      set(index, stream.readObject());
    }
  }
  
}
org.jfree.utilAbstractObjectListset

Javadoc

Sets an object reference (overwriting any existing object).

Popular methods of AbstractObjectList

  • clone
    Clones the list of objects. The objects in the list are not cloned, so this is method makes a 'shall
  • equals
    Tests this list for equality with another object.
  • get
    Returns the object at the specified index, if there is one, ornull.
  • hashCode
    Returns a hash code value for the object.
  • indexOf
    Returns the index of the specified object, or -1 if the object is not in the list.
  • size
    Returns the size of the list.

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • onCreateOptionsMenu (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • JButton (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now