public class TestModelUtils
extends java.lang.Object
TestModel
class and it's components.Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Sequence> |
getBeginSubListSequences(java.util.Collection<Sequence> sequences,
Sequence sequence)
Returns the collection of objects from the specified collection that have common sub-list
at the beginning of the specified object.
|
public static java.util.Collection<Sequence> getBeginSubListSequences(java.util.Collection<Sequence> sequences, Sequence sequence)
The common sub-list for two sequences means that one sequence is completely included into another one, moreover, it coincides with the beginning of the another sequence.
sequences
- The collection to be checked.sequence
- The object with which other are compared.