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

com.wirefreethought.geodb.client.model.GeoDbSort Maven / Gradle / Ivy

package com.wirefreethought.geodb.client.model;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

public class GeoDbSort
{
    @AllArgsConstructor
    @Getter
    public static class SortField
    {
        private String name;
        private boolean reverse;
    }

    @Builder
    public GeoDbSort(SortField... fields)
    {
        this.fields = Collections.unmodifiableList(Arrays.asList(fields));
    }

    @Getter
    private List fields;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy