Example #1
0
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: java.util.List<IndexEntryUpdate<?>> updates(java.util.List<NodeAndValue> values, long nodeIdOffset)
            internal virtual IList <IndexEntryUpdate <object> > Updates(IList <NodeAndValue> values, long nodeIdOffset)
            {
//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: java.util.List<IndexEntryUpdate<?>> updates = new java.util.ArrayList<>();
                IList <IndexEntryUpdate <object> > updates = new List <IndexEntryUpdate <object> >();

                values.ForEach(entry => updates.Add(IndexEntryUpdate.Add(nodeIdOffset + entry.nodeId, Descriptor.schema(), entry.value)));
                return(updates);
            }