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 93,907 public repositories matching this topic...

akarnokd
akarnokd commented Jan 8, 2020

In instance methods of Flowable, the source should be referred to as the current {@code Flowable}. Currently, it is the source {@link Publisher} due to previous copy-paste and search/replace mistakes.

Similarly, the resulting {@code Publisher} should be the resulting {@code Flowable}.

(Watch out for line breaks in the javadocs when searching for these as patterns).


`(?s)(t

knasim
knasim commented Aug 13, 2018

There is a better solution for the TwoSum problem than the hashmap solution. Sure hashmap is fine and meets the desired output. however it can be completely eliminated as such. The techinque employs a pointers to track the argument array i.e. one from the begining aka head and the other one from the end aka tail. A single sweep on the array and adjusting the two pointers does the job rath

advanced-java
yanglbme
yanglbme commented Apr 15, 2019

英雄招募

成为 Doocs 项目维护者

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

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

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

swankjesse
swankjesse commented Feb 19, 2019

Stuff like:

  • HTTP caching heuristics source?
  • what it means if cacheResponse() and networkResponse() are both non-null (issue #4539)
  • why you need to read the entire response before an entry is stored
  • the cache must not compete with other processes for the same directory
  • pruning the cache manually
cpovirk
cpovirk commented Oct 25, 2019

MutableClassToInstanceMap

I think it permits null values but not keys. Eventually we should have nullness annotations that make the clear, but even then, it's nice to document up front, as we do for most other types.

Perhaps the ClassToInstanceMap interface should also be clearer that null keys are forbidden and null values might or might not be.

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 Jan 10, 2020
  • Java
leetcode
azl397985856
azl397985856 commented Dec 31, 2019

给你一个 n 行 m 列的二维网格 grid 和一个整数 k。你需要将 grid 迁移 k 次。

每次「迁移」操作将会引发下述活动:

位于 grid[i][j] 的元素将会移动到 grid[i][j + 1]。
位于 grid[i][m - 1] 的元素将会移动到 grid[i + 1][0]。
位于 grid[n - 1][m - 1] 的元素将会移动到 grid[0][0]。
请你返回 k 次迁移操作后最终得到的 二维网格。

示例 1:

输入:grid = [[1,2,3],[4,5,6],[7,8,9]], k = 1
输出:[[9,1,2],[3,4,5],[

leakcanary
pyricau
pyricau commented May 21, 2019

When the common part of a leaktrace uses data structures that rely on linked lists (e.g. LinkedHashMap) then the leak trace has a different size for every leak, despite being the same, which prevents good grouping.

There should be a way to transform the subset of the leaktrace that forms the group into a synthetic version that always ends up being the same. We'll need this for hashing but also

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.

Valuuin
Valuuin commented Oct 1, 2019

🚀 Feature Proposal

In the Java class RemoteWebDriver within the method:
protected Response execute(String driverCommand, Map<String, ?> parameters)

the execute command is wrapped around logs statements:

log(sessionId, command.getName(), command, When.BEFORE);
response = executor.execute(command);
log(sessionId, command.getName(), command, When.AFTER);

can this be changed

jusw85
jusw85 commented Nov 29, 2019

Issue details

Camera.unproject does not return original value

Reproduction steps/code

    public void create() {
        Vector2 tmpvec = new Vector2();
        tmpvec.set(0, 0);

        Stage stage = new Stage(new ScreenViewport());
        stage.stageToScreenCoordinates(tmpvec); // has the correct screen coords;
        stage.screenToStageCoordinates(tmpvec);
        
generator-jhipster
amatosg
amatosg commented Aug 8, 2019
Overview of the feature request

When having entities with many fields, having them in the entity-update.component.ts file could be tedious. Also, when coding side-by-side it will force me to duplicate my code for creating the form, updating the form and for creating the entity from form (those can be big methods).

**Motivation for or Use
turastory
turastory commented Aug 26, 2019

[REQUIRED] Use case description

Gradle provides both way to write build script - Groovy, and Kotlin.
While both languages are perfectly fine to write typical build logic, they have different APIs in some cases.

To build locally in Kotlin, one should use gradle.extra - ExtraPropertiesExtension, which is not defined in the class definition of Gradle.

// ExtraPropertiesExte

Created by James Gosling

Released May 23, 1995

Website
www.oracle.com/technetwork/java/javase/overview/index.html
Wikipedia
Wikipedia

Related Topics

jar android eclipse
You can’t perform that action at this time.