com.github.highcharts4gwt.model.array.mock.MockArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
GWT wrapper for highcharts library.
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)
{
}
}