mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-06-21 08:09:24 +00:00
Compile Java during make, not during tests
Re-organised all Java source code under the java-api subdirectory, which also contains a Makefile.in that performs the Java compilation. This makefile is only invoked if ./configure finds a working Java compiler.
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
package org.servalproject.servaldna.meshmb;
|
||||
|
||||
/**
|
||||
* Created by jeremy on 10/10/16.
|
||||
*/
|
||||
public class PlyMessage implements Comparable<PlyMessage>{
|
||||
|
||||
public final long _row;
|
||||
public final long offset;
|
||||
public final String token;
|
||||
public final long timestamp;
|
||||
public final String text;
|
||||
|
||||
public PlyMessage(long _row, long offset, String token, long timestamp, String text){
|
||||
this._row = _row;
|
||||
this.offset = offset;
|
||||
this.token = token;
|
||||
this.timestamp = timestamp;
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(PlyMessage plyMessage) {
|
||||
return (this.offset < plyMessage.offset) ? -1 : 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user