diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-12 21:19:36 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-12 21:19:36 +0300 |
| commit | 5c5f252d5c7a2bdfefd4fbe54a7ae64537a64874 (patch) | |
| tree | 1a4741441c7463cd3b5c97cca98fbfd1bc91519f /sources/utils/VSPriorityQueue.java | |
| parent | ea4f22311b639561856f37c8ac872af2cd9d55dd (diff) | |
Restructure project to use Maven exclusively and bump to v1.0.1-SNAPSHOT
- Remove legacy Ant build system (build.xml, sources/ directory)
- Migrate to Maven-only build with standard directory structure
- Add comprehensive Maven documentation and JAVA_HOME setup for Fedora
- Update pom.xml with exec plugin and bump version to 1.0.1-SNAPSHOT
- Add CLAUDE.md for development guidance
- Update README.md with detailed build/run/clean instructions
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'sources/utils/VSPriorityQueue.java')
| -rw-r--r-- | sources/utils/VSPriorityQueue.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/sources/utils/VSPriorityQueue.java b/sources/utils/VSPriorityQueue.java deleted file mode 100644 index d706352..0000000 --- a/sources/utils/VSPriorityQueue.java +++ /dev/null @@ -1,32 +0,0 @@ -package utils; - -import java.util.PriorityQueue; - -/** - * The class VSPriorityQueue. This class is the same like the standard - * VSPriorityQueue of the Java API. It only overrides the get(int) method. - * - * @author Paul C. Buetow - */ -public final class VSPriorityQueue<T> extends PriorityQueue<T> { - /** The serial version uid */ - private static final long serialVersionUID = 1L; - - /** - * Gets the specific element. If the index is out of bounds, it will return - * null. - * - * @param index the index - * - * @return the element, or null, if out of bounds - */ - public T get(int index) { - int i = 0; - - for (T t : this) - if (i++ == index) - return t; - - return null; - } -} |
