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

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

There is a newer version: 0.0.7
Show 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(T value)
    {
        add(value);
    }

    @Override
    public void setLength(int newLength)
    {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy