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

io.rtr.alchemy.dto.requests.AllocationRequests Maven / Gradle / Ivy

There is a newer version: 2.2.14
Show newest version
package io.rtr.alchemy.dto.requests;

import java.util.ArrayList;
import java.util.Collections;

/** We need this class to deal with Jackson List serialization issues due to type-erasure */
public class AllocationRequests extends ArrayList {
    private static final long serialVersionUID = 3619787346944661924L;

    public static AllocationRequests of(AllocationRequest... requests) {
        final AllocationRequests result = new AllocationRequests();
        Collections.addAll(result, requests);
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy