public virtual SchemaRecord Initialize(ICollection <DynamicRecord> records) { Initialize(true); IEnumerator <DynamicRecord> iterator = records.GetEnumerator(); //JAVA TO C# CONVERTER TODO TASK: Java iterators are only converted within the context of 'while' and 'for' loops: long id = iterator.hasNext() ? iterator.next().Id : NULL_REFERENCE.intValue(); Id = id; this._records = records; return(this); }
public virtual RelationshipGroupRecord Initialize(bool inUse, int type, long firstOut, long firstIn, long firstLoop, long owningNode, long next) { base.Initialize(inUse); this._type = type; this._firstOut = firstOut; this._firstIn = firstIn; this._firstLoop = firstLoop; this._owningNode = owningNode; this._next = next; this._prev = NULL_REFERENCE.intValue(); return(this); }
public override void Clear() { Initialize(false, NULL_REFERENCE.intValue(), NULL_REFERENCE.intValue(), NULL_REFERENCE.intValue(), NULL_REFERENCE.intValue(), NULL_REFERENCE.intValue(), NULL_REFERENCE.intValue()); _prev = NULL_REFERENCE.intValue(); }
public RelationshipGroupRecord(long id, int type, long firstOut, long firstIn, long firstLoop, long owningNode, bool inUse) : this(id, type, firstOut, firstIn, firstLoop, owningNode, NULL_REFERENCE.intValue(), inUse) { }