书栈网 · BookStack 本次搜索耗时 0.032 秒,为您找到 3431 个相关结果.
  • Introduction

    Build a Node.js Project from Scratch Fun deck 来源(书栈小编注) Build a Node.js Project from Scratch Node.js What’s all the buzz about? Why are so many people talking about it? Ho...
  • Whole Body Binding

    Whole Body Binding Whole Body Binding For the cases where the names of the parts of the request cannot be known ahead of time, or the entire body should be read, a special type...
  • 变量类型推断

    915 2020-05-28 《Kotlin 基础教程》
    变量类型推断 省去变量类型 使用is 运算符进行类型检测 变量类型推断 省去变量类型 在Kotlin中大部分情况你不需要说明你使用对象的类型,编译器可以直接推断出它的类型。代码示例 fun typeInference (){ val str = "abc" println ( str ) print...
  • 3.7 Bean Factories

    3.7 Bean Factories Programmatically Disabling Beans Injection Point 3.7 Bean Factories In many cases, you may want to make available as a bean a class that is not part of you...
  • 3.7 Bean Factories

    3.7 Bean Factories Programmatically Disabling Beans Injection Point 3.7 Bean Factories In many cases, you may want to make available as a bean a class that is not part of you...
  • 3.7 Bean Factories

    3.7 Bean Factories Programmatically Disabling Beans Injection Point 3.7 Bean Factories In many cases, you may want to make available as a bean a class that is not part of you...
  • 15.5 网络IO操作

    1220 2019-03-05 《Kotlin极简教程》
    15.5 网络IO操作 15.5 网络IO操作 Kotlin为java.net.URL增加了两个扩展方法,readBytes和readText。我们可以方便的使用这两个方法配合正则表达式实现网络爬虫的功能。 下面我们简单写几个函数实例。 根据 url 获取该 url 的响应 HTML函数 fun getUrlContent ( url : ...
  • 泛型:in、out、where

    泛型:in、out、where 型变 声明处型变 类型投影 使用处型变:类型投影 星投影 泛型函数 泛型约束 上界 Definitely non-nullable types 类型擦除 泛型类型检测与类型转换 非受检类型转换 Underscore operator for type arguments 泛型:in、out、wh...
  • Basic Types

    Basic Types Numbers Literal constants Underscores in numeric literals (since 1.1) Representation Explicit conversions Operations Division of integers Bitwise operations Floa...
  • 接口

    接口 接口 Kotlin中的接口比Java 7中要强大得多。如果你使用Java 8,它们非常相似。在Kotlin中,我们可以像Java中那样使用接口。想象我们有一些动物,它们的其中一些可以飞行。这个是我们针对飞行动物的接口: interface FlyingAnimal { fun fly () } 鸟和蝙蝠都可以通...