zoukankan      html  css  js  c++  java
  • 关于NOSAE

    NOSAE

    xxxers: FZUer, Member of WestRabbit

    Contact

    Github: NOS-AE
    QQ: 2475945868
    Gmail: nosae9981@gmail.com

    /*
     Create a POJO with getters, setters, `equals()`, `hashCode()`, `toString()` and `copy()` in a single line:
    */
    
    data class Customer(val name: String, val email: String, val company: String)
    
    // Or filter a list using a lambda expression:
    
    val positiveNumbers = list.filter { it > 0 }
    
    // Want a singleton? Create an object:
    
    object ThisIsASingleton {
        val companyName: String = "JetBrains"
    }
    
    suspend fun main() = coroutineScope {
        for (i in 0 until 10) {
            launch {
                delay(1000L - i * 10)
                print("hello $i !!
    	")
            }
        }
    }
    
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>菜鸟教程(runoob.com)</title>
    </head>
    <body>
     
    <p id="p1">Hello World!</p>
    <p id="p2">Hello World!</p>
    <script>
    document.getElementById("p2").style.color="blue";
    document.getElementById("p2").style.fontFamily="Arial";
    document.getElementById("p2").style.fontSize="larger";
    </script>
    <p>以上段落通过脚本修改。</p>
     
    </body>
    </html>
    
  • 相关阅读:
    css圆,背景,img填满等样式
    MySQL双日志
    MySQL分层和查询数据的流程
    ZJNU 2345
    ZJNU 2342
    ZJNU 2340/2341/2343
    ZJNU 2235
    ZJNU 2226
    ZJNU 2212
    ZJNU 2208
  • 原文地址:https://www.cnblogs.com/nosae/p/14382195.html
Copyright © 2011-2022 走看看