Java ???? : ?? ID ??? ??? ?? ?? ???
? ????? Java ?????? ?? ??? ?? ? ? ?? ID ??? ????? ???? ?? ??? ??? ? ??? ??? ??? ?? ?????.
?? : ?? ??? ?? ID? ??? ???? ?? ??, ?? ? ?? ?? ????? ?? ?????.
?? : ??? ?? ? ?? ??? ???? ID ??? ?? ? ? ?? ?? ??? ??????.
???:
HashMap
? ?? ??? ???? ?? ID? ?? ???? ???? ID ?? ??? ???? ? ?????. ?? ? ??? ??? ????.
java.util.hashmap import; java.util.map import; java.util.scanner import; ?? ??? ?? ??? { ?? ????<string student> StudentMap = New Hashmap (); ?? ?? int addStudent () { ??? ??? = ? ??? (System.In); System.out.print ( "?? ID? ?????? :"); ??? studentId = scanner.next (); if (StudentMap.ContainsKey (StudentId)) { System.out.println ( "?? ID? ?? ???? ???? ?????!"); ?? 0; // ID? ???? ?? ??} ?? ?? = ??? (); student.setId (studentId); System.out.print ( "?? ??? ?????? :"); Student.setName (scanner.next ()); System.out.print ( "??? ??? ?????? :"); Student.setage (scanner.nextInt ()); System.out.print ( "?? ??? ?????? :"); student.setAddress (scanner.next ()); StudentMap.put (StudentId, Student); System.out.println ( "?? ??? ????? ???????!"); ?? 1; } ?? ?? ?? ?? { ?? ??? ID; ?? ??? ??; ??? int ??; ?? ??? ??; // getter ? setter ??? public String getId () {return id; } public void setid (String Id) {this.id = id; } ?? ??? getName () {return name; } public void setName (??? ??) {this.name = ??; } public int getage () {?? ??; } ?? ?? ?? (int Age) {this.age = age; } ?? ??? getAddress () {?? ??; } public void setAddress (??? ??) {this.address = ??; } } public static void main (String [] args) { addStudent (); } }</string>
?? ?? :
Hashmap :
studentMap
????HashMap
???? ?? ??? ??????. ??? ?? ID?? ???Student
?????.HashMap
containsKey()
???? ????, ?? ID? ????? ??? ????? ??? ? ????.?? ?? : ?? ??? ???? ??
studentMap.containsKey(studentId)
???? ID? ???? ????? ??????. ???? ?? ?? ???? ???? ?? ???? ?? ??? ??????.?? ?? :
studentMap
?? ??? ????addStudent()
???? ?? ? ?? ? ? ???? ??? ? ??????.
??? ???? ?? ID? ???? ?? ????? ???? ???? ?? ??? ??? ?? ??? ? ??? ??? ??????.
? ??? Java ??????? ?? ID? ?? ? ? ?? ?? ??? ???? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

PHP?? ?? ?? ??? ???? ?? ??? ? ???? ?? ??? ???? ?? ??? ???? ???? ????. 1. ?? ?? ??? ?? ??? URL ? ?? ??? ????. 2. UrlenCode? ???? ?? ??? ???????. 3. ? ???? ????? ?? ?? ??? ? ?? ??? ?????. 4. ???? ???? ?? ? ? ??? ??? ??? ??? ?????. 5. ??? ?? ??? ????? ?? ????? OG ??? ???? ?????. 6. XSS ??? ???? ?? ??? ??? ?????. ? ???? ??? ??? ???? ??? ?? ?? ??? ??? ???? ??? ?? ??? ?????.

AI? ??? ??? ?? ?? ? ?? ???? ????? ?? ??? ??????. 1. Baidu, Tencent API ?? ?? ?? NLP ?????? ?? ??? AI ?? ?? API? ??????. 2. PHP? ? ?? guzzle? ?? API? ???? ?? ??? ??????. 3. ?? ????? ?? ?? ??? ???? ???? ???? ??? ??? ? ????. 4. ?? ?? ? ?? ???? ?? PHP-L ? PHP_CODESNIFFER? ??????. 5. ???? ????? ???? ?? ?? ??? ?????? ??? ??????. AIAPI? ??? ? ???, ?? ??, ?? ? PHP ?? ??? ??? ???. ?? ???? PSR ??? ???, ??? ????? ????, ?? ??? ???, ????? ??? ????, X? ???????.

??? ?? ??? ??? ?? JavaScript? MediareCorder API? ?? PHP ???? ???? ?????. 2. PHP? ???? ?? ??? ???? STTAPI (? : Google ?? Baidu ?? ??)? ???? ???? ?????. 3. PHP? ???? AI ??? (? : OpenAigpt)? ????. 4. ?? ?? PHP? TTSAPI (? : Baidu ?? Google ?? ??)? ???? ??? ?? ??? ?????. 5. PHP? ?? ??? ??? ??? ??? ?? ?? ??? ?????. ?? ????? PHP? ?? ???? ?? ?? ?? ??? ??? ?????.

PHP? AI ??? ??? ?? ????? ??? API? ?? ?????. ??? ??? ????? ? ??? ???? ?????. API ??? ?? ?? ??? ???? ??? ??? ???? ???? ? ????. 2. ?? ?? ???? guzzle ?? curl? ???? HTTP ??? ???, JSON ??? ??? ? ???, API ? ?? ??, ??? ? ?? ??? ???? ??, ??? ?? ?? ? ? ?? ????, ??? ?? ? ?????? ?????. 3. ???? ???? ?? ???? API ??, ?? ? ??? ?? ??, ??? ?? ??, ?? ?? ? ??? ??? ??? ?????. ?? ??? ??? ??? ? ??? ???? Propt ?? ? ?? ?? ??, ??? ?? ? ?? ????, ?? ?? ?? ???? ? ??? ?? ? ???? ????? ?????.

PHP? ?????? ????? ?? ?? ?? ???? ???? ?? ???? ???? ?? ?? ???? ?????. 2. ?? ??? ???? ???? ?? ??? ?? ? ??? ??? ???? ?? API/Webhook ??? ??? ?? ???? ??? ??? ??? ??? ?????. 3. ?? ????? ?? ??, ??/???? ????, ???? ??, ???? ? ??? ?????? ????? ?? ??? ???? ???? ?? Dingtalk, SMS ?? ??? ???? ??? ?????? ???? ?? ? ??? ??? ????? ?? ??? ???? ???????.

??? AI ?? ?? ???? ???? PHPSDK? ??????. 2. PHP? ???? FFMPEG? ???? ???? API ?? ?? (? : WAV)?? ?????. 3. ??? ???? ????? ????? API ???? ??? ??????. 4. NLP ??? ???? JSON ??? ???? ???? ?????. 5. ?? ??? ???? ???? ?? ?? ?? ?? ?? ??? ?????. ?? ????? ?? ?? ? ??? ???? ?? ??? ???, ??? ?? ? ??? ???????.

PHP? ??? ?? ??, ?????? ???? ? ?? AI ???? ???? ? ????? ??? ?? ????? ??? ? ??? ??? ??? ?????. 2.?? ??? ?? ?? ??? ????? ???????. ??? ??? ??? ???, PHP ??? ??? ? ?? ??? ???? ?? ?? ?? ??? ???? ??? OpenAI ?? DialogFlow? ?? ?? AI ???? ???? ???? ??? ????. 3. ?? ??? ???? ???? ???? ?? PHP? ?? MySQL ? ?? ??????? ?????. 4. ?? AI ???? guzzle? ???? HTTP ??? ??? Apikeys? ???? ???? ?? ?? ? ?? ??? ? ???????. 5. ?????? ????? ??, ???, ?? ?? ? ??? ???? ???????, ???? ????? ???? ?? ? ??? ???? ?? ???? ???????.

AI ?? API? ??? ? ???, ??, ?? ?? ? ?? ???? ??? ???????. 2. PHP? Guzzle? ???? ??? ??? ??? JSON_DECODE? ???? ?? ? JSON ???? ???? ?? ? ?? ?? ?????? ?????. 3. AI ???? ????? ????? ?? ????? ??? ? ??? ??? ???????. 4. ??, ??? ? ? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ??? ??? ? ? ????.
