mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
Remove build errors on JDK8
This commit is contained in:
parent
8b168b53eb
commit
7869173ac2
|
@ -36,7 +36,7 @@ import org.teavm.debugging.javascript.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeConsumer {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ChromeRDPDebugger.class);
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.chromerdp;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface ChromeRDPExchange {
|
||||
void send(String message);
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.chromerdp;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface ChromeRDPExchangeConsumer {
|
||||
void setExchange(ChromeRDPExchange exchange);
|
||||
|
|
|
@ -19,7 +19,7 @@ import java.io.IOException;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface ChromeRDPExchangeListener {
|
||||
void received(String message) throws IOException;
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.debugging.javascript.JavaScriptVariable;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class RDPLocalVariable implements JavaScriptVariable {
|
||||
private String name;
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.concurrent.atomic.AtomicReference;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class RDPScope extends AbstractMap<String, RDPLocalVariable> {
|
||||
private AtomicReference<Map<String, RDPLocalVariable>> backingMap = new AtomicReference<>();
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.debugging.javascript.JavaScriptVariable;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class RDPValue implements JavaScriptValue {
|
||||
private AtomicReference<String> representation = new AtomicReference<>();
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CallArgumentDTO {
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class PropertyDescriptorDTO {
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class RemoteObjectDTO {
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ScopeDTO {
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.CallArgumentDTO;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CallFunctionCommand {
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.RemoteObjectDTO;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class CallFunctionResponse {
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.codehaus.jackson.annotate.JsonIgnoreProperties;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GetPropertiesCommand {
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.chromerdp.data.PropertyDescriptorDTO;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class GetPropertiesResponse {
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.platform.metadata.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class DeclaringClassMetadataGenerator implements ClassScopedMetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class FirstDayOfWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.teavm.model.instructions.InvokeInstruction;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class JavacSupport implements ClassHolderTransformer {
|
||||
@Override
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.classlib.impl.unicode.CLDRReader;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class MinimalDaysInFirstWeekMetadataGenerator extends WeekMetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.teavm.model.ValueType;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class ServiceLoaderSupport implements Generator, DependencyListener {
|
||||
private Set<String> achievedClasses = new HashSet<>();
|
||||
|
|
|
@ -22,7 +22,7 @@ import org.teavm.platform.metadata.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class WeekMetadataGenerator implements MetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLClass {
|
||||
public final String name;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLItem {
|
||||
public final JCLItemType type;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLItemType {
|
||||
FIELD,
|
||||
|
|
|
@ -20,7 +20,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class JCLPackage {
|
||||
public final String name;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.impl.report;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
enum JCLStatus {
|
||||
FOUND,
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.platform.metadata.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class AvailableLocalesMetadataGenerator implements MetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.teavm.platform.metadata.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class CLDRHelper {
|
||||
public static String getCode(String language, String country) {
|
||||
|
|
|
@ -21,7 +21,7 @@ import org.teavm.platform.metadata.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class LikelySubtagsMetadataGenerator implements MetadataGenerator {
|
||||
@Override
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.TString;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TDataInput {
|
||||
void readFully(byte[] b) throws TIOException;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.*;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TDataInputStream extends TFilterInputStream implements TDataInput {
|
||||
byte[] buff;
|
||||
|
|
|
@ -29,37 +29,16 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
protected int written;
|
||||
byte buff[];
|
||||
|
||||
/**
|
||||
* Constructs a new {@code DataOutputStream} on the {@code OutputStream}
|
||||
* {@code out}. Note that data written by this stream is not in a human
|
||||
* readable form but can be reconstructed by using a {@link DataInputStream}
|
||||
* on the resulting output.
|
||||
*
|
||||
* @param out
|
||||
* the target stream for writing.
|
||||
*/
|
||||
public TDataOutputStream(TOutputStream out) {
|
||||
super(out);
|
||||
buff = new byte[8];
|
||||
}
|
||||
|
||||
/**
|
||||
* Flushes this stream to ensure all pending data is sent out to the target
|
||||
* stream. This implementation then also flushes the target stream.
|
||||
*
|
||||
* @throws IOException
|
||||
* if an error occurs attempting to flush this stream.
|
||||
*/
|
||||
@Override
|
||||
public void flush() throws TIOException {
|
||||
super.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the total number of bytes written to the target stream so far.
|
||||
*
|
||||
* @return the number of bytes written to the target stream.
|
||||
*/
|
||||
public final int size() {
|
||||
if (written < 0) {
|
||||
written = TInteger.MAX_VALUE;
|
||||
|
@ -67,23 +46,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
return written;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes {@code count} bytes from the byte array {@code buffer} starting at
|
||||
* {@code offset} to the target stream.
|
||||
*
|
||||
* @param buffer
|
||||
* the buffer to write to the target stream.
|
||||
* @param offset
|
||||
* the index of the first byte in {@code buffer} to write.
|
||||
* @param count
|
||||
* the number of bytes from the {@code buffer} to write.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @throws NullPointerException
|
||||
* if {@code buffer} is {@code null}.
|
||||
* @see DataInputStream#readFully(byte[])
|
||||
* @see DataInputStream#readFully(byte[], int, int)
|
||||
*/
|
||||
@Override
|
||||
public void write(byte buffer[], int offset, int count) throws TIOException {
|
||||
if (buffer == null) {
|
||||
|
@ -93,64 +55,24 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
written += count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a byte to the target stream. Only the least significant byte of
|
||||
* the integer {@code oneByte} is written.
|
||||
*
|
||||
* @param oneByte
|
||||
* the byte to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readByte()
|
||||
*/
|
||||
@Override
|
||||
public void write(int oneByte) throws TIOException {
|
||||
out.write(oneByte);
|
||||
written++;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a boolean to the target stream.
|
||||
*
|
||||
* @param val
|
||||
* the boolean value to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readBoolean()
|
||||
*/
|
||||
@Override
|
||||
public final void writeBoolean(boolean val) throws TIOException {
|
||||
out.write(val ? 1 : 0);
|
||||
written++;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes an 8-bit byte to the target stream. Only the least significant
|
||||
* byte of the integer {@code val} is written.
|
||||
*
|
||||
* @param val
|
||||
* the byte value to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readByte()
|
||||
* @see DataInputStream#readUnsignedByte()
|
||||
*/
|
||||
@Override
|
||||
public final void writeByte(int val) throws TIOException {
|
||||
out.write(val);
|
||||
written++;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the low order bytes from a string to the target stream.
|
||||
*
|
||||
* @param str
|
||||
* the string containing the bytes to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readFully(byte[])
|
||||
* @see DataInputStream#readFully(byte[],int,int)
|
||||
*/
|
||||
public final void writeBytes(TString str) throws TIOException {
|
||||
if (str.length() == 0) {
|
||||
return;
|
||||
|
@ -163,17 +85,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
written += bytes.length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a 16-bit character to the target stream. Only the two lower bytes
|
||||
* of the integer {@code val} are written, with the higher one written
|
||||
* first. This corresponds to the Unicode value of {@code val}.
|
||||
*
|
||||
* @param val
|
||||
* the character to write to the target stream
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readChar()
|
||||
*/
|
||||
@Override
|
||||
public final void writeChar(int val) throws TIOException {
|
||||
buff[0] = (byte) (val >> 8);
|
||||
|
@ -182,17 +93,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
written += 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the 16-bit characters contained in {@code str} to the target
|
||||
* stream.
|
||||
*
|
||||
* @param str
|
||||
* the string that contains the characters to write to this
|
||||
* stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readChar()
|
||||
*/
|
||||
@Override
|
||||
public final void writeChars(TString str) throws TIOException {
|
||||
byte newBytes[] = new byte[str.length() * 2];
|
||||
|
@ -205,46 +105,16 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
written += newBytes.length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a 64-bit double to the target stream. The resulting output is the
|
||||
* eight bytes resulting from calling Double.doubleToLongBits().
|
||||
*
|
||||
* @param val
|
||||
* the double to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readDouble()
|
||||
*/
|
||||
@Override
|
||||
public final void writeDouble(double val) throws TIOException {
|
||||
writeLong(TDouble.doubleToLongBits(val));
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a 32-bit float to the target stream. The resulting output is the
|
||||
* four bytes resulting from calling Float.floatToIntBits().
|
||||
*
|
||||
* @param val
|
||||
* the float to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readFloat()
|
||||
*/
|
||||
@Override
|
||||
public final void writeFloat(float val) throws TIOException {
|
||||
writeInt(TFloat.floatToIntBits(val));
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a 32-bit int to the target stream. The resulting output is the
|
||||
* four bytes, highest order first, of {@code val}.
|
||||
*
|
||||
* @param val
|
||||
* the int to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readInt()
|
||||
*/
|
||||
@Override
|
||||
public final void writeInt(int val) throws TIOException {
|
||||
buff[0] = (byte) (val >> 24);
|
||||
|
@ -255,16 +125,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
written += 4;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a 64-bit long to the target stream. The resulting output is the
|
||||
* eight bytes, highest order first, of {@code val}.
|
||||
*
|
||||
* @param val
|
||||
* the long to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readLong()
|
||||
*/
|
||||
@Override
|
||||
public final void writeLong(long val) throws TIOException {
|
||||
buff[0] = (byte) (val >> 56);
|
||||
|
@ -292,18 +152,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
return offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the specified 16-bit short to the target stream. Only the lower
|
||||
* two bytes of the integer {@code val} are written, with the higher one
|
||||
* written first.
|
||||
*
|
||||
* @param val
|
||||
* the short to write to the target stream.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @see DataInputStream#readShort()
|
||||
* @see DataInputStream#readUnsignedShort()
|
||||
*/
|
||||
@Override
|
||||
public final void writeShort(int val) throws TIOException {
|
||||
buff[0] = (byte) (val >> 8);
|
||||
|
@ -319,19 +167,6 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
return offset;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the specified encoded in {@link DataInput modified UTF-8} to this
|
||||
* stream.
|
||||
*
|
||||
* @param str
|
||||
* the string to write to the target stream encoded in
|
||||
* {@link DataInput modified UTF-8}.
|
||||
* @throws IOException
|
||||
* if an error occurs while writing to the target stream.
|
||||
* @throws UTFDataFormatException
|
||||
* if the encoded string is longer than 65535 bytes.
|
||||
* @see DataInputStream#readUTF()
|
||||
*/
|
||||
@Override
|
||||
public final void writeUTF(TString str) throws TIOException {
|
||||
long utfCount = countUTFBytes(str);
|
||||
|
@ -377,5 +212,4 @@ public class TDataOutputStream extends TFilterOutputStream implements TDataOutpu
|
|||
}
|
||||
return offset;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.classlib.java.lang.TString;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TPushbackInputStream extends TFilterInputStream {
|
||||
protected byte[] buf;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.teavm.classlib.java.lang.TString;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TUTFDataFormatException extends TIOException {
|
||||
private static final long serialVersionUID = -6383472574962319733L;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.model.MethodReference;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class LongNativeGenerator implements Generator {
|
||||
@Override
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TArrayIndexOutOfBoundsException extends TIndexOutOfBoundsException {
|
||||
private static final long serialVersionUID = 5221353436321708950L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TArrayStoreException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 3911921304974631232L;
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.platform.metadata.ClassScopedMetadataProvider;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TClass<T> extends TObject {
|
||||
TString name;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TClassLoader extends TObject {
|
||||
private TClassLoader parent;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TClassNotFoundException extends TReflectiveOperationException {
|
||||
private static final long serialVersionUID = -1162632869775788325L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TCloneNotSupportedException extends TException {
|
||||
private static final long serialVersionUID = 4908200987785128012L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TCloneable {
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.javascript.spi.Rename;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TEnum<E extends TEnum<E>> extends TObject implements TComparable<E>, TSerializable {
|
||||
private TString name;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalAccessException extends ReflectiveOperationException {
|
||||
private static final long serialVersionUID = 8240407889170934565L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIllegalMonitorStateException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 7694307746228488658L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TIncompatibleClassChangeError extends TLinkageError {
|
||||
private static final long serialVersionUID = 366119408566298082L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInstantiationException extends ReflectiveOperationException {
|
||||
private static final long serialVersionUID = 8771605296206833516L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TInterruptedException extends Exception {
|
||||
private static final long serialVersionUID = -7832805114281254695L;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.teavm.classlib.java.util.TIterator;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TIterable<T> {
|
||||
TIterator<T> iterator();
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TLinkageError extends TError {
|
||||
private static final long serialVersionUID = 9176544705010852435L;
|
||||
|
|
|
@ -19,7 +19,7 @@ import org.teavm.javascript.spi.GeneratedBy;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TLong extends TNumber implements TComparable<TLong> {
|
||||
public static final long MIN_VALUE = -0x8000000000000000L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNegativeArraySizeException extends TRuntimeException {
|
||||
private static final long serialVersionUID = 4838944281468611671L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNoSuchFieldError extends TIncompatibleClassChangeError {
|
||||
private static final long serialVersionUID = 7907885242472547035L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TNoSuchMethodError extends TIncompatibleClassChangeError {
|
||||
private static final long serialVersionUID = 7907885242472547035L;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.teavm.platform.async.AsyncCallback;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@Superclass("")
|
||||
public class TObject {
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.classlib.java.nio.TCharBuffer;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public interface TReadable {
|
||||
int read(TCharBuffer cb) throws TIOException;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TReflectiveOperationException extends TException {
|
||||
private static final long serialVersionUID = -455785869284249992L;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class TStrictMath extends TObject {
|
||||
public static double E = 2.71828182845904523536;
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.teavm.classlib.java.util.regex.TPattern;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class TString extends TObject implements TSerializable, TComparable<TString>, TCharSequence {
|
||||
public static final TComparator<TString> CASE_INSENSITIVE_ORDER = new TComparator<TString>() {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TSystemClassLoader extends TClassLoader {
|
||||
TSystemClassLoader() {
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.javascript.spi.Superclass;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
@Superclass("java.lang.Object")
|
||||
public class TThrowable extends RuntimeException {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.lang;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public final class TVoid extends TObject {
|
||||
public static final TClass<TVoid> TYPE = TClass.voidClass();
|
||||
|
|
|
@ -874,8 +874,8 @@ class TDivision {
|
|||
/**
|
||||
* Performs the final reduction of the Montgomery algorithm.
|
||||
*
|
||||
* @see monPro(BigInteger, BigInteger, BigInteger, long)
|
||||
* @see monSquare(BigInteger, BigInteger, long)
|
||||
* @see #monPro(TBigInteger, TBigInteger, TBigInteger, long)
|
||||
* @see #monSquare(TBigInteger, TBigInteger, long)
|
||||
*/
|
||||
static TBigInteger finalSubtraction(int res[], TBigInteger modulus) {
|
||||
|
||||
|
|
|
@ -348,8 +348,7 @@ class TElementary {
|
|||
|
||||
/**
|
||||
* Same as
|
||||
*
|
||||
* @link #inplaceSubtract(BigInteger, BigInteger), but without the
|
||||
* {@link #inplaceSubtract(TBigInteger, TBigInteger)}, but without the
|
||||
* restriction of non-positive values
|
||||
* @param op1
|
||||
* should have enough space to save the result
|
||||
|
|
|
@ -20,7 +20,7 @@ import org.teavm.classlib.java.lang.TReadable;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TCharBuffer extends TBuffer implements Comparable<TCharBuffer>, Appendable,
|
||||
CharSequence, TReadable {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TCharBufferImpl extends TCharBuffer {
|
||||
public TCharBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TCharBufferOverArray extends TCharBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TCharBufferOverByteBuffer extends TCharBufferImpl {
|
||||
TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TCharBufferOverByteBufferBigEndian extends TCharBufferOverByteBuffer {
|
||||
public TCharBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TCharBufferOverByteBufferLittleEndian extends TCharBufferOverByteBuffer {
|
||||
public TCharBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TDoubleBuffer extends TBuffer implements Comparable<TDoubleBuffer> {
|
||||
TDoubleBuffer(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TDoubleBufferImpl extends TDoubleBuffer {
|
||||
public TDoubleBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TDoubleBufferOverArray extends TDoubleBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TDoubleBufferOverByteBuffer extends TDoubleBufferImpl {
|
||||
private TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TFloatBuffer extends TBuffer implements Comparable<TFloatBuffer> {
|
||||
TFloatBuffer(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TFloatBufferImpl extends TFloatBuffer {
|
||||
public TFloatBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TFloatBufferOverArray extends TFloatBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TFloatBufferOverByteBuffer extends TFloatBufferImpl {
|
||||
TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TFloatBufferOverByteBufferBigEndian extends TFloatBufferOverByteBuffer {
|
||||
public TFloatBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TFloatBufferOverByteBufferLittleEndian extends TFloatBufferOverByteBuffer {
|
||||
public TFloatBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TIntBuffer extends TBuffer implements Comparable<TIntBuffer> {
|
||||
TIntBuffer(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TIntBufferImpl extends TIntBuffer {
|
||||
public TIntBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TIntBufferOverArray extends TIntBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TIntBufferOverByteBuffer extends TIntBufferImpl {
|
||||
TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TIntBufferOverByteBufferBigEndian extends TIntBufferOverByteBuffer {
|
||||
public TIntBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TIntBufferOverByteBufferLittleEndian extends TIntBufferOverByteBuffer {
|
||||
public TIntBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TLongBuffer extends TBuffer implements Comparable<TLongBuffer> {
|
||||
TLongBuffer(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TLongBufferImpl extends TLongBuffer {
|
||||
public TLongBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TLongBufferOverArray extends TLongBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TLongBufferOverByteBuffer extends TLongBufferImpl {
|
||||
TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TLongBufferOverByteBufferBigEndian extends TLongBufferOverByteBuffer {
|
||||
public TLongBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TLongBufferOverByteBufferLittleEndian extends TLongBufferOverByteBuffer {
|
||||
public TLongBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public abstract class TShortBuffer extends TBuffer implements Comparable<TShortBuffer> {
|
||||
TShortBuffer(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TShortBufferImpl extends TShortBuffer {
|
||||
public TShortBufferImpl(int capacity, int position, int limit) {
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TShortBufferOverArray extends TShortBufferImpl {
|
||||
boolean readOnly;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
abstract class TShortBufferOverByteBuffer extends TShortBufferImpl {
|
||||
TByteBufferImpl byteByffer;
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TShortBufferOverByteBufferBigEndian extends TShortBufferOverByteBuffer {
|
||||
public TShortBufferOverByteBufferBigEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.teavm.classlib.java.nio;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
class TShortBufferOverByteBufferLittleEndian extends TShortBufferOverByteBuffer {
|
||||
public TShortBufferOverByteBufferLittleEndian(int start, int capacity, TByteBufferImpl byteBuffer, int position,
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.teavm.model.MethodReference;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class DateNativeGenerator implements Generator, DependencyPlugin {
|
||||
@Override
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.teavm.model.MethodReference;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev <konsoletyper@gmail.com>
|
||||
* @author Alexey Andreev
|
||||
*/
|
||||
public class RandomNativeGenerator implements Generator {
|
||||
@Override
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user