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

com.github.highcharts4gwt.model.array.mock.MockArray Maven / Gradle / Ivy

The newest version!
package com.github.highcharts4gwt.model.array.mock;

import java.util.ArrayList;

import com.github.highcharts4gwt.model.array.api.Array;

public class MockArray extends ArrayList implements Array
{
    private static final long serialVersionUID = 1L;

    @Override
    public T getItem(int index)
    {
        return get(index);
    }

    @Override
    public int length()
    {
        return size();
    }

    @Override
    public void setValue(int index, T element)
    {
        super.set(index, element);
    }

    @Override
    public  void addToEnd(T2 value)
    {
        add(value);
    }

    @Override
    public void setLength(int newLength)
    {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy