码迷,mamicode.com
首页 >  
搜索关键字:groups @interface    ( 15105个结果
SPI机制之JDK中的SPI
首先简单阐述下什么是SPI:SPI 全称为 (Service Provider Interface) ,是JDK内置的一种服务提供发现机制。目前有不少框架用它来做服务的扩展发现,简单来说,就是一种动态替换发现的机制。使用SPI机制的优势是实现解耦,使得第三方服务模块的装配控制逻辑与调用者的业务代码分 ...
分类:其他好文   时间:2021-06-11 18:26:49    阅读次数:0
数据类型
数据类型: 整数(byte,short,int,long)1 数值型1 浮点数(float,double)1 基本数据类型1 字符(char)1 数据类型 非数值型2 布尔(boolean)2 引用数据类型2 类(class)2 接口(interface)2 数组([])2 数据类型内存占用和取值范 ...
分类:其他好文   时间:2021-06-11 18:07:25    阅读次数:0
设计模式中的迭代器Iterator
任何容器的底层数据结构只有两种:一种是数组;另一种是链表。例如:list,set,map,二叉树,图等容器。访问容器使用Iterator迭代器。 public interface Collection_ { void add(Object o); int size(); Iterator_ iter ...
分类:其他好文   时间:2021-06-10 18:43:23    阅读次数:0
maven 配置阿里云镜像,以及本地仓库,系统环境变量配置
settings,xml 阿里云镜像: <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/ ...
分类:其他好文   时间:2021-06-10 18:06:24    阅读次数:0
class Class, package java.lang; rt.jar
java文件中包含3700行 /** * Returns the {@code Class} object associated with the class or * interface with the given string name. Invoking this method is * e ...
分类:编程语言   时间:2021-06-09 10:31:41    阅读次数:0
华为交换机的常用配置
批量操作接口:[SW1]port-group g2[SW1-port-group-g2]group-member GigabitEthernet 0/0/10 to GigabitEthernet 0/0/20 清空接口配置:[SW1]clear configuration interface Gi ...
分类:其他好文   时间:2021-06-08 22:55:00    阅读次数:0
java note
接口 接口的声明 [可见度] interface 接口名称 [extends 其他的接口名] { // 声明变量 // 抽象方法 } //例子 /* 文件名 : Animal.java */ interface Animal { public void eat(); public void trav ...
分类:编程语言   时间:2021-06-07 20:50:15    阅读次数:0
工厂模式
简单工厂模式 简单工厂模式是由工厂对象决定创建哪一种产品,虽然不属于23种设计模式,但是也是工厂模式进阶的由来。 模拟场景: 暑假太过无聊,就自己在家打算做一个MP3播放器,其中包括播放器的程序设计也是自己来搞定的。如下结构 //歌曲播放接口 public interface ISong { voi ...
分类:其他好文   时间:2021-06-06 19:33:44    阅读次数:0
资源划分--cgroups
一、简介 cgroups 的全称是control groups,是Linux内核提供的一种可以限制、记录、隔离进程组所使用的物理资源(包括:CPU、memory、IO等),可以对 cpu,内存等资源实现精细化的控制,目前越来越火的轻量级容器 Docker 就使用了 cgroups 提供的资源限制能力 ...
分类:其他好文   时间:2021-06-06 19:06:23    阅读次数:0
interface Consumer<T>, package java.util.function, since jre1.8
/* * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. ...
分类:编程语言   时间:2021-06-04 18:53:10    阅读次数:0
15105条   上一页 1 2 3 4 5 6 ... 1511 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!