All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.automerge.Mark Maven / Gradle / Ivy

Go to download

Automerge is a JSON-like data structure that can be modified concurrently by different users, and merged again automatically.

There is a newer version: 0.0.7
Show newest version
package org.automerge;

class Mark {
	private final long start;
	private final long end;
	private final String name;
	private final AmValue value;

	protected Mark(long start, long end, String name, AmValue value) {
		this.start = start;
		this.end = end;
		this.name = name;
		this.value = value;
	}

	public long getStart() {
		return start;
	}

	public long getEnd() {
		return end;
	}

	public String getName() {
		return name;
	}

	public AmValue getValue() {
		return value;
	}

	@Override
	public String toString() {
		return "Mark [start=" + start + ", end=" + end + ", name=" + name + ", value=" + value + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy