br.eti.clairton.paginated.collection.PaginatedMetaList Maven / Gradle / Ivy
package br.eti.clairton.paginated.collection;
import java.util.ArrayList;
import java.util.Collection;
public class PaginatedMetaList extends ArrayList implements PaginatedList {
private static final long serialVersionUID = 1L;
private final Meta meta;
public PaginatedMetaList(final Collection extends T> c, final Meta meta) {
super(c);
this.meta = meta;
}
public Meta getMeta() {
return meta;
}
@SuppressWarnings("unchecked")
@Override
public W unwrap(final Class type) {
return (W) meta;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy