@@ -68,117 +68,117 @@ public final class ConvertTypes<C extends ComplexType<C>, T extends IntegerType<
6868
6969 @ OpField (names = "convert.bit" )
7070 @ Parameter (key = "input" )
71- @ Parameter (key = "output" , type = ItemIO .BOTH )
71+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
7272 public final Computer <C , BitType > complexToBit = (input , output ) -> output .set (input .getRealDouble () != 0 );
7373
7474 @ OpField (names = "convert.bit" )
7575 @ Parameter (key = "input" )
76- @ Parameter (key = "output" , type = ItemIO .BOTH )
76+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
7777 public final Computer <T , BitType > integerToBit = (input , output ) -> output .set (input .getIntegerLong () != 0 );
7878
7979 @ OpField (names = "convert.uint2" )
8080 @ Parameter (key = "input" )
81- @ Parameter (key = "output" , type = ItemIO .BOTH )
81+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
8282 public final Computer <C , Unsigned2BitType > complexToUint2 = (input , output ) -> output .set ((long ) input .getRealDouble ());
8383
8484 @ OpField (names = "convert.uint2" )
8585 @ Parameter (key = "input" )
86- @ Parameter (key = "output" , type = ItemIO .BOTH )
86+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
8787 public final Computer <T , Unsigned2BitType > integerToUint2 = (input , output ) -> output .set (input .getIntegerLong ());
8888
8989 @ OpField (names = "convert.uint4" )
9090 @ Parameter (key = "input" )
91- @ Parameter (key = "output" , type = ItemIO .BOTH )
91+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
9292 public final Computer <C , Unsigned4BitType > complexToUint4 = (input , output ) -> output .set ((long ) input .getRealDouble ());
9393
9494 @ OpField (names = "convert.uint4" )
9595 @ Parameter (key = "input" )
96- @ Parameter (key = "output" , type = ItemIO .BOTH )
96+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
9797 public final Computer <T , Unsigned4BitType > integerToUint4 = (input , output ) -> output .set (input .getIntegerLong ());
9898
9999 @ OpField (names = "convert.byte" )
100100 @ Parameter (key = "input" )
101- @ Parameter (key = "output" , type = ItemIO .BOTH )
101+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
102102 public final Computer <C , ByteType > complexToInt8 = (input , output ) -> output .set ((byte ) input .getRealDouble ());
103103
104104 @ OpField (names = "convert.byte" )
105105 @ Parameter (key = "input" )
106- @ Parameter (key = "output" , type = ItemIO .BOTH )
106+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
107107 public final Computer <T , ByteType > integerToInt8 = (input , output ) -> output .set ((byte ) input .getIntegerLong ());
108108
109109 @ OpField (names = "convert.uint8" )
110110 @ Parameter (key = "input" )
111- @ Parameter (key = "output" , type = ItemIO .BOTH )
111+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
112112 public final Computer <C , UnsignedByteType > complexToUint8 = (input , output ) -> output .set ((int ) input .getRealDouble ());
113113
114114 @ OpField (names = "convert.uint8" )
115115 @ Parameter (key = "input" )
116- @ Parameter (key = "output" , type = ItemIO .BOTH )
116+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
117117 public final Computer <T , UnsignedByteType > integerToUint8 = (input , output ) -> output .set (input .getInteger ());
118118
119119 @ OpField (names = "convert.uint12" )
120120 @ Parameter (key = "input" )
121- @ Parameter (key = "output" , type = ItemIO .BOTH )
121+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
122122 public final Computer <C , Unsigned12BitType > complexToUint12 = (input , output ) -> output .set ((long ) input .getRealDouble ());
123123
124124 @ OpField (names = "convert.uint12" )
125125 @ Parameter (key = "input" )
126- @ Parameter (key = "output" , type = ItemIO .BOTH )
126+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
127127 public final Computer <T , Unsigned12BitType > integerToUint12 = (input , output ) -> output .set (input .getIntegerLong ());
128128
129129 @ OpField (names = "convert.int16" )
130130 @ Parameter (key = "input" )
131- @ Parameter (key = "output" , type = ItemIO .BOTH )
131+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
132132 public final Computer <C , ShortType > complexToInt16 = (input , output ) -> output .set ((short ) input .getRealDouble ());
133133
134134 @ OpField (names = "convert.int16" )
135135 @ Parameter (key = "input" )
136- @ Parameter (key = "output" , type = ItemIO .BOTH )
136+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
137137 public final Computer <T , ShortType > integerToInt16 = (input , output ) -> output .set ((short ) input .getIntegerLong ());
138138
139139 @ OpField (names = "convert.uint16" )
140140 @ Parameter (key = "input" )
141- @ Parameter (key = "output" , type = ItemIO .BOTH )
141+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
142142 public final Computer <C , UnsignedShortType > complexToUint16 = (input , output ) -> output .set ((int ) input .getRealDouble ());
143143
144144 @ OpField (names = "convert.uint16" )
145145 @ Parameter (key = "input" )
146- @ Parameter (key = "output" , type = ItemIO .BOTH )
146+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
147147 public final Computer <T , UnsignedShortType > integerToUint16 = (input , output ) -> output .set (input .getInteger ());
148148
149149 @ OpField (names = "convert.int32" )
150150 @ Parameter (key = "input" )
151- @ Parameter (key = "output" , type = ItemIO .BOTH )
151+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
152152 public final Computer <C , IntType > complexToInt32 = (input , output ) -> output .set ((int ) input .getRealDouble ());
153153
154154 @ OpField (names = "convert.int32" )
155155 @ Parameter (key = "input" )
156- @ Parameter (key = "output" , type = ItemIO .BOTH )
156+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
157157 public final Computer <T , IntType > integerToInt32 = (input , output ) -> output .set (input .getInteger ());
158158
159159 @ OpField (names = "convert.uint32" )
160160 @ Parameter (key = "input" )
161- @ Parameter (key = "output" , type = ItemIO .BOTH )
161+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
162162 public final Computer <C , UnsignedIntType > complexToUint32 = (input , output ) -> output .set ((long ) input .getRealDouble ());
163163
164164 @ OpField (names = "convert.uint32" )
165165 @ Parameter (key = "input" )
166- @ Parameter (key = "output" , type = ItemIO .BOTH )
166+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
167167 public final Computer <T , UnsignedIntType > integerToUint32 = (input , output ) -> output .set (input .getIntegerLong ());
168168
169169 @ OpField (names = "convert.int64" )
170170 @ Parameter (key = "input" )
171- @ Parameter (key = "output" , type = ItemIO .BOTH )
171+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
172172 public final Computer <C , LongType > complexToInt64 = (input , output ) -> output .set ((long ) input .getRealDouble ());
173173
174174 @ OpField (names = "convert.int64" )
175175 @ Parameter (key = "input" )
176- @ Parameter (key = "output" , type = ItemIO .BOTH )
176+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
177177 public final Computer <T , LongType > integerToInt64 = (input , output ) -> output .set (input .getIntegerLong ());
178178
179179 @ OpField (names = "convert.uint64" )
180180 @ Parameter (key = "input" )
181- @ Parameter (key = "output" , type = ItemIO .BOTH )
181+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
182182 public final Computer <C , UnsignedLongType > complexToUint64 = (input , output ) -> {
183183 final BigDecimal bd = BigDecimal .valueOf (input .getRealDouble ());
184184 final BigDecimal r = bd .remainder (BigDecimal .ONE );
@@ -191,7 +191,7 @@ public final class ConvertTypes<C extends ComplexType<C>, T extends IntegerType<
191191
192192 @ OpField (names = "convert.uint128" )
193193 @ Parameter (key = "input" )
194- @ Parameter (key = "output" , type = ItemIO .BOTH )
194+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
195195 public final Computer <C , Unsigned128BitType > complexToUint128 = (input , output ) -> {
196196 final BigDecimal bd = BigDecimal .valueOf (input .getRealDouble ());
197197 final BigDecimal r = bd .remainder (BigDecimal .ONE );
@@ -204,28 +204,28 @@ public final class ConvertTypes<C extends ComplexType<C>, T extends IntegerType<
204204
205205 @ OpField (names = "convert.uint128" )
206206 @ Parameter (key = "input" )
207- @ Parameter (key = "output" , type = ItemIO .BOTH )
207+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
208208 public final Computer <T , Unsigned128BitType > integerToUint128 = (input , output ) -> output .set (input .getBigInteger ());
209209
210210 @ OpField (names = "convert.float32" )
211211 @ Parameter (key = "input" )
212- @ Parameter (key = "output" , type = ItemIO .BOTH )
212+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
213213 public final Computer <C , FloatType > complexToFloat32 = (input , output ) -> output .set (input .getRealFloat ());
214214
215215 @ OpField (names = "convert.cfloat32" )
216216 @ Parameter (key = "input" )
217- @ Parameter (key = "output" , type = ItemIO .BOTH )
217+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
218218 public final Computer <C , ComplexFloatType > complexToCfloat32 = (input , output ) -> output .set (input .getRealFloat (),
219219 input .getImaginaryFloat ());
220220
221221 @ OpField (names = "convert.float64" )
222222 @ Parameter (key = "input" )
223- @ Parameter (key = "output" , type = ItemIO .BOTH )
223+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
224224 public final Computer <C , DoubleType > complexToFloat64 = (input , output ) -> output .set (input .getRealDouble ());
225225
226226 @ OpField (names = "convert.cfloat64" )
227227 @ Parameter (key = "input" )
228- @ Parameter (key = "output" , type = ItemIO .BOTH )
228+ @ Parameter (key = "output" , itemIO = ItemIO .BOTH )
229229 public final Computer <C , ComplexDoubleType > complexToCfloat64 = (input , output ) -> output .set (input .getRealDouble (),
230230 input .getImaginaryDouble ());
231231}
0 commit comments