public bool IsNavigableAtAll( int streamFrom, int streamTo) { var key = new QueryGraphKey(streamFrom, streamTo); var value = streamJoinMap.Get(key); return value != null && !value.IsEmptyNotNavigable; }
public QueryGraphValueForge GetGraphValue( int streamLookup, int streamIndexed) { var key = new QueryGraphKey(streamLookup, streamIndexed); var value = streamJoinMap.Get(key); if (value != null) { return value; } return new QueryGraphValueForge(); }
private QueryGraphValueForge GetCreateValue( int streamKey, int streamValue) { Check(streamValue, streamKey); var key = new QueryGraphKey(streamKey, streamValue); var value = streamJoinMap.Get(key); if (value == null) { value = new QueryGraphValueForge(); streamJoinMap.Put(key, value); } return value; }