编程
文章平均质量分 82
BananaCode
这个作者很懒,什么都没留下…
展开
-
RabbitMq and ElasticSearch with JavaSpringBoot
this short tutorialwill teach you how to handle the ElasticSearch database and RabbitMq using Java properly. First half only talks about the RabbitMq!原创 2022-10-23 16:05:21 · 629 阅读 · 0 评论 -
3 mins Design Pattern - Proxy Pattern
In programming, we usually have the same logic as we need to create a proxy class to do extra work for our object. Clients can only accessthe proxy instead of the target object directly. We called it the "Proxy Pattern" in Java Programming.原创 2022-07-23 11:37:41 · 158 阅读 · 1 评论 -
Introduction of IoC(Inversion of Control) in Java
This tutorial will use a simple example to explain how IoC works in Java and discuss the advantages of using IoC.原创 2022-07-18 09:48:45 · 55 阅读 · 0 评论 -
Create Instant Messaging ChatRoom in Java
This tutorial will divide the whole process into 3major sub-steps to illustrate how to achieve a simple instant messaging app using Java.原创 2022-07-10 11:42:20 · 131 阅读 · 3 评论 -
三分钟深入了解Java枚举(Enumeration)
一、简介有时候我们想创建一个固定的常量表来代表一些恒定不变,或者我们不想去改变的东西。例如春夏秋冬四季和八大行星的顺序等。这个时候,我们就可以用到Java里面一个相对较新的概念,“枚举”(Enumeration)。二、什么是枚举枚举可以看做是类(class)的一种,用enum作为修饰附。一般我们都用大写字母来表示枚举里的项(两个单词用下划线连接)。正如我们上文所说的,枚举是用作代表“固定”的常量链,因此枚举类实际默认含有Public, Static 和 final。下面我们来看一个一年四..原创 2022-05-12 10:59:59 · 2724 阅读 · 0 评论