-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish up HG summoning for HoF and add tooltip
- Loading branch information
Showing
8 changed files
with
243 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/main/java/dev/itsmeow/whisperwoods/util/MutablePair.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package dev.itsmeow.whisperwoods.util; | ||
|
||
public class MutablePair<A, B> { | ||
private A a; | ||
private B b; | ||
|
||
public MutablePair(A aIn, B bIn) { | ||
this.a = aIn; | ||
this.b = bIn; | ||
} | ||
|
||
public A getLeft() { | ||
return this.a; | ||
} | ||
|
||
public B getRight() { | ||
return this.b; | ||
} | ||
|
||
public void setLeft(A aIn) { | ||
this.a = aIn; | ||
} | ||
|
||
public void setRight(B bIn) { | ||
this.b = bIn; | ||
} | ||
} |
Oops, something went wrong.