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

io.hypertrack.model.HyperTrackArrayList Maven / Gradle / Ivy

The newest version!
package io.hypertrack.model;

import java.util.ArrayList;
import java.util.Map;

/**
 * Decorator class for paginated list of HyperTrack model instances.
 *
 * @param        HyperTrack model class
 */
public class HyperTrackArrayList {
    private Integer count;
    private Map previousFilters;
    private Map nextFilters;
    private ArrayList results;

    public HyperTrackArrayList(Integer count,
                               Map previousFilters,
                               Map nextFilters,
                               ArrayList results) {
        this.count = count;
        this.previousFilters = previousFilters;
        this.nextFilters = nextFilters;
        this.results = results;
    }

    public Integer getCount() {
        return count;
    }

    public Map getPreviousFilters() {
        return previousFilters;
    }

    public Map getNextFilters() {
        return nextFilters;
    }

    public ArrayList getResults() {
        return results;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy