Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GenDB3
lib.intervals
Commits
3401b196
Commit
3401b196
authored
Nov 27, 2013
by
Lukas Jelonek
Browse files
Fixed wrong types in intervaloperations
parent
0b735b09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/de/cebitec/common/sequencetools/intervals/IntervalOperations.java
View file @
3401b196
...
...
@@ -110,7 +110,7 @@ public interface IntervalOperations<L extends Number> {
* @param snd
* @return
*/
boolean
beginsWith
(
Interval
<
Integer
>
fst
,
Interval
<
Integer
>
snd
);
boolean
beginsWith
(
Interval
<
L
>
fst
,
Interval
<
L
>
snd
);
/**
* Checks if the fst interval completely contains the snd interval.
...
...
@@ -119,7 +119,7 @@ public interface IntervalOperations<L extends Number> {
* @param snd
* @return
*/
boolean
contains
(
Interval
<
Integer
>
fst
,
Interval
<
Integer
>
snd
);
boolean
contains
(
Interval
<
L
>
fst
,
Interval
<
L
>
snd
);
/**
* Checks if the fst interval ends at the same position as the snd interval.
...
...
@@ -128,7 +128,7 @@ public interface IntervalOperations<L extends Number> {
* @param snd
* @return
*/
boolean
endsWith
(
Interval
<
Integer
>
fst
,
Interval
<
Integer
>
snd
);
boolean
endsWith
(
Interval
<
L
>
fst
,
Interval
<
L
>
snd
);
/**
* Checks if the fst interval does not overlap with the snd interval and is left of it.
...
...
@@ -137,7 +137,7 @@ public interface IntervalOperations<L extends Number> {
* @param snd
* @return
*/
boolean
leftOf
(
Interval
<
Integer
>
fst
,
Interval
<
Integer
>
snd
);
boolean
leftOf
(
Interval
<
L
>
fst
,
Interval
<
L
>
snd
);
/**
* Checks if the fst interval does not overlap with the snd interval and is right of it
...
...
@@ -146,6 +146,6 @@ public interface IntervalOperations<L extends Number> {
* @param snd
* @return
*/
boolean
rightOf
(
Interval
<
Integer
>
fst
,
Interval
<
Integer
>
snd
);
boolean
rightOf
(
Interval
<
L
>
fst
,
Interval
<
L
>
snd
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment