wms-core

16:54:00.518 INFO  jd.cli.Main - Decompiling wms-core.jar
package edu.emory.mathcs.backport.java.util;

import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;

public class WMSArrays
{
  public static void sort(long[] paramArrayOfLong)
  {
    Arrays.sort(paramArrayOfLong);
  }
  
  public static void sort(long[] paramArrayOfLong, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfLong, paramInt1, paramInt2);
  }
  
  public static void sort(int[] paramArrayOfInt)
  {
    Arrays.sort(paramArrayOfInt);
  }
  
  public static void sort(int[] paramArrayOfInt, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfInt, paramInt1, paramInt2);
  }
  
  public static void sort(short[] paramArrayOfShort)
  {
    Arrays.sort(paramArrayOfShort);
  }
  
  public static void sort(short[] paramArrayOfShort, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfShort, paramInt1, paramInt2);
  }
  
  public static void sort(char[] paramArrayOfChar)
  {
    Arrays.sort(paramArrayOfChar);
  }
  
  public static void sort(char[] paramArrayOfChar, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfChar, paramInt1, paramInt2);
  }
  
  public static void sort(byte[] paramArrayOfByte)
  {
    Arrays.sort(paramArrayOfByte);
  }
  
  public static void sort(byte[] paramArrayOfByte, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfByte, paramInt1, paramInt2);
  }
  
  public static void sort(double[] paramArrayOfDouble)
  {
    Arrays.sort(paramArrayOfDouble);
  }
  
  public static void sort(double[] paramArrayOfDouble, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfDouble, paramInt1, paramInt2);
  }
  
  public static void sort(float[] paramArrayOfFloat)
  {
    Arrays.sort(paramArrayOfFloat);
  }
  
  public static void sort(float[] paramArrayOfFloat, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfFloat, paramInt1, paramInt2);
  }
  
  public static void sort(Object[] paramArrayOfObject)
  {
    Arrays.sort(paramArrayOfObject);
  }
  
  public static void sort(Object[] paramArrayOfObject, int paramInt1, int paramInt2)
  {
    Arrays.sort(paramArrayOfObject, paramInt1, paramInt2);
  }
  
  public static void sort(Object[] paramArrayOfObject, Comparator paramComparator)
  {
    Arrays.sort(paramArrayOfObject, paramComparator);
  }
  
  public static void sort(Object[] paramArrayOfObject, int paramInt1, int paramInt2, Comparator paramComparator)
  {
    Arrays.sort(paramArrayOfObject, paramInt1, paramInt2, paramComparator);
  }
  
  public static int binarySearch(long[] paramArrayOfLong, long paramLong)
  {
    return Arrays.binarySearch(paramArrayOfLong, paramLong);
  }
  
  public static int binarySearch(int[] paramArrayOfInt, int paramInt)
  {
    return Arrays.binarySearch(paramArrayOfInt, paramInt);
  }
  
  public static int binarySearch(short[] paramArrayOfShort, short paramShort)
  {
    return Arrays.binarySearch(paramArrayOfShort, paramShort);
  }
  
  public static int binarySearch(char[] paramArrayOfChar, char paramChar)
  {
    return Arrays.binarySearch(paramArrayOfChar, paramChar);
  }
  
  public static int binarySearch(byte[] paramArrayOfByte, byte paramByte)
  {
    return Arrays.binarySearch(paramArrayOfByte, paramByte);
  }
  
  public static int binarySearch(double[] paramArrayOfDouble, double paramDouble)
  {
    return Arrays.binarySearch(paramArrayOfDouble, paramDouble);
  }
  
  public static int binarySearch(float[] paramArrayOfFloat, float paramFloat)
  {
    return Arrays.binarySearch(paramArrayOfFloat, paramFloat);
  }
  
  public static int binarySearch(Object[] paramArrayOfObject, Object paramObject)
  {
    return Arrays.binarySearch(paramArrayOfObject, paramObject);
  }
  
  public static int binarySearch(Object[] paramArrayOfObject, Object paramObject, Comparator paramComparator)
  {
    return Arrays.binarySearch(paramArrayOfObject, paramObject, paramComparator);
  }
  
  public static boolean equals(long[] paramArrayOfLong1, long[] paramArrayOfLong2)
  {
    return Arrays.equals(paramArrayOfLong1, paramArrayOfLong2);
  }
  
  public static boolean equals(int[] paramArrayOfInt1, int[] paramArrayOfInt2)
  {
    return Arrays.equals(paramArrayOfInt1, paramArrayOfInt2);
  }
  
  public static boolean equals(short[] paramArrayOfShort1, short[] paramArrayOfShort2)
  {
    return Arrays.equals(paramArrayOfShort1, paramArrayOfShort2);
  }
  
  public static boolean equals(char[] paramArrayOfChar1, char[] paramArrayOfChar2)
  {
    return Arrays.equals(paramArrayOfChar1, paramArrayOfChar2);
  }
  
  public static boolean equals(byte[] paramArrayOfByte1, byte[] paramArrayOfByte2)
  {
    return Arrays.equals(paramArrayOfByte1, paramArrayOfByte2);
  }
  
  public static boolean equals(boolean[] paramArrayOfBoolean1, boolean[] paramArrayOfBoolean2)
  {
    return Arrays.equals(paramArrayOfBoolean1, paramArrayOfBoolean2);
  }
  
  public static boolean equals(double[] paramArrayOfDouble1, double[] paramArrayOfDouble2)
  {
    return Arrays.equals(paramArrayOfDouble1, paramArrayOfDouble2);
  }
  
  public static boolean equals(float[] paramArrayOfFloat1, float[] paramArrayOfFloat2)
  {
    return Arrays.equals(paramArrayOfFloat1, paramArrayOfFloat2);
  }
  
  public static boolean equals(Object[] paramArrayOfObject1, Object[] paramArrayOfObject2)
  {
    return Arrays.equals(paramArrayOfObject1, paramArrayOfObject2);
  }
  
  public static void fill(long[] paramArrayOfLong, long paramLong)
  {
    Arrays.fill(paramArrayOfLong, paramLong);
  }
  
  public static void fill(long[] paramArrayOfLong, int paramInt1, int paramInt2, long paramLong)
  {
    Arrays.fill(paramArrayOfLong, paramInt1, paramInt2, paramLong);
  }
  
  public static void fill(int[] paramArrayOfInt, int paramInt)
  {
    Arrays.fill(paramArrayOfInt, paramInt);
  }
  
  public static void fill(int[] paramArrayOfInt, int paramInt1, int paramInt2, int paramInt3)
  {
    Arrays.fill(paramArrayOfInt, paramInt1, paramInt2, paramInt3);
  }
  
  public static void fill(short[] paramArrayOfShort, short paramShort)
  {
    Arrays.fill(paramArrayOfShort, paramShort);
  }
  
  public static void fill(short[] paramArrayOfShort, int paramInt1, int paramInt2, short paramShort)
  {
    Arrays.fill(paramArrayOfShort, paramInt1, paramInt2, paramShort);
  }
  
  public static void fill(char[] paramArrayOfChar, char paramChar)
  {
    Arrays.fill(paramArrayOfChar, paramChar);
  }
  
  public static void fill(char[] paramArrayOfChar, int paramInt1, int paramInt2, char paramChar)
  {
    Arrays.fill(paramArrayOfChar, paramInt1, paramInt2, paramChar);
  }
  
  public static void fill(byte[] paramArrayOfByte, byte paramByte)
  {
    Arrays.fill(paramArrayOfByte, paramByte);
  }
  
  public static void fill(byte[] paramArrayOfByte, int paramInt1, int paramInt2, byte paramByte)
  {
    Arrays.fill(paramArrayOfByte, paramInt1, paramInt2, paramByte);
  }
  
  public static void fill(boolean[] paramArrayOfBoolean, boolean paramBoolean)
  {
    Arrays.fill(paramArrayOfBoolean, paramBoolean);
  }
  
  public static void fill(boolean[] paramArrayOfBoolean, int paramInt1, int paramInt2, boolean paramBoolean)
  {
    Arrays.fill(paramArrayOfBoolean, paramInt1, paramInt2, paramBoolean);
  }
  
  public static void fill(double[] paramArrayOfDouble, double paramDouble)
  {
    Arrays.fill(paramArrayOfDouble, paramDouble);
  }
  
  public static void fill(double[] paramArrayOfDouble, int paramInt1, int paramInt2, double paramDouble)
  {
    Arrays.fill(paramArrayOfDouble, paramInt1, paramInt2, paramDouble);
  }
  
  public static void fill(float[] paramArrayOfFloat, float paramFloat)
  {
    Arrays.fill(paramArrayOfFloat, paramFloat);
  }
  
  public static void fill(float[] paramArrayOfFloat, int paramInt1, int paramInt2, float paramFloat)
  {
    Arrays.fill(paramArrayOfFloat, paramInt1, paramInt2, paramFloat);
  }
  
  public static void fill(Object[] paramArrayOfObject, Object paramObject)
  {
    Arrays.fill(paramArrayOfObject, paramObject);
  }
  
  public static void fill(Object[] paramArrayOfObject, int paramInt1, int paramInt2, Object paramObject)
  {
    Arrays.fill(paramArrayOfObject, paramInt1, paramInt2, paramObject);
  }
  
  public static Object[] copyOf(Object[] paramArrayOfObject, int paramInt)
  {
    return copyOf(paramArrayOfObject, paramInt, paramArrayOfObject.getClass());
  }
  
  public static Object[] copyOf(Object[] paramArrayOfObject, int paramInt, Class paramClass)
  {
    Object[] arrayOfObject = paramClass == Object[].class ? new Object[paramInt] : (Object[])Array.newInstance(paramClass.getComponentType(), paramInt);
    
    int i = paramArrayOfObject.length < paramInt ? paramArrayOfObject.length : paramInt;
    System.arraycopy(paramArrayOfObject, 0, arrayOfObject, 0, i);
    return arrayOfObject;
  }
  
  public static byte[] copyOf(byte[] paramArrayOfByte, int paramInt)
  {
    byte[] arrayOfByte = new byte[paramInt];
    int i = paramArrayOfByte.length < paramInt ? paramArrayOfByte.length : paramInt;
    System.arraycopy(paramArrayOfByte, 0, arrayOfByte, 0, i);
    return arrayOfByte;
  }
  
  public static short[] copyOf(short[] paramArrayOfShort, int paramInt)
  {
    short[] arrayOfShort = new short[paramInt];
    int i = paramArrayOfShort.length < paramInt ? paramArrayOfShort.length : paramInt;
    System.arraycopy(paramArrayOfShort, 0, arrayOfShort, 0, i);
    return arrayOfShort;
  }
  
  public static int[] copyOf(int[] paramArrayOfInt, int paramInt)
  {
    int[] arrayOfInt = new int[paramInt];
    int i = paramArrayOfInt.length < paramInt ? paramArrayOfInt.length : paramInt;
    System.arraycopy(paramArrayOfInt, 0, arrayOfInt, 0, i);
    return arrayOfInt;
  }
  
  public static long[] copyOf(long[] paramArrayOfLong, int paramInt)
  {
    long[] arrayOfLong = new long[paramInt];
    int i = paramArrayOfLong.length < paramInt ? paramArrayOfLong.length : paramInt;
    System.arraycopy(paramArrayOfLong, 0, arrayOfLong, 0, i);
    return arrayOfLong;
  }
  
  public static char[] copyOf(char[] paramArrayOfChar, int paramInt)
  {
    char[] arrayOfChar = new char[paramInt];
    int i = paramArrayOfChar.length < paramInt ? paramArrayOfChar.length : paramInt;
    System.arraycopy(paramArrayOfChar, 0, arrayOfChar, 0, i);
    return arrayOfChar;
  }
  
  public static float[] copyOf(float[] paramArrayOfFloat, int paramInt)
  {
    float[] arrayOfFloat = new float[paramInt];
    int i = paramArrayOfFloat.length < paramInt ? paramArrayOfFloat.length : paramInt;
    System.arraycopy(paramArrayOfFloat, 0, arrayOfFloat, 0, i);
    return arrayOfFloat;
  }
  
  public static double[] copyOf(double[] paramArrayOfDouble, int paramInt)
  {
    double[] arrayOfDouble = new double[paramInt];
    int i = paramArrayOfDouble.length < paramInt ? paramArrayOfDouble.length : paramInt;
    System.arraycopy(paramArrayOfDouble, 0, arrayOfDouble, 0, i);
    return arrayOfDouble;
  }
  
  public static boolean[] copyOf(boolean[] paramArrayOfBoolean, int paramInt)
  {
    boolean[] arrayOfBoolean = new boolean[paramInt];
    int i = paramArrayOfBoolean.length < paramInt ? paramArrayOfBoolean.length : paramInt;
    System.arraycopy(paramArrayOfBoolean, 0, arrayOfBoolean, 0, i);
    return arrayOfBoolean;
  }
  
  public static Object[] copyOfRange(Object[] paramArrayOfObject, int paramInt1, int paramInt2)
  {
    return copyOfRange(paramArrayOfObject, paramInt1, paramInt2, paramArrayOfObject.getClass());
  }
  
  public static Object[] copyOfRange(Object[] paramArrayOfObject, int paramInt1, int paramInt2, Class paramClass)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    Object[] arrayOfObject = paramClass == Object[].class ? new Object[i] : (Object[])Array.newInstance(paramClass.getComponentType(), i);
    
    int j = paramArrayOfObject.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfObject, paramInt1, arrayOfObject, 0, k);
    return arrayOfObject;
  }
  
  public static byte[] copyOfRange(byte[] paramArrayOfByte, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    byte[] arrayOfByte = new byte[i];
    int j = paramArrayOfByte.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfByte, paramInt1, arrayOfByte, 0, k);
    return arrayOfByte;
  }
  
  public static short[] copyOfRange(short[] paramArrayOfShort, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    short[] arrayOfShort = new short[i];
    int j = paramArrayOfShort.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfShort, paramInt1, arrayOfShort, 0, k);
    return arrayOfShort;
  }
  
  public static int[] copyOfRange(int[] paramArrayOfInt, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    int[] arrayOfInt = new int[i];
    int j = paramArrayOfInt.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfInt, paramInt1, arrayOfInt, 0, k);
    return arrayOfInt;
  }
  
  public static long[] copyOfRange(long[] paramArrayOfLong, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    long[] arrayOfLong = new long[i];
    int j = paramArrayOfLong.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfLong, paramInt1, arrayOfLong, 0, k);
    return arrayOfLong;
  }
  
  public static char[] copyOfRange(char[] paramArrayOfChar, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    char[] arrayOfChar = new char[i];
    int j = paramArrayOfChar.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfChar, paramInt1, arrayOfChar, 0, k);
    return arrayOfChar;
  }
  
  public static float[] copyOfRange(float[] paramArrayOfFloat, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    float[] arrayOfFloat = new float[i];
    int j = paramArrayOfFloat.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfFloat, paramInt1, arrayOfFloat, 0, k);
    return arrayOfFloat;
  }
  
  public static double[] copyOfRange(double[] paramArrayOfDouble, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    double[] arrayOfDouble = new double[i];
    int j = paramArrayOfDouble.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfDouble, paramInt1, arrayOfDouble, 0, k);
    return arrayOfDouble;
  }
  
  public static boolean[] copyOfRange(boolean[] paramArrayOfBoolean, int paramInt1, int paramInt2)
  {
    int i = paramInt2 - paramInt1;
    if (i < 0) {
      throw new IllegalArgumentException(paramInt1 + " > " + paramInt2);
    }
    boolean[] arrayOfBoolean = new boolean[i];
    int j = paramArrayOfBoolean.length - paramInt1;
    int k = j < i ? j : i;
    System.arraycopy(paramArrayOfBoolean, paramInt1, arrayOfBoolean, 0, k);
    return arrayOfBoolean;
  }
  
  public static List asList(Object[] paramArrayOfObject)
  {
    return Arrays.asList(paramArrayOfObject);
  }
  
  public static int hashCode(long[] paramArrayOfLong)
  {
    if (paramArrayOfLong == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfLong.length; j++)
    {
      long l = paramArrayOfLong[j];
      i = 31 * i + (int)(l ^ l >>> 32);
    }
    return i;
  }
  
  public static int hashCode(int[] paramArrayOfInt)
  {
    if (paramArrayOfInt == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfInt.length; j++) {
      i = 31 * i + paramArrayOfInt[j];
    }
    return i;
  }
  
  public static int hashCode(short[] paramArrayOfShort)
  {
    if (paramArrayOfShort == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfShort.length; j++) {
      i = 31 * i + paramArrayOfShort[j];
    }
    return i;
  }
  
  public static int hashCode(char[] paramArrayOfChar)
  {
    if (paramArrayOfChar == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfChar.length; j++) {
      i = 31 * i + paramArrayOfChar[j];
    }
    return i;
  }
  
  public static int hashCode(byte[] paramArrayOfByte)
  {
    if (paramArrayOfByte == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfByte.length; j++) {
      i = 31 * i + paramArrayOfByte[j];
    }
    return i;
  }
  
  public static int hashCode(boolean[] paramArrayOfBoolean)
  {
    if (paramArrayOfBoolean == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfBoolean.length; j++) {
      i = 31 * i + (paramArrayOfBoolean[j] != 0 ? 1231 : 1237);
    }
    return i;
  }
  
  public static int hashCode(float[] paramArrayOfFloat)
  {
    if (paramArrayOfFloat == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfFloat.length; j++) {
      i = 31 * i + Float.floatToIntBits(paramArrayOfFloat[j]);
    }
    return i;
  }
  
  public static int hashCode(double[] paramArrayOfDouble)
  {
    if (paramArrayOfDouble == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfDouble.length; j++)
    {
      long l = Double.doubleToLongBits(paramArrayOfDouble[j]);
      i = 31 * i + (int)(l ^ l >>> 32);
    }
    return i;
  }
  
  public static int hashCode(Object[] paramArrayOfObject)
  {
    if (paramArrayOfObject == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfObject.length; j++)
    {
      Object localObject = paramArrayOfObject[j];
      i = 31 * i + (localObject == null ? 0 : localObject.hashCode());
    }
    return i;
  }
  
  public static int deepHashCode(Object[] paramArrayOfObject)
  {
    if (paramArrayOfObject == null) {
      return 0;
    }
    int i = 1;
    for (int j = 0; j < paramArrayOfObject.length; j++)
    {
      Object localObject = paramArrayOfObject[j];
      i = 31 * i + (localObject != null ? localObject.hashCode() : (localObject instanceof double[]) ? hashCode((double[])localObject) : (localObject instanceof float[]) ? hashCode((float[])localObject) : (localObject instanceof boolean[]) ? hashCode((boolean[])localObject) : (localObject instanceof char[]) ? hashCode((char[])localObject) : (localObject instanceof long[]) ? hashCode((long[])localObject) : (localObject instanceof int[]) ? hashCode((int[])localObject) : (localObject instanceof short[]) ? hashCode((short[])localObject) : (localObject instanceof byte[]) ? hashCode((byte[])localObject) : (localObject instanceof Object[]) ? deepHashCode((Object[])localObject) : 0);
    }
    return i;
  }
  
  public static boolean deepEquals(Object[] paramArrayOfObject1, Object[] paramArrayOfObject2)
  {
    if (paramArrayOfObject1 == paramArrayOfObject2) {
      return true;
    }
    if ((paramArrayOfObject1 == null) || (paramArrayOfObject2 == null)) {
      return false;
    }
    int i = paramArrayOfObject1.length;
    if (i != paramArrayOfObject2.length) {
      return false;
    }
    for (int j = 0; j < i; j++)
    {
      Object localObject1 = paramArrayOfObject1[j];
      Object localObject2 = paramArrayOfObject2[j];
      if (localObject1 != localObject2)
      {
        if (localObject1 == null) {
          return false;
        }
        boolean bool = ((localObject1 instanceof double[])) && ((localObject2 instanceof double[])) ? equals((double[])localObject1, (double[])localObject2) : ((localObject1 instanceof float[])) && ((localObject2 instanceof float[])) ? equals((float[])localObject1, (float[])localObject2) : ((localObject1 instanceof boolean[])) && ((localObject2 instanceof boolean[])) ? equals((boolean[])localObject1, (boolean[])localObject2) : ((localObject1 instanceof char[])) && ((localObject2 instanceof char[])) ? equals((char[])localObject1, (char[])localObject2) : ((localObject1 instanceof long[])) && ((localObject2 instanceof long[])) ? equals((long[])localObject1, (long[])localObject2) : ((localObject1 instanceof int[])) && ((localObject2 instanceof int[])) ? equals((int[])localObject1, (int[])localObject2) : ((localObject1 instanceof short[])) && ((localObject2 instanceof short[])) ? equals((short[])localObject1, (short[])localObject2) : ((localObject1 instanceof byte[])) && ((localObject2 instanceof byte[])) ? equals((byte[])localObject1, (byte[])localObject2) : ((localObject1 instanceof Object[])) && ((localObject2 instanceof Object[])) ? deepEquals((Object[])localObject1, (Object[])localObject2) : (localObject1.getClass() != localObject2.getClass()) || (localObject1.getClass().isArray()) ? localObject1.equals(localObject2) : localObject1.equals(localObject2);
        if (!bool) {
          return false;
        }
      }
    }
    return true;
  }
  
  public static String toString(long[] paramArrayOfLong)
  {
    if (paramArrayOfLong == null) {
      return "null";
    }
    if (paramArrayOfLong.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfLong[0]);
    for (int i = 1; i < paramArrayOfLong.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfLong[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(int[] paramArrayOfInt)
  {
    if (paramArrayOfInt == null) {
      return "null";
    }
    if (paramArrayOfInt.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfInt[0]);
    for (int i = 1; i < paramArrayOfInt.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfInt[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(short[] paramArrayOfShort)
  {
    if (paramArrayOfShort == null) {
      return "null";
    }
    if (paramArrayOfShort.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfShort[0]);
    for (int i = 1; i < paramArrayOfShort.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfShort[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(char[] paramArrayOfChar)
  {
    if (paramArrayOfChar == null) {
      return "null";
    }
    if (paramArrayOfChar.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfChar[0]);
    for (int i = 1; i < paramArrayOfChar.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfChar[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(byte[] paramArrayOfByte)
  {
    if (paramArrayOfByte == null) {
      return "null";
    }
    if (paramArrayOfByte.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfByte[0]);
    for (int i = 1; i < paramArrayOfByte.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfByte[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(boolean[] paramArrayOfBoolean)
  {
    if (paramArrayOfBoolean == null) {
      return "null";
    }
    if (paramArrayOfBoolean.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfBoolean[0]);
    for (int i = 1; i < paramArrayOfBoolean.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfBoolean[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(float[] paramArrayOfFloat)
  {
    if (paramArrayOfFloat == null) {
      return "null";
    }
    if (paramArrayOfFloat.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfFloat[0]);
    for (int i = 1; i < paramArrayOfFloat.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfFloat[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(double[] paramArrayOfDouble)
  {
    if (paramArrayOfDouble == null) {
      return "null";
    }
    if (paramArrayOfDouble.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfDouble[0]);
    for (int i = 1; i < paramArrayOfDouble.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfDouble[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String toString(Object[] paramArrayOfObject)
  {
    if (paramArrayOfObject == null) {
      return "null";
    }
    if (paramArrayOfObject.length == 0) {
      return "[]";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    localStringBuffer.append('[').append(paramArrayOfObject[0]);
    for (int i = 1; i < paramArrayOfObject.length; i++) {
      localStringBuffer.append(", ").append(paramArrayOfObject[i]);
    }
    localStringBuffer.append(']');
    return localStringBuffer.toString();
  }
  
  public static String deepToString(Object[] paramArrayOfObject)
  {
    if (paramArrayOfObject == null) {
      return "null";
    }
    StringBuffer localStringBuffer = new StringBuffer();
    deepToString(paramArrayOfObject, localStringBuffer, new ArrayList());
    return localStringBuffer.toString();
  }
  
  private static void deepToString(Object[] paramArrayOfObject, StringBuffer paramStringBuffer, List paramList)
  {
    paramList.add(paramArrayOfObject);
    paramStringBuffer.append('[');
    for (int i = 0; i < paramArrayOfObject.length; i++)
    {
      if (i > 0) {
        paramStringBuffer.append(", ");
      }
      Object localObject = paramArrayOfObject[i];
      if (localObject == null) {
        paramStringBuffer.append("null");
      } else if (!localObject.getClass().isArray()) {
        paramStringBuffer.append(localObject.toString());
      } else if ((localObject instanceof Object[]))
      {
        if (paramList.contains(localObject)) {
          paramStringBuffer.append("[...]");
        } else {
          deepToString((Object[])localObject, paramStringBuffer, paramList);
        }
      }
      else {
        paramStringBuffer.append((localObject instanceof double[]) ? toString((double[])localObject) : (localObject instanceof float[]) ? toString((float[])localObject) : (localObject instanceof boolean[]) ? toString((boolean[])localObject) : (localObject instanceof char[]) ? toString((char[])localObject) : (localObject instanceof long[]) ? toString((long[])localObject) : (localObject instanceof int[]) ? toString((int[])localObject) : (localObject instanceof short[]) ? toString((short[])localObject) : (localObject instanceof byte[]) ? toString((byte[])localObject) : "");
      }
    }
    paramStringBuffer.append(']');
    paramList.remove(paramList.size() - 1);
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.WMSArrays
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$1
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 535148490883208361L;
  
  WMSTimeUnit$1(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return paramLong;
  }
  
  public long toMicros(long paramLong)
  {
    return paramLong / 1000L;
  }
  
  public long toMillis(long paramLong)
  {
    return paramLong / 1000000L;
  }
  
  public long toSeconds(long paramLong)
  {
    return paramLong / 1000000000L;
  }
  
  public long toMinutes(long paramLong)
  {
    return paramLong / 60000000000L;
  }
  
  public long toHours(long paramLong)
  {
    return paramLong / 3600000000000L;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 86400000000000L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toNanos(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return (int)(paramLong1 - paramLong2 * 1000000L);
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.1
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$2
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 2185906575929579108L;
  
  WMSTimeUnit$2(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 1000L, 9223372036854775L);
  }
  
  public long toMicros(long paramLong)
  {
    return paramLong;
  }
  
  public long toMillis(long paramLong)
  {
    return paramLong / 1000L;
  }
  
  public long toSeconds(long paramLong)
  {
    return paramLong / 1000000L;
  }
  
  public long toMinutes(long paramLong)
  {
    return paramLong / 60000000L;
  }
  
  public long toHours(long paramLong)
  {
    return paramLong / 3600000000L;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 86400000000L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toMicros(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return (int)(paramLong1 * 1000L - paramLong2 * 1000000L);
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.2
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$3
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 9032047794123325184L;
  
  WMSTimeUnit$3(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 1000000L, 9223372036854L);
  }
  
  public long toMicros(long paramLong)
  {
    return x(paramLong, 1000L, 9223372036854775L);
  }
  
  public long toMillis(long paramLong)
  {
    return paramLong;
  }
  
  public long toSeconds(long paramLong)
  {
    return paramLong / 1000L;
  }
  
  public long toMinutes(long paramLong)
  {
    return paramLong / 60000L;
  }
  
  public long toHours(long paramLong)
  {
    return paramLong / 3600000L;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 86400000L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toMillis(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return 0;
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.3
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$4
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 227755028449378390L;
  
  WMSTimeUnit$4(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 1000000000L, 9223372036L);
  }
  
  public long toMicros(long paramLong)
  {
    return x(paramLong, 1000000L, 9223372036854L);
  }
  
  public long toMillis(long paramLong)
  {
    return x(paramLong, 1000L, 9223372036854775L);
  }
  
  public long toSeconds(long paramLong)
  {
    return paramLong;
  }
  
  public long toMinutes(long paramLong)
  {
    return paramLong / 60L;
  }
  
  public long toHours(long paramLong)
  {
    return paramLong / 3600L;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 86400L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toSeconds(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return 0;
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.4
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$5
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 1827351566402609187L;
  
  WMSTimeUnit$5(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 60000000000L, 153722867L);
  }
  
  public long toMicros(long paramLong)
  {
    return x(paramLong, 60000000L, 153722867280L);
  }
  
  public long toMillis(long paramLong)
  {
    return x(paramLong, 60000L, 153722867280912L);
  }
  
  public long toSeconds(long paramLong)
  {
    return x(paramLong, 60L, 153722867280912930L);
  }
  
  public long toMinutes(long paramLong)
  {
    return paramLong;
  }
  
  public long toHours(long paramLong)
  {
    return paramLong / 60L;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 1440L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toMinutes(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return 0;
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.5
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$6
  extends WMSTimeUnit
{
  private static final long serialVersionUID = -6438436134732089810L;
  
  WMSTimeUnit$6(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 3600000000000L, 2562047L);
  }
  
  public long toMicros(long paramLong)
  {
    return x(paramLong, 3600000000L, 2562047788L);
  }
  
  public long toMillis(long paramLong)
  {
    return x(paramLong, 3600000L, 2562047788015L);
  }
  
  public long toSeconds(long paramLong)
  {
    return x(paramLong, 3600L, 2562047788015215L);
  }
  
  public long toMinutes(long paramLong)
  {
    return x(paramLong, 60L, 153722867280912930L);
  }
  
  public long toHours(long paramLong)
  {
    return paramLong;
  }
  
  public long toDays(long paramLong)
  {
    return paramLong / 24L;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toHours(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return 0;
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.6
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

final class WMSTimeUnit$7
  extends WMSTimeUnit
{
  private static final long serialVersionUID = 567463171959674600L;
  
  WMSTimeUnit$7(int paramInt, String paramString)
  {
    super(paramInt, paramString);
  }
  
  public long toNanos(long paramLong)
  {
    return x(paramLong, 86400000000000L, 106751L);
  }
  
  public long toMicros(long paramLong)
  {
    return x(paramLong, 86400000000L, 106751991L);
  }
  
  public long toMillis(long paramLong)
  {
    return x(paramLong, 86400000L, 106751991167L);
  }
  
  public long toSeconds(long paramLong)
  {
    return x(paramLong, 86400L, 106751991167300L);
  }
  
  public long toMinutes(long paramLong)
  {
    return x(paramLong, 1440L, 6405119470038038L);
  }
  
  public long toHours(long paramLong)
  {
    return x(paramLong, 24L, 384307168202282325L);
  }
  
  public long toDays(long paramLong)
  {
    return paramLong;
  }
  
  public long convert(long paramLong, WMSTimeUnit paramWMSTimeUnit)
  {
    return paramWMSTimeUnit.toDays(paramLong);
  }
  
  int excessNanos(long paramLong1, long paramLong2)
  {
    return 0;
  }
}

/* Location:
 * Qualified Name:     edu.emory.mathcs.backport.java.util.concurrent.WMSTimeUnit.7
 * Java Class Version: 6 (50.0)
 * JD-Core Version:    0.7.1
 */
package edu.emory.mathcs.backport.java.util.concurrent;

import java.io.InvalidObjectException;
import java.io.ObjectStreamException;
import java.io.Serializable;

public abstract class WMSTimeUnit
  implements Serializable
{
  public static final WMSTimeUnit NANOSECONDS = new WMSTimeUnit(0, "NANOSECONDS")
  {
    private static final long serialVersionUID = 535148490883208361L;
    
    public long toNanos(long paramAnonymousLong)
    {
      return paramAnonymousLong;
    }
    
    public long toMicros(long paramAnonymousLong)
    {
      return paramAnonymousLong / 1000L;
    }
    
    public long toMillis(long paramAnonymousLong)
    {
      return paramAnonymousLong / 1000000L;
    }
    
    public long toSeconds(long paramAnonymousLong)
    {
      return paramAnonymousLong / 1000000000L;
    }
    
    public long toMinutes(long paramAnonymousLong)
    {
      return paramAnonymousLong / 60000000000L;
    }
    
    public long toHours(long paramAnonymousLong)
    {
      return paramAnonymousLong / 3600000000000L;
    }
    
    public long toDays(long paramAnonymousLong)
    {
      return paramAnonymousLong / 86400000000000L;
    }
    
    public long convert(long paramAnonymousLong, WMSTimeUnit paramAnonymousWMSTimeUnit)
    {
      return paramAnonymousWMSTimeUnit.toNanos(paramAnonymousLong);
    }
    
    int excessNanos(long paramAnonymousLong1, long paramAnonymousLong2)
    {
      return (int)(paramAnonymousLong1 - paramAnonymousLong2 * 1000000L);
    }
  };
  public static final WMSTimeUnit MICROSECONDS = new WMSTimeUnit(1, "MICROSECONDS")
  {
    private static final long serialVersionUID = 2185906575929579108L;
    
    public long toNanos(long paramAnonymousLong)
    {
      return x(paramAnonymousLong, 1000L, 9223372036854775L);
    }
    
    public long toMicros(long paramAnonymousLong)
    {
      return paramAnonymousLong;
    }
    
    public long toMillis(long paramAnonymousLong)
    {
      return paramAnonymousLong / 1000L;
    }
    
    public long toSeconds(long paramAnonymousLong)
    {
      return paramAnonymousLong / 1000000L;
    }
    
    public long toMinutes(long paramAnonymousLong)
    {
      return paramAnonymousLong / 60000000L;
    }
    
    public long toHours(long paramAnonymousLong)
    {
      return paramAnonymousLong / 3600000000L;
    }
    
    public long toDays(long paramAnonymousLong)
    {
      return paramAnonymousLong / 86400000000L;
    }
    
    public long convert(long paramAnonymousLong, WMSTimeUnit paramAnonymousWMSTimeUnit)
    {
      return paramAnonymousWMSTimeUnit.toMicros(paramAnonymousLong);
    }
    
    int excessNanos(long paramAnonymousLong1, long paramAnonymousLong2)
    {
      return (int)(paramAnonymousLong1 * 1000L - paramAnonymousLong2 * 1000000L);
    }
  };
  public static final WMSTimeUnit MILLISECONDS = new WMSTimeUnit(2, "MILLISECONDS")
  {
    private static final long serialV
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd