代码搜索:HashSet
找到约 4,767 项符合「HashSet」的源代码
代码结果 4,767
www.eeworm.com/read/165261/5484345
java setfactorybean.java
/*
* Copyright 2002-2004 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
www.eeworm.com/read/192142/8402405
txt 去掉list中的重复元素.txt
比如一个list如下:
[12,12,34,54,12,54,67,23,565,87,4,543,54,4]
怎么去掉它里面的重复元素?
注意,这里不是数组,是ArrayList或者List
Iterator it =list.iterator();
HashSet set = new HashSet();
while(it.ha
www.eeworm.com/read/290643/8470046
java producerandconsumertool.java
/**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regard
www.eeworm.com/read/312022/7218702
cpp magnet.cpp
/*
This file is part of KCeasy (http://www.kceasy.com)
Copyright (C) 2002-2004 Markus Kern
This program is free software; you can redistribute it and/or
modify it under the te
www.eeworm.com/read/397011/8072321
java student.java
package exec.day1016;
import java.util.HashSet;
public class Student {
private String number;//学生编号
private String name;//学生姓名
private String major;//学生专业
private HashSet selectedCourses
www.eeworm.com/read/130241/5962528
java settest.java
/**
@version 1.10 2003-08-02
@author Cay Horstmann
*/
import java.util.*;
/**
This program uses a set to print all unique words in
System.in.
*/
public class SetTest
{
www.eeworm.com/read/130188/5963248
java simplesemaphore.java
/*
* Copyright James House (c) 2001-2004
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi
www.eeworm.com/read/129320/5974057
java prettycodeemitter.java
/*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Le
www.eeworm.com/read/129320/5974363
java lockedfields.java
/*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the G
www.eeworm.com/read/129320/5974434
java naming.java
/*
* FindBugs - Find bugs in Java programs
* Copyright (C) 2003,2004 University of Maryland
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the G