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:
Andrew Bettison
2016-11-08 14:51:15 +10:30
parent a8867df1b0
commit e769af0067
91 changed files with 80 additions and 15 deletions

View File

@ -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;
}
}