mirror of
https://github.com/Maschell/JNUSLib.git
synced 2025-02-22 10:47:42 +01:00
Added Comparable interface to Content entitiy
This commit is contained in:
parent
4424be0722
commit
82a3d5253c
@ -36,7 +36,7 @@ import lombok.extern.java.Log;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Log
|
@Log
|
||||||
public class Content {
|
public class Content implements Comparable<Content> {
|
||||||
public static final short CONTENT_FLAG_UNKWN1 = 0x4000;
|
public static final short CONTENT_FLAG_UNKWN1 = 0x4000;
|
||||||
public static final short CONTENT_HASHED = 0x0002;
|
public static final short CONTENT_HASHED = 0x0002;
|
||||||
public static final short CONTENT_ENCRYPTED = 0x0001;
|
public static final short CONTENT_ENCRYPTED = 0x0001;
|
||||||
@ -199,4 +199,9 @@ public class Content {
|
|||||||
private ContentFSTInfo contentFSTInfo;
|
private ContentFSTInfo contentFSTInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int compareTo(Content o) {
|
||||||
|
return Integer.compare(this.ID, o.ID);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user