Add a new method for handling iterables
This commit is contained in:
parent
25c750f5bd
commit
e74d3f4f39
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
package com.Acrobot.ChestShop.Commands;
|
||||
|
||||
/**
|
||||
* @author Acrobot
|
||||
*/
|
||||
public class Give {
|
||||
}
|
Loading…
Reference in New Issue