09 2022 档案
摘要:开发手册 网上解释不推荐用java.sql.Date、java.sql.Time的文章有很多,但是解释为什么不推荐使用java.sql.Timestamp文章没找到。 参考文章:一文告诉你Java日期时间API到底有多烂 原因 Oracle官网文档中这么写: 可以看到,根源是因为java.sql.T
阅读全文
摘要:/** * Performs blocking or timed wait for a task, depending on * current configuration settings, or returns null if this worker * must exit because of
阅读全文
摘要:/** * Checks if a new worker can be added with respect to current * pool state and the given bound (either core or maximum). If so, * the worker count
阅读全文
摘要:/** * Checks if a new worker can be added with respect to current * pool state and the given bound (either core or maximum). If so, * the worker count
阅读全文
摘要:/** * Executes the given task sometime in the future. The task * may execute in a new thread or in an existing pooled thread. * * If the task cannot b
阅读全文
摘要:/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under th
阅读全文
摘要:看到一个没见过的SuppressWarning(@SuppressWarnings("WeakerAccess")),网上也没搜到。 找到一篇文章(@SuppressWarnings values)介绍@SuppressWarning注解。大意是@SuppressWarning的value只是给ID
阅读全文