Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
TheAlgorithms
Java
Repository navigation
Code
Issues
3
(3)
Pull requests
16
(16)
Actions
Security and quality
Insights
More
items
Add Snell's Law refraction algorithm
- #7150
#7150
Merged
DenizAltunkapan
merged 13 commits into
TheAlgorithms:master
TheAlgorithms/Java:master
from
Dsannue:patch-1
Dsannue/Java:patch-1
Copy head branch name to clipboard
Dec 7, 2025
Conversation
Commits
13
(13)
Checks
Files changed
Merged
Add Snell's Law refraction algorithm
#7150
DenizAltunkapan
merged 13 commits into
TheAlgorithms:master
TheAlgorithms/Java:master
from
Dsannue:patch-1
Dsannue/Java:patch-1
Copy head branch name to clipboard
Commits
Commits on Dec 4, 2025
Add Snell's Law implementation for refraction angle
Dsannue
authored
19aa44a
View commit details
Copy full SHA for 19aa44a
Browse repository at this point
Add tests for Snell's Law calculations
Dsannue
authored
c2fd9c2
View commit details
Copy full SHA for c2fd9c2
Browse repository at this point
Update documentation with reference link to Snell's Law
Show description for c772277
Dsannue
authored
c772277
View commit details
Copy full SHA for c772277
Browse repository at this point
Prevent instantiation of SnellLaw class
Show description for 2023730
Dsannue
authored
2023730
View commit details
Copy full SHA for 2023730
Browse repository at this point
Rename SnellsLawTest to SnellLawTest
Dsannue
authored
bc2b66c
View commit details
Copy full SHA for bc2b66c
Browse repository at this point
Refactor SnellLawTest for clarity and accuracy
Dsannue
authored
31c8df5
View commit details
Copy full SHA for 31c8df5
Browse repository at this point
Commits on Dec 5, 2025
Rename SnellsLaw.java to SnellLaw.java
Dsannue
authored
cfe8791
View commit details
Copy full SHA for cfe8791
Browse repository at this point
Refactor SnellLawTest with additional assertions
Dsannue
authored
2251f27
View commit details
Copy full SHA for 2251f27
Browse repository at this point
Refactor SnellLaw class constructor and error handling
Show description for cbdfa53
Dsannue
authored
cbdfa53
View commit details
Copy full SHA for cbdfa53
Browse repository at this point
Fix missing newline at end of SnellLawTest.java
Show description for e131ff9
Dsannue
authored
e131ff9
View commit details
Copy full SHA for e131ff9
Browse repository at this point
Simplify assertions in SnellLawTest
Dsannue
authored
0d7efd2
View commit details
Copy full SHA for 0d7efd2
Browse repository at this point
Simplify exception throwing for total internal reflection
Dsannue
authored
796cfe1
View commit details
Copy full SHA for 796cfe1
Browse repository at this point
Merge branch 'master' into patch-1
DenizAltunkapan
authored
9f0d15d
View commit details
Copy full SHA for 9f0d15d
Browse repository at this point
You can’t perform that action at this time.