예제 #1
0
파일: IndexMap.cs 프로젝트: Neo4Net/Neo4Net
        private static MutableObjectLongMap <SchemaDescriptor> IndexIdsByDescriptor(LongObjectMap <IndexProxy> indexesById)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.eclipse.collections.api.map.primitive.MutableObjectLongMap<org.neo4j.internal.kernel.api.schema.SchemaDescriptor> map = new org.eclipse.collections.impl.map.mutable.primitive.ObjectLongHashMap<>(indexesById.size());
            MutableObjectLongMap <SchemaDescriptor> map = new ObjectLongHashMap <SchemaDescriptor>(indexesById.size());

            indexesById.forEachKeyValue((id, indexProxy) => map.put(indexProxy.Descriptor.schema(), id));
            return(map);
        }