jdk/src/share/classes/java/awt/image/renderable/ParameterBlock.java
changeset 25777 bb88947b6766
parent 25187 08aff438def8
equal deleted inserted replaced
25776:654b0255bbae 25777:bb88947b6766
   368      *            <code>parameters</code> <code>Vector</code>
   368      *            <code>parameters</code> <code>Vector</code>
   369      * @return a new <code>ParameterBlock</code> containing
   369      * @return a new <code>ParameterBlock</code> containing
   370      *         the specified parameter.
   370      *         the specified parameter.
   371      */
   371      */
   372     public ParameterBlock add(int i) {
   372     public ParameterBlock add(int i) {
   373         return add(new Integer(i));
   373         return add(i);
   374     }
   374     }
   375 
   375 
   376     /**
   376     /**
   377      * Adds a Long to the list of parameters.
   377      * Adds a Long to the list of parameters.
   378      * @param l the long to add to the
   378      * @param l the long to add to the
   487      *        replaced with the specified parameter
   487      *        replaced with the specified parameter
   488      * @return a new <code>ParameterBlock</code> containing
   488      * @return a new <code>ParameterBlock</code> containing
   489      *        the specified parameter.
   489      *        the specified parameter.
   490      */
   490      */
   491     public ParameterBlock set(int i, int index) {
   491     public ParameterBlock set(int i, int index) {
   492         return set(new Integer(i), index);
   492         return set(i, index);
   493     }
   493     }
   494 
   494 
   495     /**
   495     /**
   496      * Replaces an Object in the list of parameters with a Long.
   496      * Replaces an Object in the list of parameters with a Long.
   497      * If the index lies beyond the current source list,
   497      * If the index lies beyond the current source list,