Skip to content
Sections
>> Trisquel >> Paket >> aramo >> java >> libintervalstorej-java
aramo  ]
[ Källkod: intervalstorej  ]

Paket: libintervalstorej-java (1.2+dfsg-4)

Java implementation of the Nested Containment List data structure

NCList provides efficient lookup of intervals overlapping a given range in time O(M log N) where N is the number of intervals stored, and M the number of overlaps found.

IntervalStore:

 - is parameterised by <T extends IntervalI>;
 - so can store any Java type that implements IntervalI, that is, has methods
 getBegin() and getEnd() (where begin <= end);
 - extends java.util.AbstractCollection<T>;
 - may be referred to as Collection<T> in code;
 - exposes methods for add, contains, remove, iterator, size etc;
 - has a 'bulk load' constructor, and methods to add or remove entries, while
 retaining lookup efficiency;
 - optimises storage and search of sparsely nested intervals by storing
 non-nested intervals separately;
 - incorporates NCList to store any properly nested intervals.

Hämta libintervalstorej-java

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 24,9 kbyte70 kbyte [filförteckning]