src/share/classes/java/awt/image/renderable/ParameterBlock.java

Print this page

        

*** 368,378 **** * <code>parameters</code> <code>Vector</code> * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock add(int i) { ! return add(new Integer(i)); } /** * Adds a Long to the list of parameters. * @param l the long to add to the --- 368,378 ---- * <code>parameters</code> <code>Vector</code> * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock add(int i) { ! return add(i); } /** * Adds a Long to the list of parameters. * @param l the long to add to the
*** 487,497 **** * replaced with the specified parameter * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock set(int i, int index) { ! return set(new Integer(i), index); } /** * Replaces an Object in the list of parameters with a Long. * If the index lies beyond the current source list, --- 487,497 ---- * replaced with the specified parameter * @return a new <code>ParameterBlock</code> containing * the specified parameter. */ public ParameterBlock set(int i, int index) { ! return set(i, index); } /** * Replaces an Object in the list of parameters with a Long. * If the index lies beyond the current source list,