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,660 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

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 ็ญ‰็ปดๆŠคๅทฅไฝœ๏ผŒๆไบคๅ†…ๅฎนๆ—ถไนŸๅฏไปฅ็›ดๆŽฅ push ๅˆฐ doocs/advanced-java ไธปๅˆ†ๆ”ฏ master ไธ‹๏ผŒๆ— ้กปๆไบค PR ็ญ‰ๅพ… reviewใ€‚

็›ฎๅ‰ advanced-java ๅชๆœ‰ [yanglbme](http

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 22, 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

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

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.

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
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.