idOffset() public abstract method

public abstract idOffset ( ) : int
return int
Esempio n. 1
0
 /// <summary>
 /// Check if the current entry of both iterators has the same id.
 /// <para />
 /// This method is faster than <see cref="getEntryObjectId()"/>as it does not
 /// require copying the bytes out of the buffers. A direct <see cref="idBuffer"/>
 /// compare operation is performed.
 /// </summary>
 /// <param name="otherIterator">the other iterator to test against.</param>
 /// <returns>
 /// true if both iterators have the same object id; false otherwise.
 /// </returns>
 public virtual bool idEqual(AbstractTreeIterator otherIterator)
 {
     if (otherIterator == null)
     {
         throw new ArgumentNullException("otherIterator");
     }
     return(ObjectId.Equals(idBuffer(), idOffset(), otherIterator.idBuffer(), otherIterator.idOffset()));
 }
Esempio n. 2
0
 /// <summary>
 /// Check if the current entry of both iterators has the same id.
 /// <para />
 /// This method is faster than <see cref="getEntryObjectId()"/>as it does not
 /// require copying the bytes out of the buffers. A direct <see cref="idBuffer"/>
 /// compare operation is performed.
 /// </summary>
 /// <param name="otherIterator">the other iterator to test against.</param>
 /// <returns>
 /// true if both iterators have the same object id; false otherwise.
 /// </returns>
 public virtual bool idEqual(AbstractTreeIterator otherIterator)
 {
     return(ObjectId.Equals(idBuffer(), idOffset(), otherIterator.idBuffer(), otherIterator.idOffset()));
 }
 /// <summary>
 /// Check if the current entry of both iterators has the same id.
 /// <para />
 /// This method is faster than <see cref="getEntryObjectId()"/>as it does not
 /// require copying the bytes out of the buffers. A direct <see cref="idBuffer"/>
 /// compare operation is performed.
 /// </summary>
 /// <param name="otherIterator">the other iterator to test against.</param>
 /// <returns>
 /// true if both iterators have the same object id; false otherwise.
 /// </returns>
 public virtual bool idEqual(AbstractTreeIterator otherIterator)
 {
     if (otherIterator == null)
         throw new ArgumentNullException ("otherIterator");
     return ObjectId.Equals(idBuffer(), idOffset(), otherIterator.idBuffer(), otherIterator.idOffset());
 }
Esempio n. 4
0
 /// <summary>
 /// Check if the current entry of both iterators has the same id.
 /// <para />
 /// This method is faster than <see cref="getEntryObjectId()"/>as it does not
 /// require copying the bytes out of the buffers. A direct <see cref="idBuffer"/>
 /// compare operation is performed.
 /// </summary>
 /// <param name="otherIterator">the other iterator to test against.</param>
 /// <returns>
 /// true if both iterators have the same object id; false otherwise.
 /// </returns>
 public virtual bool idEqual(AbstractTreeIterator otherIterator)
 {
     return ObjectId.Equals(idBuffer(), idOffset(), otherIterator.idBuffer(), otherIterator.idOffset());
 }