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

de.invation.code.toval.time.Test Maven / Gradle / Ivy

Go to download

TOVAL comprises a set of java classes for common programming issues. It includes utils for arrays, lists, sets and collections for convenient handling and modification, but also support for mathematic definitions concerning logic (clauses + resolution) together with some algorithms for permutations, powersets and resolution. Additionally it contains a number of types for multisets, matrices with object keys and much more.

The newest version!
package de.invation.code.toval.time;

@SuppressWarnings("rawtypes")
public class Test implements OverlapListener{
	
	public void startTest(){
//		AbstractIntervalOverlap c = new AbstractIntervalOverlap();
//		c.registerListener(this);
//		c.reportTimeInterval(1L,10L);
//		c.reportTimeInterval(2L,5L);
//		c.reportTimeInterval(2L,5L);
//		c.reportTimeInterval(3L,4L);
//		c.reportTimeInterval(3L,7L);
//		c.reportTimeInterval(4L,7L);
//		c.reportTimeInterval(5L,8L);
//		c.reportTimeInterval(6L,9L);
//		c.reportTimeInterval(10L,12L);
//		c.reportTimeInterval(11L,12L);
//		c.closeTimeIntervalReporting();
	}

	@Override
	public void overlapDetected(OverlapEvent overlapEvent) {
		System.out.println(overlapEvent.getTimeIntervals());
	}
	
	public static void main(String[] args) {
		Test t = new Test();
		t.startTest();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy