Add a new method for handling iterables

This commit is contained in:
Acrobot 2013-10-27 16:48:43 +01:00
parent 25c750f5bd
commit e74d3f4f39
2 changed files with 17 additions and 0 deletions

View File

@ -41,4 +41,14 @@ public class StringUtil {
public static String joinArray(String[] array) {
return Joiner.on(' ').join(array);
}
/**
* Joins an iterable
*
* @param array Iterable
* @return Joined iterable
*/
public static String joinArray(Iterable<?> array) {
return Joiner.on(' ').join(array);
}
}

View File

@ -0,0 +1,7 @@
package com.Acrobot.ChestShop.Commands;
/**
* @author Acrobot
*/
public class Give {
}