Skip to content
#

Java

java logo

Java was originally developed as an alternative to the C/C++ programming languages. It is now mainly used for building web, desktop, mobile, and embedded applications. Java is owned and licensed through Oracle, with free and open source implementations available from Oracle and other vendors.

Here are 103,747 public repositories matching this topic...

iluwatar
iluwatar commented Oct 15, 2019

The project is using SonarCloud static code analysis. The latest results are showing that it has found several blocker and critical severity code smells. In this task those are fixed or marked as false positives. To mark false positives, SuppressWarnings annotation should be used in code as explained in the linked documentation.

Links:
[Blocker and critical severity code smells in SonarCloud](

advanced-java
yanglbme
yanglbme commented Apr 15, 2019

英雄招募

成为 Doocs 项目维护者

本项目 advanced-java,包括 Doocs 开源组织下的所有项目,都欢迎各位朋友参与完善。

如果你提交的内容有价值,且具备规范性,将有机会提升为项目的维护者,直接参与项目的 review、merge 等维护工作,提交内容时也可以直接 pushdoocs/advanced-java 主分支 master 下,无须提交 PR 等待 review。

目前 advanced-java 只有 [yanglbme](http

nicktrav
nicktrav commented Nov 1, 2018

Currently, OkHttp reaps "idle" connections (i.e. connections not in use) if either of the following is true:

  • a connection has not been used in a period greater than the idle timeout, or
  • the number of idle connections is greater than some threshold
      if (longestIdleDurationNs >= this.keepAliveDurationNs
          || idleConnectionCount > this.maxIdleConnections) {
      
eothein
eothein commented Dec 4, 2019
  • Documentation:

It would be nice if the official documentation explains how to use Retrofit together with co-routines together with the best practices regarding the asynchronous handling of requests. My students need to implement their calls using Retrofit and co-routines (following the tutorials in the Udacity course, but for documentatio

mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

  • Updated May 21, 2020
  • Java
leetcode
azl397985856
azl397985856 commented Mar 19, 2020

有一幅以二维整数数组表示的图画,每一个整数表示该图画的像素值大小,数值在 0 到 65535 之间。

给你一个坐标 (sr, sc) 表示图像渲染开始的像素值(行 ,列)和一个新的颜色值 newColor,让你重新上色这幅图像。

为了完成上色工作,从初始坐标开始,记录初始坐标的上下左右四个方向上像素值与初始坐标相同的相连像素点,接着再记录这四个方向上符合条件的像素点与他们对应四个方向上像素值与初始坐标相同的相连像素点,……,重复该过程。将所有有记录的像素点的颜色值改为新的颜色值。

最后返回经过上色渲染后的图像。

示例 1:

输入:
image = [[1,1,1],[1,1,0],[1,0,1]]
sr = 1, sc = 1, newColor = 2
输出: [[2,2,2],[2,2,0],[2,0,1]]
解析:
在图像的正中间,(坐标(

leakcanary
Armaxis
Armaxis commented Feb 6, 2020

Run following commands and enjoy the stream of warnings from Dokka:

rm -rf docs/api
./gradlew leakcanary-android-core:dokka leakcanary-android-instrumentation:dokka leakcanary-android-process:dokka leakcanary-object-watcher-android:dokka leakcanary-object-watcher:dokka shark-android:dokka shark-graph:dokka shark-hprof:dokka shark-log:dokka shark:dokka

Review errors and see if any of t

IvanFarkas
IvanFarkas commented May 28, 2019

What's the ETA for updating the massively outdated documentation?

Please update all documents that are related building CNTK from source with latest CUDA dependencies that are indicated in CNTK.Common.props and CNTK.Cpp.props.
I tried to build from source, but it's a futile effort.

arangob
arangob commented Apr 28, 2020

Searched documentation and issues

I've looked on stackoverflow, ExoPlayer docs, Android developers responding to media buttons.

Question

I am developing an app that sets the exoPlayer's volume to 0 if the device is on silent or vibrate.
If the user interacts with the volume buttons, then I want to the exoPlayer's volume to be set to the AudioManager volume.
Issue: After setting the

You can’t perform that action at this time.