Lines Matching refs:doubles
33 private final double[] doubles; field in EnumDoubles
43 this.doubles = new double[enumConstants.length]; in EnumDoubles()
48 return doubles[e.ordinal()]; in get()
53 for(int i = 0; i < doubles.length; i++) { in negation()
54 doubles[i] = -doubles[i]; in negation()
60 doubles[e.ordinal()] = value; in set()
65 for(int i = 0; i < doubles.length; i++) { in set()
66 this.doubles[i] = that.doubles[i]; in set()
72 for(int i = 0; i < doubles.length; i++) { in reset()
73 this.doubles[i] = 0.0; in reset()
79 doubles[e.ordinal()] += value; in add()
84 for(int i = 0; i < doubles.length; i++) { in add()
85 this.doubles[i] += that.doubles[i]; in add()
91 doubles[e.ordinal()] -= value; in subtract()
96 for(int i = 0; i < doubles.length; i++) { in subtract()
97 this.doubles[i] -= that.doubles[i]; in subtract()
110 && Arrays.equals(this.doubles, that.doubles); in equals()
115 return Arrays.hashCode(doubles); in hashCode()
122 for(int i = 0; i < doubles.length; i++) { in toString()
124 b.append(name).append("=").append(doubles[i]).append(", "); in toString()