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 94,418 public repositories matching this topic...

iluwatar
iluwatar commented Oct 26, 2019

Jekyll front matter is used to add attributes to web pages on our web site. All the patterns have their front matter defined in README.md but description is missing from there. description is used to add HTML meta tag to the pattern's web page as can be seen here: https://github.com/iluwatar/java-design-patterns/blob/gh-pages/_includes/head.html#L8

costin
costin commented Nov 25, 2019

Currently Elasticsearch offers standard deviation (STDDEV) and variance (VAR) both in population form however there's also the sampling form which depending on the data size, can yield significantly different results.
As it's just a matter of a (somewhat) different formula, it should be straight forward to expand the current implementation [Ex

wilkinsona
wilkinsona commented Jan 13, 2020

Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.

If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from peo

akarnokd
akarnokd commented Jan 9, 2020

The current ParamValidationNaming can only check explicit argument validation (i.e., the method body lists requireNonNull or verifyPositive) but not overloads delegating to those methods thus lacking the explicit argument validation themselves.

I don't think this can be automated, therefore, each base reactive class' source should be manually examined and expanded with the missing `@throw

1170300826
1170300826 commented Jul 5, 2019

It is known that Alibaba is a great international company.Maybe @kdn251 can open a catalog:interviews/company/Alibaba.
For example,a 2019 Alibaba interview question.
//Question: you need to caculate sqrt(2) to 10 decimal places accurately without math library.
`double sqrt2( )
{
double low = 1.4, high = 1.5;
double mid = (low + high) / 2;
while (high – low > 0.0000000001)
{

advanced-java
yanglbme
yanglbme commented Apr 15, 2019

英雄招募

成为 Doocs 项目维护者

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

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

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

bennofs
bennofs commented Sep 16, 2019

Simple example:

class Scratch {
    public static void main(String[] args) {
        final Multimap<String, String> map = HashMultimap.create();
        map.put("test", "x");
        map.put("xx", "z");
        for (Iterator<Map.Entry<String, Collection<String>>> it = map.asMap().entrySet().iterator(); it.hasNext(); ) {
            Map.Entry<String, Collection<String>> entry = it.nex
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 18, 2020
  • Java
leetcode
azl397985856
azl397985856 commented Jan 15, 2020

你的朋友正在使用键盘输入他的名字 name。偶尔,在键入字符 c 时,按键可能会被长按,而字符可能被输入 1 次或多次。

你将会检查键盘输入的字符 typed。如果它对应的可能是你的朋友的名字(其中一些字符可能被长按),那么就返回 True。

 

示例 1:

输入:name = "alex", typed = "aaleex"
输出:true
解释:'alex' 中的 'a' 和 'e' 被长按。
示例 2:

输入:name = "saeed", typed = "ssaaedd"
输出:false
解释:'e' 一定需要被键入两次,但在 typed 的输出中不是这样。
示例 3:

输入:name = "leelee", typed = "lleeelee"
输出:true
示例 4:

输入:name = "laiden", typ

leakcanary
fbenbassat
fbenbassat commented Jan 6, 2020

Description

Shark-CLI 2.0 does not work on Windows 8.1

Steps to Reproduce

Download Shark-CLI zip file and run shark-cli.bat

Run command: shark-cli.bat analyze-process <package_name>

Exception error:
Exception in thread "main" java.lang.IllegalThreadStateException: process has not exited
at java.lang.ProcessImpl.exitValue(Unknown Source)
at shark.MainKt.ru

efernandesng
efernandesng commented Oct 4, 2019

Sometimes we only want view a file content quickly and in that cases, on current version of GUI, we need close the tab after do a single click on some node in the tree.

I think that would be nice, if we can have a "preview mode" option. When we do a single click, a tab is opened with the content of the node, but if we click on another node, the content of these tab is replaced by the new one. T

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.