Java Coding Community
Java Coding Community
  • 53
  • 758 193
Iterable vs Iterator interface in Java | Java Beginners Tutorial
In Java, Iterable is an interface from the java.lang package. An object that implements the Iterable interface can be iterated over using a "for-each" loop. The Iterable interface has one method: iterator(), which returns an instance of an iterator. Examples of classes that implement Iterable include ArrayList, HashSet, LinkedList, and others.
Iterator is an interface from the java.util package. An object that implements the Iterator interface is used to iterate through elements of a collection. The Iterator interface has three main methods: hasNext(), which returns true if there is a next element in the iteration; next(), which returns the next element in the iteration; and remove(), which removes the last element returned by the next() call. Iterator is commonly used to iterate through collections such as ArrayList, HashSet, LinkedList, and others.
มุมมอง: 2 379

วีดีโอ

Comparable Interface vs Comparator Interface | Java Tutorial
มุมมอง 3Kปีที่แล้ว
Comparable interface imposes a total ordering on the objects of each class that implements it. This ordering is referred to as the class's natural ordering, and the class's compareTo method is referred to as its natural comparison method. Lists (and arrays) of objects that implement this interface can be sorted automatically by Collections.sort (and Arrays.sort). Objects that implement this int...
How to setup Redis as Spring Session Storage Tutorial
มุมมอง 1.8Kปีที่แล้ว
How to setup Redis Cache as Spring Session Storage Tutorial. Start your Redis in Docker & use it as a Spring Session Storage within minutes. Spring Session makes it trivial to support clustered sessions without being tied to an application container specific solution. It provides a first class support to Redis. Spring Session: spring.io/projects/spring-session Redis is an open source (BSD licen...
Comparator Interface in Java - Tutorial for Beginners | Learn Comparator in 5 minutes
มุมมอง 4.2Kปีที่แล้ว
Comparator Interface Tutorial in Java - for beginners. Explained simply and elegantly in under 5 minutes. Today I am going to show you how to use the Comparator interface in Java to sort Custom objects using the A comparison function, which imposes a total ordering on some collection of objects. Comparators can be passed to a sort method (such as Collections.sort or Arrays.sort) to allow precis...
JavaFX Chat App Tutorial with UDP protocol | Socket API tutorial
มุมมอง 6K2 ปีที่แล้ว
JavaFX tutorial. UDP protocol tutorial. Create a chat app with JavaFX & UDP protocol. Learn Socket programming. Code: github.com/javacodingcommunity/javafx-chat-app-with-udp JavaFX is an open source, next generation client application platform for desktop, mobile and embedded systems built on Java. It is a collaborative effort by many individuals and companies with the goal of producing a moder...
How to Set Up JavaFX with Gradle | JavaFX Tutorial 2022 Version
มุมมอง 7K2 ปีที่แล้ว
Setting up JavaFX with Gradle | JavaFX Gradle Tutorial How to set up JavaFX with Gradle - Beginner JavaFX Tutorial Okay, today I am going to show you how to set up JavaFX with Gradle . We will be using newest JavaFX and IntelliJ version, but the process is similar on all versions so don’t be afraid. build.gradle github.com/javacodingcommunity/javafx-gradle/blob/main/build.gradle Javafx.java cla...
How to Set Up JavaFX with Maven | JavaFX Tutorial 2022 Version
มุมมอง 26K2 ปีที่แล้ว
Setting up JavaFX with Maven | JavaFX Maven Tutorial How to set up JavaFX with Maven - Beginner JavaFX Tutorial Okay, today I am going to show you how to set up JavaFX with Maven. We will be using newest JavaFX and IntelliJ version, but the process is similar on all versions so don’t be afraid. POM.XML github.com/javacodingcommunity/javafx-maven/blob/main/pom.xml Javafx.java class github.com/ja...
Controller & RestController annotations in Spring Boot Java | REST tutorial
มุมมอง 1.1K2 ปีที่แล้ว
Controller, RestController, ResponseBody & RequestBody tutorial. Spring Boot MVC tutorial. Spring Boot Rest Service tutorial. Controller annotation is used to annotate the class which then can catch http requests and have methods that can process those http requests. RestController annotation is used to annotate the class which can also catch http requests but it is more suitable for REST servi...
Library Management System with JavaFX | JavaFX Tutorial
มุมมอง 7K2 ปีที่แล้ว
JavaFX Tutorial on Library Management System. Library Management System with JavaFX & Java. Free JavaFX Tutorial. JavaFX & Maven: openjfx.io/openjfx-docs/#maven JavaFX in Eclipse: th-cam.com/video/bk28ytggz7E/w-d-xo.html SceneBulder setup: th-cam.com/video/yngO5WwfZCY/w-d-xo.html JavaFX in Intellij: th-cam.com/video/rNzZPamHJlM/w-d-xo.html Maven: maven.apache.org/download.cgi Code: github.com/j...
Snake Game in Java Step by Step | Java2D package Tutorial
มุมมอง 9K2 ปีที่แล้ว
Snake Game in Java Tutorial. Java2D tutorial in Java. Full Step by Step Snake Game tutorial in Java. Java 2D is an API for drawing two-dimensional graphics using the Java programming language. Every Java 2D drawing operation can ultimately be treated as filling a shape using a paint and compositing the result onto the screen. FULL CODE: github.com/javacodingcommunity/Snake-Game-Java JFrame: doc...
Breadth First Search (BFS) Explained in Java | BFS & Tree Java Tutorial
มุมมอง 9K2 ปีที่แล้ว
Breadth First Search - BFS Algorithm explained in Java with full code. BFS in Java Programming Language. In this tutorial I will teach you how to implement a Tree data stucture in Java and then find values in that tree using Breadth First Search or BFS for short! Breadth-first search (BFS) is an algorithm for searching a tree data structure for a node that satisfies a given property. It starts ...
Spring Boot in under 10 minutes | Spring Boot Tutorial with Spring Web
มุมมอง 6K3 ปีที่แล้ว
Spring Boot Tutorial for beginners, learn Spring Boot in under 10 minutes, Spring Boot with Spring Web including Spring MVC and Tomcat server. Why learn Spring Boot? Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". Spring Boot is a tool that makes developing web application and micro services with Spring Framework faster and ea...
For, While, Do-While and For Each Loop in Java | Java Loop Tutorial for Beginners
มุมมอง 4723 ปีที่แล้ว
For, While, Do-While and For Each Loop in Java | Java Loop Tutorial for Beginners
Exceptions in Java | Exception & Error handling in Java
มุมมอง 1.5K3 ปีที่แล้ว
Exceptions in Java | Exception & Error handling in Java
Java Typing Practice Application - Full JavaFX Tutorial | Part #3
มุมมอง 1.5K3 ปีที่แล้ว
Java Typing Practice Application - Full JavaFX Tutorial | Part #3
Java Typing Practice Application - Full JavaFX Tutorial | Part #2
มุมมอง 1.5K3 ปีที่แล้ว
Java Typing Practice Application - Full JavaFX Tutorial | Part #2
Java Typing Practice Application - Full JavaFX Tutorial | Part #1
มุมมอง 5K3 ปีที่แล้ว
Java Typing Practice Application - Full JavaFX Tutorial | Part #1
JavaFX Login Form with PostgreSQL Database Tutorial
มุมมอง 9K3 ปีที่แล้ว
JavaFX Login Form with PostgreSQL Database Tutorial
Java HashMap Tutorial for Beginners
มุมมอง 1.6K3 ปีที่แล้ว
Java HashMap Tutorial for Beginners
Super Keyword in Java | Super Keyword Tutorial
มุมมอง 4703 ปีที่แล้ว
Super Keyword in Java | Super Keyword Tutorial
This Keyword Tutorial | All 6 Usages of This Keyword Explained
มุมมอง 8363 ปีที่แล้ว
This Keyword Tutorial | All 6 Usages of This Keyword Explained
How to Set Up JavaFX to work in Eclipse | Newest 2021 version | JavaFX Beginner Tutorial
มุมมอง 117K3 ปีที่แล้ว
How to Set Up JavaFX to work in Eclipse | Newest 2021 version | JavaFX Beginner Tutorial
Tic Tac Toe AI with MiniMax using Python | Part 2: Minimax
มุมมอง 38K3 ปีที่แล้ว
Tic Tac Toe AI with MiniMax using Python | Part 2: Minimax
Tic Tac Toe AI with MiniMax using Python | Part 1: Programming Tic Tac Toe
มุมมอง 39K3 ปีที่แล้ว
Tic Tac Toe AI with MiniMax using Python | Part 1: Programming Tic Tac Toe
JavaFX Login Form Tutorial using Scene Builder | JavaFX and Scene Builder Tutorial | 2020 Version
มุมมอง 100K4 ปีที่แล้ว
JavaFX Login Form Tutorial using Scene Builder | JavaFX and Scene Builder Tutorial | 2020 Version
How to set Up JavaFX to work in IntelliJ Idea | Newest 2020 Version
มุมมอง 16K4 ปีที่แล้ว
How to set Up JavaFX to work in IntelliJ Idea | Newest 2020 Version
Stack Tutorial | How to implement a Stack from Scratch
มุมมอง 1.4K4 ปีที่แล้ว
Stack Tutorial | How to implement a Stack from Scratch
Linked List Tutorial in Java | Learn by doing: implement your own Singly Linked List
มุมมอง 2K4 ปีที่แล้ว
Linked List Tutorial in Java | Learn by doing: implement your own Singly Linked List
Course Introduction | Algorithm Analysis - Time and Space Complexity
มุมมอง 7264 ปีที่แล้ว
Course Introduction | Algorithm Analysis - Time and Space Complexity
What is an Algorithm? | Algorithm Analysis
มุมมอง 6884 ปีที่แล้ว
What is an Algorithm? | Algorithm Analysis

ความคิดเห็น

  • @Roni-tm9mo
    @Roni-tm9mo 7 วันที่ผ่านมา

    Is it possible to make simple games using this method, like flappy bird or chess. Or do you recomend using/learning something else

  • @shashankchaturvedi-zv6nc
    @shashankchaturvedi-zv6nc 14 วันที่ผ่านมา

    Hey , can you help tranform my idea into a reality ,I'm a big fan of your channel and really enjoy your vedios. I have an idea for a video tool that I think your viewers might find interesting.Let me know if you're interested!

  • @kuleCristo
    @kuleCristo 2 หลายเดือนก่อน

    Node cannot be resolved to a type in insert method

  • @michaellittle1665
    @michaellittle1665 2 หลายเดือนก่อน

    Thank you, but how would you implement this as a model view controller?

  • @regredanger6389
    @regredanger6389 2 หลายเดือนก่อน

    Is there a way to export the project into an executable Jar?

  • @kiryu_kiryusha
    @kiryu_kiryusha 2 หลายเดือนก่อน

    is it possible to run javafx program with run button(shift + f10)? the program works with mvn clean javafx:run but when i try to run it with run button it says "Error: JavaFX runtime components are missing"

    • @BOB-oc6cq
      @BOB-oc6cq 2 หลายเดือนก่อน

      :( me too

  • @beanos1.071
    @beanos1.071 2 หลายเดือนก่อน

    Why did you only write the get id method and not the get name?

  • @karangupta3394
    @karangupta3394 3 หลายเดือนก่อน

    This topic needs some time to grab on it and you explained it slowly and thoroughly. Thanks brother!

  • @szkarlatny_pumpernikiel
    @szkarlatny_pumpernikiel 3 หลายเดือนก่อน

    Mate! You can hardly hear anything, you need to fix the audio track on the louder one.

  • @moniquemayer6314
    @moniquemayer6314 4 หลายเดือนก่อน

    i got this error after doing what your video said. "Error occurred during initialization of boot layer java.lang.module.FindException: Module javafx.controls not found " what should i do now

  • @heydude8793
    @heydude8793 5 หลายเดือนก่อน

    Thanks buddy

  • @frustratedplayer
    @frustratedplayer 5 หลายเดือนก่อน

    what if it doesn't switch? i think there is something wrong with the (String fxml) section in main

  • @DiegoI-i9v
    @DiegoI-i9v 5 หลายเดือนก่อน

    Thank you, this video helped out so much in completing my assignment.

  • @sallsu173
    @sallsu173 5 หลายเดือนก่อน

    Nice explanation, keep the good work

  • @ezehernandez4950
    @ezehernandez4950 5 หลายเดือนก่อน

    Great!! you know use Scenebuilder and fontwaesome + Intellij For integration dependences, because this show error in Intellij 2024!!!! waitt!!! Can you do that?

  • @realti-l3h
    @realti-l3h 6 หลายเดือนก่อน

    how do you prevent page refresh?

  • @girlygirlpink17
    @girlygirlpink17 6 หลายเดือนก่อน

    Thank you! Very useful video!

  • @TeeohTV
    @TeeohTV 6 หลายเดือนก่อน

    This video is so much simpler than how my university professor explained it. Great video!

  • @andersoncabrera3027
    @andersoncabrera3027 7 หลายเดือนก่อน

    man, thanks for taking your time and making this, really straight to the point with clear examples :)

  • @JoshuaLawrence-wc2yr
    @JoshuaLawrence-wc2yr 8 หลายเดือนก่อน

    Busy practicing for a big practical test I have coming up and this video has been a lifesaver. Straight to the point, clear, and concise. Thank you so much for sharing!

  • @tritonkor9154
    @tritonkor9154 8 หลายเดือนก่อน

    Thanks! You save me

  • @slavgamer8231
    @slavgamer8231 8 หลายเดือนก่อน

    Thank you!! You are my hero :)

  • @badtoro8450
    @badtoro8450 8 หลายเดือนก่อน

    Thanks!

  • @Ben-vz6zm
    @Ben-vz6zm 8 หลายเดือนก่อน

    your channel is a gold mine!

  • @corinaprieto5560
    @corinaprieto5560 9 หลายเดือนก่อน

    Where did that code come from? Can I copy and paste it?

  • @dadijae1997
    @dadijae1997 9 หลายเดือนก่อน

    Excellent resource, thanks! Just now learning about Maven in my Advanced Java course 🤞🏽

  • @vladimirkapustin6522
    @vladimirkapustin6522 9 หลายเดือนก่อน

    thanks for turorial, it's very helpful

  • @AhmedHA88
    @AhmedHA88 9 หลายเดือนก่อน

    I was struggling to understand the difference between them, thanks for clarifying this !

  • @mrohit1617
    @mrohit1617 9 หลายเดือนก่อน

    Thank you

  • @sanjanasingh5033
    @sanjanasingh5033 10 หลายเดือนก่อน

    Not getting plugin in files..new.. even after installation, pl help

  • @karitha1672
    @karitha1672 10 หลายเดือนก่อน

    For people still having multiple "could not be resolved" problem even after adding libraries, just delete "module-info.java" in "projectname/src/" file. It's causing the eclipse not be able to read libraries. Win10 64bit

  • @vxxxnni
    @vxxxnni 10 หลายเดือนก่อน

    Your explanation was simple and clear. What I was trying to figure out in 1 hour , you did in 5 minutes. Mind Blowing!

  • @svaltqt4323
    @svaltqt4323 10 หลายเดือนก่อน

    THIS VIDEO IS GOD

  • @karandanawle
    @karandanawle 10 หลายเดือนก่อน

    thank you so much helped a lot .. explaining code is most valuable thing...

  • @harichandanabrahmandam7429
    @harichandanabrahmandam7429 11 หลายเดือนก่อน

    Where should we exicute the java code to get visual effects

  • @octavioabdalla8101
    @octavioabdalla8101 11 หลายเดือนก่อน

    You can replace both functions CheckForWin and checkWhichMarkWon with only one function, as follows: def check_win(mark=None): winning_rows = [[1,2,3],[4,5,6],[7,8,9],[1,4,7],[2,5,8],[3,6,9],[1,5,9],[3,5,7]] for row in winning_rows: i, j, k = row if board[i] == board[j] == board[k] != " " and (mark is None or board[i] == mark): return True return False it has an argument initially set to None, so it works when called without an argument and also with an mark argument.

  • @peterfarrell66
    @peterfarrell66 11 หลายเดือนก่อน

    This is a very clear tutorial and it works great! Thanks for posting.

  • @Starest001
    @Starest001 11 หลายเดือนก่อน

    Link to first video please

  • @740iOrientBlue
    @740iOrientBlue 11 หลายเดือนก่อน

    That is a fantastic video. I'd been dorking around trying to put it all together. Thanks.

  • @ariyanazari2956
    @ariyanazari2956 ปีที่แล้ว

    Can you do a video on how we can set up authentication through the same way? Storing user sessions in redis but also showing how you set up the security filters, etc.

  • @akna1987
    @akna1987 ปีที่แล้ว

    good video but you forgot to add the equals() method

  • @mrenjoyerbro2746
    @mrenjoyerbro2746 ปีที่แล้ว

    Thanks! Only your method helped!

  • @johndoedoejohn
    @johndoedoejohn ปีที่แล้ว

    Very nice explanation. Thanks

  • @nijatquliyev4856
    @nijatquliyev4856 ปีที่แล้ว

    The problem is that even when player wins, the game still continuing till the draw or bot wins. What's the reason

  • @draganjonceski2639
    @draganjonceski2639 ปีที่แล้ว

    Nice clear, concise and quick explanation!

  • @nullied
    @nullied ปีที่แล้ว

    is it possible to automate this process? so that i don't have to add to the vm arguments, and add javafx to the build path every time i want to make a javafx project? On my school computers, javafx projects are automatically setup, no extra work when you make a new one. I do not know how they did it.

    • @javacodingcommunity
      @javacodingcommunity ปีที่แล้ว

      Yes. I made a version where you can use Maven or Gradle. Check it out. th-cam.com/video/3eE-xz-l2mY/w-d-xo.html th-cam.com/video/bRpGnCjJ0ro/w-d-xo.html

  • @SHUB74341
    @SHUB74341 ปีที่แล้ว

    How to compare string..?

  • @alizadeh-dn5mz
    @alizadeh-dn5mz ปีที่แล้ว

    wrong wrong wrong but thanks

  • @KOl-xj4jt
    @KOl-xj4jt ปีที่แล้ว

    speedcoder try

  • @alimahmoud8063
    @alimahmoud8063 ปีที่แล้ว

    hi i wanna ask you sir can you give me your contact plz ?