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

com.github.zw201913.entity.GetElement Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package com.github.zw201913.entity;

import java.util.LinkedList;
import java.util.List;

/**
 * @author zouwei
 * @className GetElement
 * @date: 2022/8/18 下午1:57
 * @description:
 */
public class GetElement extends Element {

	private String key;

	private String id;

	public GetElement(String key, String id) {
		this.key = key;
		this.id = id;
	}

	@Override
	public List commandArgs() {
		List list = new LinkedList<>();
		list.add("GET");
		list.add(this.key);
		list.add(this.id);
		return list;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy