org.dashj.bls.Utils.G2ElementList Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) 2022-present, Dash Core Group
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package org.dashj.bls.Utils;
import org.dashj.bls.G2Element;
import org.dashj.bls.G2ElementVector;
import java.util.Arrays;
import java.util.List;
public class G2ElementList extends G2ElementVector {
public G2ElementList() {
super();
}
public G2ElementList(List list) {
super(list);
}
public G2ElementList(G2Element [] array) {
super(Arrays.asList(array));
}
public G2ElementList(G2Element first, G2Element... elements) {
add(first);
addAll(Arrays.asList(elements));
}
}