Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/javadoc-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy Javadoc

on:
push:
branches:
- master
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Prepare output dir
run: |
mkdir -p ./javadoc
- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/Javadoc-publisher.yml@v2.5.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 17
target-folder: javadoc
project: gradle
- name: Publish documentation online
run: |

13 changes: 13 additions & 0 deletions src/main/java/me/cortex/TreeCracker/LCG/LcgComparison.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
package me.cortex.TreeCracker.LCG;

/**
* Class to represent a Comparaison for LCG.
*
*/
public class LcgComparison<T> {
public T comparingTo;
public Type comparingType;
boolean configured = false;


/**
* Set this.comparingTo attribute of current class to the first argument compraingTo and comparingType attribute to Type.greaterThan.
*
*
* Argument 1, comparingTo: value set for this.comparingTo
*
* returns: nothing.
*/
public void greaterThan(T comparingTo) {
if (configured)
throw new IllegalStateException("LcgComparison already configured");
Expand Down