| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
package jpype.str; |
| 17 |
|
| 18 |
public class Test |
| 19 |
{ |
| 20 |
|
| 21 |
public static String staticField = "staticField"; |
| 22 |
public String memberField = "memberField"; |
| 23 |
|
| 24 |
public static String staticCall() |
| 25 |
{ |
| 26 |
return "staticCall"; |
| 27 |
} |
| 28 |
|
| 29 |
public String memberCall() |
| 30 |
{ |
| 31 |
return "memberCall"; |
| 32 |
} |
| 33 |
|
| 34 |
public static String callWithNullBytes() { |
| 35 |
return "call\0With\0Null\0Bytes"; |
| 36 |
} |
| 37 |
|
| 38 |
public static String returnArgument(String argument) { |
| 39 |
return argument; |
| 40 |
} |
| 41 |
|
| 42 |
public static final String array[] = |
| 43 |
{ |
| 44 |
"apples", "banana", "cherries", "dates", "elderberry" |
| 45 |
}; |
| 46 |
|
| 47 |
public static String callProxy(StringFunction f, String s) |
| 48 |
{ |
| 49 |
return f.call(s); |
| 50 |
} |
| 51 |
} |