Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> java >> libintervalstorej-java
aramo  ]
[ 源代码: intervalstorej  ]

软件包: 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.

下载 libintervalstorej-java

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 24.9 kB70 kB [文件列表]