com.github.azbh111.utils.java.net.Ips Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils-java Show documentation
Show all versions of utils-java Show documentation
com.github.azbh111:utils-java
The newest version!
package com.github.azbh111.utils.java.net;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* 封装当前机器的内网ip和外网ip
*
* @author: zyp
* @since: 2021/12/28 上午10:35
*/
@Getter
@Setter
@ToString(callSuper = true)
public class Ips {
private Map> localIps = new LinkedHashMap<>();
private Map> netIps = new LinkedHashMap<>();
public Ips(Map> localIps, Map> netIps) {
this.localIps = localIps;
this.netIps = netIps;
}
}