All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.telegram.tl.TLIntVector Maven / Gradle / Ivy

The newest version!
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