VB.net

サンプルコード

Module ModuleTest Sub Main() Dim n As Integer = 0 Do While n < 10 If n = 5 Then n = n + 2 Continue Do E ...

VB.net

サンプルコード

 

Module ModuleDemo Sub Main() Dim i As Integer = 0 Do While i < 15 If i = 10 Then Exit Do E ...

VB.net

サンプルコード

Sub Main()Dim city() As String = {"tokyo", "oosaka", "yokohama","kawasaki"} For Each cft As String In city ...

Java

書式
public byte byteData = ptVal.getBytes("UTF-8"); }catch(UnsupportedEncodingException e){ System.out.println(e); ...

Swift

サンプルコード

class Test { var city = "yokohama" var cft: String { get { return self.city } set(city) { self.city = xxxx ...

Java

サンプルコード
int copiedArr = Arrays.copyOf(arr, 10);//10 the the length of the new array
System.out.println(Arrays ...

Software

更新内容

Fixed Promise timeout issue when running Electron as Node. #23324
Fixed a use-after-free error that could ...

Software

更新内容

PowerToys can now update itself #1686
FancyZone can now snap to two zones (still experimental since it doe ...

Software

特徴:
– Edit ACLs for files (Google Storage)
– Support to set storage class (Google Storage)
&# ...

Software

更新内容

Dependencies:Updated OpenSSL to 1.1.1g (Hassaan Pasha) #32971.
Updated c-ares to 1.16.0 (Anna Henningsen)  ...

Java

ダウンロード

利用前

finally { if (in != null) { try { in.close(); } catch (IOException e) { xxxxxx } } if (out !

SpringMVC

環境
Spring 5.3.21

構文
1.public @interface ModelAttribute

メソッドパラメーターまたはメソッドの戻り値を名前付きモデル属性にバインドし、Web ビュー ...

Swift

サンプルコード

var cft = for (key, value) in cft { println("dictionary key is \(key), value is \(value)")}

 

PHP

サンプルコード
$cft = array(“php入門”, “Java入門”,”Swift入門”);

//配列=>JSON
$t ...

Java

Javaコード

<s:if test="hasActionErrors() || hasFieldErrors()"> <div class="msg"> <s:iterator var="acti ...

Swift

説明
現在のループの処理を中止し、次の繰り返し処理を先頭から始めます。

サンプルコード

let cftStr = "Study swift in arkgame"var outStr = ""for cft ...

Swift

1.while文

var n = 0 while n <= 16 { n = n + 1 if n % 3 == 0 { continue } print(n)}

2.repeat-while文

var m = ...

Swift

サンプルコード

let now = NSDate()
let dateA = NSDate(timeInterval: 60*60*24*14, sinceDate: now)//2週間後
let date ...