Your preferences have been saved!
» Adds all the elements of the given arrays into a - import java.lang.reflect.Array; /**  * <p>Operations on arrays, primitive arrays (like <code>int[]</code>) and  * primitive wrapper arrays (like <code>Integer[]</code>).</p>  *   * <p>This class tries to handle <code>null</code> input gracefully.  * An exception will not be thrown for a <code>null</code>  * array input. However, an Object array that contains a <code>null</code>  * element may throw an exception. Each method documents its behaviour.</p>  *... 17 Feb 12 » Treating an Array as an Enumeration - import java.lang.reflect.Array; import java.util.Enumeration; final public class ArrayEnumerationFactory {   static public Enumeration makeEnumeration(final Object obj) {     Class type = obj.getClass();     if (!type.isArray()) {       throw new IllegalArgumentException(obj.getClass().toString());     } else {       return (new Enumeration() {         int size = Array.getLength(obj);... 17 Feb 12 » apache-log4j-site\build.xml - <!--  Licensed to the Apache Software Foundation (ASF) under one or more  contributor license agreements.  See the NOTICE file distributed with  this work for additional information regarding copyright ownership.  The ASF licenses this file to You under the Apache License, Version 2.0  (the "License"); you may not use this file except in compliance with  the License.  You may obtain a copy of the License at       http://www.apache.org/licenses/LICENSE-2.0  Unless required by applicable law or agreed to in writing, software  distributed under the License is distributed on an "AS IS" BASIS,... 16 Feb 12 » Expand Rectangle2D - import javax.imageio.ImageIO; import java.awt.*; import java.awt.geom.*; import java.awt.font.*; import java.awt.image.*; import java.io.File; import java.io.IOException; public class GraphicsUtil {   protected Graphics g;... 15 Feb 12