/[classpath]/classpath/java/util/Arrays.java
ViewVC logotype

Diff of /classpath/java/util/Arrays.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20.2.10 by gnu_andrew, Tue Aug 2 20:12:29 2005 UTC revision 1.20.2.11 by gnu_andrew, Sun Nov 27 21:00:37 2005 UTC
# Line 2544  public class Arrays Line 2544  public class Arrays
2544      return true;      return true;
2545    }    }
2546    
2547    /** @since 1.5 */    /**
2548       * Returns a String representation of the argument array.  Returns "null"
2549       * if <code>a</code> is null.
2550       * @param a the array to represent
2551       * @return a String representing this array
2552       * @since 1.5
2553       */
2554    public static String toString(boolean[] v)    public static String toString(boolean[] v)
2555    {    {
2556      if (v == null)      if (v == null)
# Line 2560  public class Arrays Line 2566  public class Arrays
2566      return b.toString();      return b.toString();
2567    }    }
2568    
2569    /** @since 1.5 */    /**
2570       * Returns a String representation of the argument array.  Returns "null"
2571       * if <code>a</code> is null.
2572       * @param a the array to represent
2573       * @return a String representing this array
2574       * @since 1.5
2575       */
2576    public static String toString(byte[] v)    public static String toString(byte[] v)
2577    {    {
2578      if (v == null)      if (v == null)
# Line 2576  public class Arrays Line 2588  public class Arrays
2588      return b.toString();      return b.toString();
2589    }    }
2590    
2591    /** @since 1.5 */    /**
2592       * Returns a String representation of the argument array.  Returns "null"
2593       * if <code>a</code> is null.
2594       * @param a the array to represent
2595       * @return a String representing this array
2596       * @since 1.5
2597       */
2598    public static String toString(char[] v)    public static String toString(char[] v)
2599    {    {
2600      if (v == null)      if (v == null)
# Line 2592  public class Arrays Line 2610  public class Arrays
2610      return b.toString();      return b.toString();
2611    }    }
2612    
2613    /** @since 1.5 */    /**
2614       * Returns a String representation of the argument array.  Returns "null"
2615       * if <code>a</code> is null.
2616       * @param a the array to represent
2617       * @return a String representing this array
2618       * @since 1.5
2619       */
2620    public static String toString(short[] v)    public static String toString(short[] v)
2621    {    {
2622      if (v == null)      if (v == null)
# Line 2608  public class Arrays Line 2632  public class Arrays
2632      return b.toString();      return b.toString();
2633    }    }
2634    
2635    /** @since 1.5 */    /**
2636       * Returns a String representation of the argument array.  Returns "null"
2637       * if <code>a</code> is null.
2638       * @param a the array to represent
2639       * @return a String representing this array
2640       * @since 1.5
2641       */
2642    public static String toString(int[] v)    public static String toString(int[] v)
2643    {    {
2644      if (v == null)      if (v == null)
# Line 2624  public class Arrays Line 2654  public class Arrays
2654      return b.toString();      return b.toString();
2655    }    }
2656    
2657    /** @since 1.5 */    /**
2658       * Returns a String representation of the argument array.  Returns "null"
2659       * if <code>a</code> is null.
2660       * @param a the array to represent
2661       * @return a String representing this array
2662       * @since 1.5
2663       */
2664    public static String toString(long[] v)    public static String toString(long[] v)
2665    {    {
2666      if (v == null)      if (v == null)
# Line 2640  public class Arrays Line 2676  public class Arrays
2676      return b.toString();      return b.toString();
2677    }    }
2678    
2679    /** @since 1.5 */    /**
2680       * Returns a String representation of the argument array.  Returns "null"
2681       * if <code>a</code> is null.
2682       * @param a the array to represent
2683       * @return a String representing this array
2684       * @since 1.5
2685       */
2686    public static String toString(float[] v)    public static String toString(float[] v)
2687    {    {
2688      if (v == null)      if (v == null)
# Line 2656  public class Arrays Line 2698  public class Arrays
2698      return b.toString();      return b.toString();
2699    }    }
2700    
2701    /** @since 1.5 */    /**
2702       * Returns a String representation of the argument array.  Returns "null"
2703       * if <code>a</code> is null.
2704       * @param a the array to represent
2705       * @return a String representing this array
2706       * @since 1.5
2707       */
2708    public static String toString(double[] v)    public static String toString(double[] v)
2709    {    {
2710      if (v == null)      if (v == null)
# Line 2672  public class Arrays Line 2720  public class Arrays
2720      return b.toString();      return b.toString();
2721    }    }
2722    
2723    /** @since 1.5 */    /**
2724       * Returns a String representation of the argument array.  Returns "null"
2725       * if <code>a</code> is null.
2726       * @param a the array to represent
2727       * @return a String representing this array
2728       * @since 1.5
2729       */
2730    public static String toString(Object[] v)    public static String toString(Object[] v)
2731    {    {
2732      if (v == null)      if (v == null)

Legend:
Removed from v.1.20.2.10  
changed lines
  Added in v.1.20.2.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26