Delete jet.runtime.Ranges intrinsics

All these "rangeTo" methods were pretty small and could be generated just right
into "rangeTo" function calls
This commit is contained in:
Alexander Udalov
2014-02-10 23:29:50 +04:00
parent 9537b68724
commit 9efdd136ba
3 changed files with 46 additions and 310 deletions
+1 -198
View File
@@ -16,206 +16,9 @@
package jet.runtime;
import jet.*;
import jet.IntRange;
/* This file is generated by org.jetbrains.jet.generators.builtins.GenerateRangeIntrinsics. DO NOT EDIT! */
public class Ranges {
public static ByteRange rangeTo(byte from, byte to) {
return new ByteRange(from, to);
}
public static ShortRange rangeTo(byte from, short to) {
return new ShortRange(from, to);
}
public static IntRange rangeTo(byte from, int to) {
return new IntRange(from, to);
}
public static LongRange rangeTo(byte from, long to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(byte from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(byte from, double to) {
return new DoubleRange(from, to);
}
public static CharRange rangeTo(byte from, char to) {
return new CharRange((char) from, to);
}
public static ShortRange rangeTo(short from, byte to) {
return new ShortRange(from, to);
}
public static ShortRange rangeTo(short from, short to) {
return new ShortRange(from, to);
}
public static IntRange rangeTo(short from, int to) {
return new IntRange(from, to);
}
public static LongRange rangeTo(short from, long to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(short from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(short from, double to) {
return new DoubleRange(from, to);
}
public static ShortRange rangeTo(short from, char to) {
return new ShortRange(from, (short) to);
}
public static IntRange rangeTo(int from, byte to) {
return new IntRange(from, to);
}
public static IntRange rangeTo(int from, short to) {
return new IntRange(from, to);
}
public static IntRange rangeTo(int from, int to) {
return new IntRange(from, to);
}
public static LongRange rangeTo(int from, long to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(int from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(int from, double to) {
return new DoubleRange(from, to);
}
public static IntRange rangeTo(int from, char to) {
return new IntRange(from, to);
}
public static LongRange rangeTo(long from, byte to) {
return new LongRange(from, to);
}
public static LongRange rangeTo(long from, short to) {
return new LongRange(from, to);
}
public static LongRange rangeTo(long from, int to) {
return new LongRange(from, to);
}
public static LongRange rangeTo(long from, long to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(long from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(long from, double to) {
return new DoubleRange(from, to);
}
public static LongRange rangeTo(long from, char to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(float from, byte to) {
return new FloatRange(from, to);
}
public static FloatRange rangeTo(float from, short to) {
return new FloatRange(from, to);
}
public static FloatRange rangeTo(float from, int to) {
return new FloatRange(from, to);
}
public static FloatRange rangeTo(float from, long to) {
return new FloatRange(from, to);
}
public static FloatRange rangeTo(float from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(float from, double to) {
return new DoubleRange(from, to);
}
public static FloatRange rangeTo(float from, char to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(double from, byte to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, short to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, int to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, long to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, float to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, double to) {
return new DoubleRange(from, to);
}
public static DoubleRange rangeTo(double from, char to) {
return new DoubleRange(from, to);
}
public static CharRange rangeTo(char from, byte to) {
return new CharRange(from, (char) to);
}
public static ShortRange rangeTo(char from, short to) {
return new ShortRange((short) from, to);
}
public static IntRange rangeTo(char from, int to) {
return new IntRange(from, to);
}
public static LongRange rangeTo(char from, long to) {
return new LongRange(from, to);
}
public static FloatRange rangeTo(char from, float to) {
return new FloatRange(from, to);
}
public static DoubleRange rangeTo(char from, double to) {
return new DoubleRange(from, to);
}
public static CharRange rangeTo(char from, char to) {
return new CharRange(from, to);
}
public static IntRange arrayIndices(int length) {
return new IntRange(0, length - 1);
}