Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: sushantk/siri
base: a6b582b001
...
head fork: sushantk/siri
compare: 56d1809077
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 29 additions and 0 deletions.
  1. +11 −0 src/siri/SiriParameter.java
  2. +18 −0 src/siri/Util.java
View
11 src/siri/SiriParameter.java
@@ -0,0 +1,11 @@
+package siri;
+
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.METHOD)
+public @interface SiriParameter {
+
+ String defaultClass() default Consts.defaultClass;
+ boolean required() default false;
+}
View
18 src/siri/Util.java
@@ -0,0 +1,18 @@
+package siri;
+
+import java.util.List;
+
+public class Util {
+
+ public static String implode(List<String> a_list, String a_seperator) {
+ String value = "";
+ int length = a_list.size();
+ for(int i = 0; i < length; i++) {
+ if(i > 0) value += a_seperator;
+ value += a_list.get(i);
+ }
+
+ return value;
+ }
+
+}

No commit comments for this range

Something went wrong with that request. Please try again.