org.dc.riot.lol.rx.service.interfaces.CSA Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lol-api-rxjava Show documentation
Show all versions of lol-api-rxjava Show documentation
Service library for League of Legends API
package org.dc.riot.lol.rx.service.interfaces;
/**
* CSA means Comma Separated Array
*
* @author Dc
* @since 1.0.0
*
* @param
*/
class CSA {
protected T[] array;
@SafeVarargs
CSA(T... ts) {
this.array = ts;
}
@Override
public String toString() {
if (array != null && array.length > 0) {
String value = array[0].toString();
for (int i=1; i {
Long(java.lang.Long... ls) {
super(ls);
}
Long(long... primvs) {
if (primvs != null) {
array = new java.lang.Long[primvs.length];
for (int i=0; i