Dart
xxxxxxxxxx
main() {
var medals = new Set();
medals.add("gold");
medals.add("silver");
medals.add("bronze");
โ
medals.add("gold");
โ
print('has gold? ${medals.contains("gold")}');
print('has platinum? ${medals.contains("platinum")}');
โ
var meals = new Set.from(['breakfast', 'lunch', 'dinner']);
โ
print(medals.union(meals));
print(medals.lookup("gold"));
print(medals.lookup("platinum"));
print(medals.difference(meals));
}
$ dart set.dart has gold? true has platinum? false {gold, silver, bronze, breakfast, lunch, dinner} gold null {gold, silver, bronze}
Linux - anc-api-tools แฅแแดแต แฅแแฐแแซแ
Linux - curvedns แฅแแดแต แฅแแฐแแซแ
Linux - zenmap แฅแแดแต แฅแแฐแแซแ
Python - แแฅแฉ แ แแแณแแฃ แ แแณแ แแญแ 0 แแแแ แซแจแแแก
C - แ แ แแต แขแแฒแแญ แแตแฅ แจแ แแแฝ แฅแแต แญแแ แฉ
C++ - แแฅแฉ แแ แแแแ แแญแ แ แแแแแ แซแจแแแก
C - แฐแแแแญ แแ แฐแจ แตแแตแณ แแฐแฃแ แ แแ แแ แตแแแ แแฅแญ แซแแ
C++ - แจแแ แแแตแ แซแจแแแก
Kotlin - แแฅแญ แญแแแ แฅ
Kotlin - แจแแฅแญ แแญแฐแญแ แซแแ
Linux - zstd แฅแแดแต แฅแแฐแแซแ
C++ - Quotient แฅแ Remainderแ แซแแ
JavaScript - แแฅแจแแแแ แจแแแแจแ แฅแ แจแแซแแ แ แฐแแฐแ แแแแแฝ แแแแ แซแจแแแก
Python - แจ Excel (XLSX) แแญแแฝแ แแแ
Java - แแฅแญ แญแแแ แฅ
Linux - xbitmaps แฅแแดแต แฅแแฐแแซแ
Kotlin - แ แแต แแฅแญ แแฐ n แจแ แตแญแฎแฝ แฆแณแแฝ แญแฅ
Java - แแซแแต แฅแ แตแญแแฐ-แฅแแต แญแแ แฉ
We have been online since 2021 and 1 millions of people around the globe have visited our website since then
More visitors every month