@XStreamAlias(“nic”)
public static class NicBean {
@XStreamAlias(“actions”)
private String actions;
@XStreamAlias(“name”)
private String name;
@XStreamAlias(“vm”)
private String vm;
@XStreamAlias(“interface”)
private String interfaceX;
@XStreamAlias(“linked”)
private String linked;
@XStreamAlias(“plugged”)
private String plugged;
@XStreamAlias(“reported_devices”)
private ReportedDevicesBean reported_devices;
@XStreamAlias(“vnic_profile”)
private String vnic_profile;
@XStreamAlias(“mac”)
private String mac;
public String getActions() {
return actions;
}
public void setActions(String actions) {
this.actions = actions;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getVm() {
return vm;
}
public void setVm(String vm) {
this.vm = vm;
}
public String getInterfaceX() {
return interfaceX;
}
public void setInterfaceX(String interfaceX) {
this.interfaceX = interfaceX;
}
public String getLinked() {
return linked;
}
public void setLinked(String linked) {
this.linked = linked;
}
public String getPlugged() {
return plugged;
}
public void setPlugged(String plugged) {
this.plugged = plugged;
}
public ReportedDevicesBean getReported_devices() {
return reported_devices;
}
public void setReported_devices(ReportedDevicesBean reported_devices) {
this.reported_devices = reported_devices;
}
public String getVnic_profile() {
return vnic_profile;
}
public void setVnic_profile(String vnic_profile) {
this.vnic_profile = vnic_profile;
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public List getLink() {
return link;
}
public void setLink(List link) {
this.link = link;
}
@XStreamAlias(“reported_devices”)
public static class ReportedDevicesBean {
@XStreamAlias(“reported_device”)
private ReportedDeviceBean reported_device;
public ReportedDeviceBean getReported_device() {
return reported_device;
}
public void setReported_device(ReportedDeviceBean reported_device) {
this.reported_device = reported_device;
}
@XStreamAlias(“reported_device”)
public static class ReportedDeviceBean {
@XStreamAsAttribute
private String href;
@XStreamAsAttribute
private String id;
@XStreamAlias(“name”)
private String name;
@XStreamAlias(“description”)
private String description;
@XStreamAlias(“type”)
private String type;
@XStreamAlias(“ips”)
private IpsBean ips;
@XStreamAlias(“mac”)
private String mac;
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public IpsBean getIps() {
return ips;
}
public void setIps(IpsBean ips) {
this.ips = ips;
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
@XStreamAlias(“ips”)
public static class IpsBean {
@XStreamImplicit(itemFieldName = “ip”)
private List ip;
public List getIp() {
return ip;
}
public void setIp(List ip) {
this.ip = ip;
}
@XStreamAlias(“ip”)
public static class IpBean {
@XStreamAlias(“address”)
private String address;
@XStreamAlias(“version”)
private String version;
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
}
}
}
}
@XStreamImplicit(itemFieldName = “link”)
private List link;
@XStreamAlias(“link”)
public static class LinkBean {
@XStreamAsAttribute
private String href;
@XStreamAsAttribute
private String rel;
public String getHref() {
return href;
}
public void setHref(String href) {
this.href = href;
}
public String getRel() {
return rel;
}
public void setRel(String rel) {
this.rel = rel;
}
}
}
}
在这里将 nic 标签看做了数组,如果确定为对象的话也可以直接为
@XStreamAlias(“nics”)
public class Nics {
@XStreamAlias(“nic”)
private NicBean nic;
public NicBean getNic() {
return nic;
}
public void setNic(NicBean nic) {
this.nic = nic;
}
@XStreamAlias(“nic”)
public static class NicBean {
@XStreamAlias(“actions”)
private String actions;
@XStreamAlias(“name”)
private String name;
@XStreamAlias(“vm”)
private String vm;
@XStreamAlias(“interface”)
private String interfaceX;
@XStreamAlias(“linked”)
private String linked;
@XStreamAlias(“plugged”)
private String plugged;
@XStreamAlias(“reported_devices”)
private ReportedDevicesBean reported_devices;
@XStreamAlias(“vnic_profile”)
private String vnic_profile;
@XStreamAlias(“mac”)
private String mac;
public String getActions() {
return actions;
}
public void setActions(String actions) {
this.actions = actions;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getVm() {
return vm;
}
public void setVm(String vm) {
this.vm = vm;
}
public String getInterfaceX() {
return interfaceX;
}
public void setInterfaceX(String interfaceX) {
this.interfaceX = interfaceX;
}
public String getLinked() {
return linked;
}
public void setLinked(String linked) {
this.linked = linked;
}
public String getPlugged() {
return plugged;
}
public void setPlugged(String plugged) {
this.plugged = plugged;
}
public ReportedDevicesBean getReported_devices() {
return reported_devices;
}
public void setReported_devices(ReportedDevicesBean reported_devices) {
this.reported_devices = reported_devices;
}
public String getVnic_profile() {
return vnic_profile;
}
public void setVnic_profile(String vnic_profile) {
this.vnic_profile = vnic_profile;
}
public String getMac() {
return mac;
}
public void setMac(String mac) {
this.mac = mac;
}
public List getLink() {
return link;
}
public void setLink(List link) {
this.link = link;
}
@XStreamAlias(“reported_devices”)
public static class ReportedDevicesBean {
@XStreamAlias(“reported_device”)
private ReportedDeviceBean reported_device;
public ReportedDeviceBean getReported_device() {
return reported_device;
}
public void setReported_device(ReportedDeviceBean reported_device) {
this.reported_device = reported_device;
}
@XStreamAlias(“reported_device”)
public static class ReportedDeviceBean {
@XStreamAsAttribute
private String href;
@XStreamAsAttribute
private String id;
@XStreamAlias(“name”)
private String name;
@XStreamAlias(“description”)
private String description;
@XStreamAlias(“type”)
private String type;
@XStreamAlias(“ips”)
private IpsBean ips;
@XStreamAlias(“mac”)
private String mac;
自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。
深知大多数初中级Android工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则近万的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!
因此收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!
如果你觉得这些内容对你有帮助,可以扫码获取!!(备注:Android)
![](https://i-blog.csdnimg.cn/blog_migrate/005f453fb9e687e540ade0d2a2ae2e43.jpeg)
总结
最后为了帮助大家深刻理解Android相关知识点的原理以及面试相关知识,这里放上相关的我搜集整理的14套腾讯、字节跳动、阿里、百度等2021最新面试真题解析,我把技术点整理成了视频和PDF(实际上比预期多花了不少精力),包知识脉络 + 诸多细节。
网上学习 Android的资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
《互联网大厂面试真题解析、进阶开发核心学习笔记、全套讲解视频、实战项目源码讲义》点击传送门即可获取!
]
[外链图片转存中…(img-ySXbAhyC-1712348079362)]
[外链图片转存中…(img-vNPPG8LQ-1712348079362)]
既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上Android开发知识点,真正体系化!
由于文件比较大,这里只是将部分目录截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且会持续更新!
如果你觉得这些内容对你有帮助,可以扫码获取!!(备注:Android)
![](https://i-blog.csdnimg.cn/blog_migrate/005f453fb9e687e540ade0d2a2ae2e43.jpeg)
总结
最后为了帮助大家深刻理解Android相关知识点的原理以及面试相关知识,这里放上相关的我搜集整理的14套腾讯、字节跳动、阿里、百度等2021最新面试真题解析,我把技术点整理成了视频和PDF(实际上比预期多花了不少精力),包知识脉络 + 诸多细节。
[外链图片转存中…(img-kbaQAaUh-1712348079363)]
[外链图片转存中…(img-R14QWlFX-1712348079363)]
[外链图片转存中…(img-FRvid8Cu-1712348079363)]
[外链图片转存中…(img-X3qmAf98-1712348079363)]
网上学习 Android的资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
《互联网大厂面试真题解析、进阶开发核心学习笔记、全套讲解视频、实战项目源码讲义》点击传送门即可获取!