You can try to build Debian/Ubuntu for OrangePI yourself. Clone my GitHub repository. You will need running Ubuntu or Debian system (you can even run it on OrangePI). Before running the script install debootstrap and qemu-user-static packages. Read c…
一.万恶的擦除 我在自己总结的[Java心得总结三]Java泛型上——初识泛型这篇博文中提到了Java中对泛型擦除的问题,考虑下面代码: import java.util.*; public class ErasedTypeEquivalence { public static void main(String[] args) { Class c1 = new ArrayList<String>().getClass(); Class c2 = new ArrayList<Integer…
原文地址:https://www.linkedin.com/pulse/microservices-reference-architecture-spring-boot-cloud-anil-allewar What is "Microservices"? Microservices is the "new kid" on the block; a new paradigm that seeks to replace monolithic enterprise ap…
From Thinking in Java 4th Edition. 泛型实现了:参数化类型的概念,使代码可以应用于多种类型.“泛型”这个术语的意思是:“适用于许多许多的类型”. 如果你了解其他语言(例如: C++)中的参数化类型机制,你就会发现,有些以前能做到的事情,使用Java的泛型机制却无法做到. Java中的泛型需要与C++进行一番比较.了解C++模板的某些方面,有助于你理解泛型的基础.同事,非常重要的一点是:你可以了解Java泛型的局限性是什么,以及为什么会有这些限制.最终是要让你理解…
Information hiding is important for many reasons, most of which stem from the fact that it decouples the modules that comprise a system, allowing them to be developed, tested, optimized, used, understood, and modified in isolation. Advantage Speeds u…
Principle Strive to write good programs rather than fast ones. Strive to avoid design decisions that limit performance. Design components: APIs Wire-level protocols Persistent data formats Consider the performance consequences of your API design deci…