コード例 #1
0
  protected ImmutableTabledArray0008Byte(
      final boolean checked,
      final int definedAsValues,
      final int length,
      final @NotNull byte... values) {
    super(checked, definedAsValues + 4, length, values);
    final int len = values.length;

    if (len >= 7) {
      this.value0007 = ArrayAccess.UNCHECKED.get(7, values);
    } else {
      this.value0007 = 0;
    }

    if (len >= 6) {
      this.value0006 = ArrayAccess.UNCHECKED.get(6, values);
    } else {
      this.value0006 = 0;
    }

    if (len >= 5) {
      this.value0005 = ArrayAccess.UNCHECKED.get(5, values);
    } else {
      this.value0005 = 0;
    }

    if (len >= 4) {
      this.value0004 = ArrayAccess.UNCHECKED.get(4, values);
    } else {
      this.value0004 = 0;
    }
  }
コード例 #2
0
  protected MutableTabledArray0016Char(
      final boolean checked,
      final int definedAsValues,
      final int length,
      final @NotNull char... values) {
    super(checked, definedAsValues + 8, length, values);
    final int len = values.length;

    if (len >= 15) {
      this.value0015 = ArrayAccess.UNCHECKED.get(15, values);
    } else {
      this.value0015 = 0;
    }

    if (len >= 14) {
      this.value0014 = ArrayAccess.UNCHECKED.get(14, values);
    } else {
      this.value0014 = 0;
    }

    if (len >= 13) {
      this.value0013 = ArrayAccess.UNCHECKED.get(13, values);
    } else {
      this.value0013 = 0;
    }

    if (len >= 12) {
      this.value0012 = ArrayAccess.UNCHECKED.get(12, values);
    } else {
      this.value0012 = 0;
    }

    if (len >= 11) {
      this.value0011 = ArrayAccess.UNCHECKED.get(11, values);
    } else {
      this.value0011 = 0;
    }

    if (len >= 10) {
      this.value0010 = ArrayAccess.UNCHECKED.get(10, values);
    } else {
      this.value0010 = 0;
    }

    if (len >= 9) {
      this.value0009 = ArrayAccess.UNCHECKED.get(9, values);
    } else {
      this.value0009 = 0;
    }

    if (len >= 8) {
      this.value0008 = ArrayAccess.UNCHECKED.get(8, values);
    } else {
      this.value0008 = 0;
    }
  }
コード例 #3
0
  protected ImmutableTabledArray0032Float(
      final boolean checked,
      final int definedAsValues,
      final int length,
      final @NotNull float... values) {
    super(checked, definedAsValues + 16, length, values);
    final int len = values.length;

    if (len >= 31) {
      this.value0031 = ArrayAccess.UNCHECKED.get(31, values);
    } else {
      this.value0031 = Float.NaN;
    }

    if (len >= 30) {
      this.value0030 = ArrayAccess.UNCHECKED.get(30, values);
    } else {
      this.value0030 = Float.NaN;
    }

    if (len >= 29) {
      this.value0029 = ArrayAccess.UNCHECKED.get(29, values);
    } else {
      this.value0029 = Float.NaN;
    }

    if (len >= 28) {
      this.value0028 = ArrayAccess.UNCHECKED.get(28, values);
    } else {
      this.value0028 = Float.NaN;
    }

    if (len >= 27) {
      this.value0027 = ArrayAccess.UNCHECKED.get(27, values);
    } else {
      this.value0027 = Float.NaN;
    }

    if (len >= 26) {
      this.value0026 = ArrayAccess.UNCHECKED.get(26, values);
    } else {
      this.value0026 = Float.NaN;
    }

    if (len >= 25) {
      this.value0025 = ArrayAccess.UNCHECKED.get(25, values);
    } else {
      this.value0025 = Float.NaN;
    }

    if (len >= 24) {
      this.value0024 = ArrayAccess.UNCHECKED.get(24, values);
    } else {
      this.value0024 = Float.NaN;
    }

    if (len >= 23) {
      this.value0023 = ArrayAccess.UNCHECKED.get(23, values);
    } else {
      this.value0023 = Float.NaN;
    }

    if (len >= 22) {
      this.value0022 = ArrayAccess.UNCHECKED.get(22, values);
    } else {
      this.value0022 = Float.NaN;
    }

    if (len >= 21) {
      this.value0021 = ArrayAccess.UNCHECKED.get(21, values);
    } else {
      this.value0021 = Float.NaN;
    }

    if (len >= 20) {
      this.value0020 = ArrayAccess.UNCHECKED.get(20, values);
    } else {
      this.value0020 = Float.NaN;
    }

    if (len >= 19) {
      this.value0019 = ArrayAccess.UNCHECKED.get(19, values);
    } else {
      this.value0019 = Float.NaN;
    }

    if (len >= 18) {
      this.value0018 = ArrayAccess.UNCHECKED.get(18, values);
    } else {
      this.value0018 = Float.NaN;
    }

    if (len >= 17) {
      this.value0017 = ArrayAccess.UNCHECKED.get(17, values);
    } else {
      this.value0017 = Float.NaN;
    }

    if (len >= 16) {
      this.value0016 = ArrayAccess.UNCHECKED.get(16, values);
    } else {
      this.value0016 = Float.NaN;
    }
  }