mirror of https://github.com/kivy/pyjnius.git
33 lines
742 B
Java
33 lines
742 B
Java
package org.jnius;
|
|
|
|
public class MultipleMethods {
|
|
|
|
public static String resolve() {
|
|
return "resolved no args";
|
|
}
|
|
|
|
public static String resolve(String i) {
|
|
return "resolved one arg";
|
|
}
|
|
|
|
public static String resolve(String i, String j) {
|
|
return "resolved two args";
|
|
}
|
|
|
|
public static String resolve(String i, String j, int k) {
|
|
return "resolved two string and an integer";
|
|
}
|
|
|
|
public static String resolve(String i, String j, int k, int l) {
|
|
return "resolved two string and two integers";
|
|
}
|
|
|
|
public static String resolve(String i, String j, int... integers) {
|
|
return "resolved two args and varargs";
|
|
}
|
|
|
|
public static String resolve(int... integers) {
|
|
return "resolved varargs";
|
|
}
|
|
}
|