Github user ajs6f commented on a diff in the pull request:

    https://github.com/apache/jena/pull/337#discussion_r159251828
  
    --- Diff: jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java ---
    @@ -37,6 +40,30 @@
         public A car() { return a ; }
         public B cdr() { return b ; }
         
    +    public static class OfSameType<T> extends Pair<T, T> {
    +
    --- End diff --
    
    I'm up for another design, as long as `ViewDatasetGraph` and `PairLock` 
stay reasonably clear and concise. A set of `static` methods could work fine 
here. I'm not sure what you mean by "even "X extends interface" for the "as 
boolean" nature?", can you explain that?


---

Reply via email to