MCPcopy Create free account
hub / github.com/lodborg/interval-tree / create

Method create

src/main/java/com/lodborg/intervaltree/Interval.java:197–197  ·  view source on GitHub ↗

Used to create new instances of a specific Interval subclass. The Interval class aims to avoid reflexion. On several occasions, however, the class needs to create new instances of the Interval class. To be able to guarantee that they will have the desired runtime type, th

()

Source from the content-addressed store, hash-verified

195 * @return A new instance of the particular {@code Interval} class.
196 */
197 protected abstract Interval<T> create();
198
199 /**
200 * Returns the center of the current interval. If the center of the interval exists, but can't

Callers 2

getIntersectionMethod · 0.95
BuilderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected