org.telegram.tl.TLIntVector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of telegramapi Show documentation
Show all versions of telegramapi Show documentation
Java library to create Telegram Clients
package org.telegram.tl;
/**
* TL Vector of integers. @see org.telegram.tl.TLVector
*
* @author Ruben Bermudez
*/
public class TLIntVector extends TLVector {
public TLIntVector() {
setDestClass(Integer.class);
}
@Override
public String toString() {
return "vector#1cb5c415";
}
public int[] toIntArray() {
int[] res = new int[size()];
for (int i = 0; i < res.length; i++) {
res[i] = get(i);
}
return res;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy