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

com.github.azbh111.utils.java.net.Ips Maven / Gradle / Ivy

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy