ADD week 5
This commit is contained in:
20
02-Easy5/E5/sources/kotlin/CharCodeKt.java
Normal file
20
02-Easy5/E5/sources/kotlin/CharCodeKt.java
Normal file
@@ -0,0 +1,20 @@
|
||||
package kotlin;
|
||||
|
||||
/* compiled from: CharCode.kt */
|
||||
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0010\b\n\u0002\u0010\f\n\u0002\b\u0006\u001a\u0011\u0010\u0007\u001a\u00020\u00022\u0006\u0010\u0000\u001a\u00020\u0001H\u0087\b\"\u001f\u0010\u0000\u001a\u00020\u0001*\u00020\u00028Æ\u0002X\u0087\u0004¢\u0006\f\u0012\u0004\b\u0003\u0010\u0004\u001a\u0004\b\u0005\u0010\u0006¨\u0006\b"}, d2 = {"code", "", "", "getCode$annotations", "(C)V", "getCode", "(C)I", "Char", "kotlin-stdlib"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||||
/* loaded from: classes.dex */
|
||||
public final class CharCodeKt {
|
||||
private static final int getCode(char c) {
|
||||
return c;
|
||||
}
|
||||
|
||||
public static /* synthetic */ void getCode$annotations(char c) {
|
||||
}
|
||||
|
||||
private static final char Char(int i) {
|
||||
if (i >= 0 && i <= 65535) {
|
||||
return (char) i;
|
||||
}
|
||||
throw new IllegalArgumentException("Invalid Char code: " + i);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user