pub fn is_conflict(&self, owner_uid: &str, start: i32, end_exclusive: i32) -> Option<i32> {
        for (_, spu) in (self.inner_store().read()).iter() {
            if !spu.is_owned(owner_uid) {
                let id = *spu.id();
                if id >= start && id < end_exclusive {
                    return Some(id);
                }
            }
        }
        None
    }
// check if given range is conflict with any of the range
check if given range is conflict with any of the range
check if given range is conflict with any of the range
pub fn is_conflict(&self, owner_uid: &str, start: i32, end_exclusive: i32) -> Option<i32> {
        for (_, spu) in (self.inner_store().read()).iter() {
            if !spu.is_owned(owner_uid) {
                let id = *spu.id();
                if id >= start && id < end_exclusive {
                    return Some(id);
                }
            }
        }
        None
    }
pub fn is_conflict ( & self , owner_uid : & str , start : i32 , end_exclusive : i32 ) -> Option < i32 > { for ( _ , spu ) in ( self . inner_store ( ) . read ( ) ) . iter ( ) { if ! spu . is_owned ( owner_uid ) { let id = * spu . id ( ) ; if id >= start && id < end_exclusive { return Some ( id ) ; } } } None }
check if given range is conflict with any of the range
check if given range is conflict with any of the range
&self
owner_uid
&str
start
i32
end_exclusive
i32
&self
owner_uid
&str
start
i32
end_exclusive
i32