欢迎光临散文网 会员登陆 & 注册

云原生资深Go区块链开发系列

2022-10-08 00:03 作者:绿兔子2  | 我要投稿

public class setDemo2 {    public static void main(String[] args) {        LinkedHashSet<String> lset = new LinkedHashSet<String>();        lset.add("11");        lset.add("22");        lset.add("33");        Iterator<String> it = lset.iterator();        while (it.hasNext()) {            System.out.print(it.next() + " ");        }    }}


云原生资深Go区块链开发系列的评论 (共 条)

分享到微博请遵守国家法律