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 98,444 public repositories matching this topic...

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 Mar 20, 2020
  • Java
leetcode
azl397985856
azl397985856 commented Mar 1, 2020

ไฝฟ็”จ้˜Ÿๅˆ—ๅฎž็Žฐๆ ˆ็š„ไธ‹ๅˆ—ๆ“ไฝœ๏ผš

push(x) -- ๅ…ƒ็ด  x ๅ…ฅๆ ˆ
pop() -- ็งป้™คๆ ˆ้กถๅ…ƒ็ด 
top() -- ่Žทๅ–ๆ ˆ้กถๅ…ƒ็ด 
empty() -- ่ฟ”ๅ›žๆ ˆๆ˜ฏๅฆไธบ็ฉบ
ๆณจๆ„:

ไฝ ๅช่ƒฝไฝฟ็”จ้˜Ÿๅˆ—็š„ๅŸบๆœฌๆ“ไฝœ-- ไนŸๅฐฑๆ˜ฏ push to back, peek/pop from front, size, ๅ’Œ is empty ่ฟ™ไบ›ๆ“ไฝœๆ˜ฏๅˆๆณ•็š„ใ€‚
ไฝ ๆ‰€ไฝฟ็”จ็š„่ฏญ่จ€ไนŸ่ฎธไธๆ”ฏๆŒ้˜Ÿๅˆ—ใ€‚ ไฝ ๅฏไปฅไฝฟ็”จ list ๆˆ–่€… deque๏ผˆๅŒ็ซฏ้˜Ÿๅˆ—๏ผ‰ๆฅๆจกๆ‹Ÿไธ€ไธช้˜Ÿๅˆ— , ๅช่ฆๆ˜ฏๆ ‡ๅ‡†็š„้˜Ÿๅˆ—ๆ“ไฝœๅณๅฏใ€‚
ไฝ ๅฏไปฅๅ‡่ฎพๆ‰€ๆœ‰ๆ“ไฝœ้ƒฝๆ˜ฏๆœ‰ๆ•ˆ็š„๏ผˆไพ‹ๅฆ‚, ๅฏนไธ€ไธช็ฉบ็š„ๆ ˆไธไผš่ฐƒ็”จ pop ๆˆ–่€… top ๆ“ไฝœ๏ผ‰ใ€‚

ๆฅๆบ๏ผšๅŠ›ๆ‰ฃ๏ผˆLeetCode๏ผ‰
้“พๆŽฅ๏ผšhttps://leetcode-cn.com/problems/implement-stack-using-queues
่‘—ไฝœๆƒๅฝ’้ข†ๆ‰ฃ็ฝ‘็ปœๆ‰€ๆœ‰ใ€‚ๅ•†ไธš่ฝฌ่ฝฝ่ฏท่”็ณปๅฎ˜ๆ–นๆŽˆๆƒ

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

about learning Spring Boot via examples. Spring Boot ๆ•™็จ‹ใ€ๆŠ€ๆœฏๆ ˆ็คบไพ‹ไปฃ็ ๏ผŒๅฟซ้€Ÿ็ฎ€ๅ•ไธŠๆ‰‹ๆ•™็จ‹ใ€‚

  • Updated Dec 20, 2019
  • Java
WxJava

WxJava ๏ผˆๅพฎไฟกๅผ€ๅ‘ Java SDK๏ผ‰๏ผŒๆ”ฏๆŒๅŒ…ๆ‹ฌๅพฎไฟกๆ”ฏไป˜ใ€ๅผ€ๆ”พๅนณๅฐใ€ๅฐ็จ‹ๅบใ€ไผไธšๅพฎไฟก/ไผไธšๅทๅ’Œๅ…ฌไผ—ๅท็ญ‰็š„ๅŽ็ซฏๅผ€ๅ‘

  • Updated Mar 20, 2020
  • Java
dvasilev86
dvasilev86 commented Aug 22, 2019

๐Ÿ› Bug Report

using selenium-server-standalone-3.141.59.jar from cli:
java -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig seleniumNode.json
gives me this error:
`Exception in thread "main" org.openqa.grid.common.exception.GridConfigurationException: Deprecated -nodeConfig file encountered. Please update the file to work with Selenium 3. See https://github.com/Seleniu

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);
        
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
You canโ€™t perform that action at this time.