Created
May 22, 2017 02:04
-
-
Save Huruikagi/de6d845eaeab25584702d80b4c3630f9 to your computer and use it in GitHub Desktop.
「就活を終えて」プレゼン内で使用したジョークソースコードです。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
/** | |
* KBC IT Workshopの「就活を終えて」プレゼンで利用する、 | |
* ジョークソースコードです。 | |
*/ | |
public class CompanyFilter { | |
/** | |
* 会社多すぎて死ぬから絞りこもう。 | |
* | |
* @param manyCompanies 玉石混合の会社郡 | |
* @return よりすぐりのイカした会社 | |
*/ | |
public List<Company> doFilter(List<Company> manyCompanies) { | |
List<Company> niceCompanies = new ArrayList<>(); | |
for (company : manyCompanies) { | |
// ※ isGoodが未実装のためとりあえずtrue | |
if (true /* company.isGood() */) | |
niceCompanies.add(company); | |
} | |
return niceCompanies; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment