mongodb排序

MongoDB sort method sorts the document in either ascending or descending order as specified by the user in the input argument.

MongoDB排序方法按照用户在输入参数中指定的升序或降序对文档进行排序。

MongoDB排序 (MongoDB sort)

The syntax for MongoDB sort method is:

MongoDB排序方法的语法为:

{ $sort:{<field1>:<sort order>........}}

sort order can take the following values:

排序顺序可以采用以下值:

1: specifies that the field should be sorted in ascending order

1:指定字段应按升序排序

-1: specifies that the field should be sorted in descending order

-1:指定字段应按降序排序

MongoDB排序示例 (MongoDB sort example)

Lets see an example for sorting the fields. Note that you can create the example data using MongoDB insert.

让我们看一个对字段排序的例子。 请注意,您可以使用MongoDB insert创建示例数据。

>db.car.find().sort({speed:-1}){ "_id" : ObjectId("5471d72e0ce70a7026ebefee"), "name" : "Esteem", "color" : "JetRed", "cno" : "H414", "mfdcountry" : "Italy", "speed" : 65 }
{ "_id" : 3, "name" : "Alto", "color" : "Silver", "cno" : "H413", "mfdcountry" : "India", "speed" : 55 }
{ "_id" : 2, "name" : "Volkswagen", "color" : "Blue", "cno" : "H412", "mfdcountry" : "Japan", "speed" : 52 }
{ "_id" : 1, "name" : "Polo", "color" : "White", "cno" : "H411", "mfdcountry" : "Germany", "speed" : 45 }

Sorts the car collection documents in descending order for the speed field.

按速度字段的降序对汽车收集文档进行排序。

>db.car.find().sort({name:1}){ "_id" : 3, "name" : "Alto", "color" : "Silver", "cno" : "H413", "mfdcountry" : "India", "speed" : 55 }
{ "_id" : ObjectId("5471d72e0ce70a7026ebefee"), "name" : "Esteem", "color" : "JetRed", "cno" : "H414", "mfdcountry" : "Italy", "speed" : 65 }
{ "_id" : 1, "name" : "Polo", "color" : "White", "cno" : "H411", "mfdcountry" : "Germany", "speed" : 45 }
{ "_id" : 2, "name" : "Volkswagen", "color" : "Blue", "cno" : "H412", "mfdcountry" : "Japan", "speed" : 52 }

As you can notice, this sorts the car collection documents in ascending order on the name field.

您会注意到,这会在名称字段上按升序对收车文件进行排序。

>db.car.find().sort({speed:-1,name:1}){ "_id" : ObjectId("54729a20ab36ed23e31c68f1"), "name" : "Audi", "color" : "Grey", "cno" : "H415", "mfdcountry" : "Rome", "speed" : 65 }
{ "_id" : ObjectId("5471d72e0ce70a7026ebefee"), "name" : "Esteem", "color" : "JetRed", "cno" : "H414", "mfdcountry" : "Italy", "speed" : 65 }
{ "_id" : ObjectId("5472988cab36ed23e31c68f0"), "name" : "skoda", "color" : "JetRed", "cno" : "H415", "mfdcountry" : "Chez", "speed" : 65 }
{ "_id" : 3, "name" : "Alto", "color" : "Silver", "cno" : "H413", "mfdcountry" : "India", "speed" : 55 }
{ "_id" : 2, "name" : "Volkswagen", "color" : "Blue", "cno" : "H412", "mfdcountry" : "Japan", "speed" : 52 }
{ "_id" : 1, "name" : "Polo", "color" : "White", "cno" : "H411", "mfdcountry" : "Germany", "speed" : 45 }

Above example sorts the car collection in descending order based on speed and then sorts on name in ascending order for the cars having same speed (65).

上面的示例基于速度对汽车集合进行降序排序,然后对具有相同速度的汽车按名称进行升序排序(65)。

限制MongoDB排序操作的结果 (Limit the results of MongoDB sort operation)

If the sort operation exceeds more than 32 megabytes, MongoDB returns an error. To get rid of this error, indexing can be used in conjunction with limit method. Limit results the number of documents to be returned within 32 megabytes.

如果排序操作超过32兆字节,则MongoDB返回错误。 为了消除此错误,可以将索引与limit方法结合使用。 限制结果是要返回的32兆字节以内的文档数。

For example;

例如;

>db.car.find().sort( {speed:-1,name:1 }).limit(10)

This MongoDB sort operation limits the number of documents returned to 10 and ensures that it is within 32 megabytes limit.

此MongoDB排序操作将返回的文档数限制为10,并确保该数量在32 MB的范围内。

Indexes can be created as shown below.

可以如下所示创建索引。

>db.car.ensureIndex({ name:1,speed:-1})
{"createdCollectionAutomatically" : false,"numIndexesBefore" : 2,"numIndexesAfter" : 3,"ok" : 1
}

This ensures that the index is created for the car collection. We can also use Mongo shell createIndex() method for this.

这样可以确保为汽车集合创建索引。 我们也可以为此使用Mongo shell createIndex()方法。

指定投影字段 (Specifying Projection fields)

When user specifies the fields to be projected and sorted the MongoDB engine sorts the resultant documents first.

当用户指定要投影和排序的字段时,MongoDB引擎将首先对生成的文档进行排序。

For example;

例如;

>db.car.find({speed: { $gt:14}},{name:1,speed:1}).sort({"speed":-1}){ "_id" : 11, "name" : "Polo", "speed" : 45 }
{ "_id" : 10, "name" : "Volkswagen", "speed" : 44 }
{ "_id" : 9, "name" : "Skoda", "speed" : 43 }
{ "_id" : 12, "name" : "Ecosport", "speed" : 15 }

This operation sorts the car by its speed in descending order first and then displays only id, name and speed fields in the resultant document.

此操作首先按降序对汽车进行排序,然后在结果文档中仅显示id,名称和速度字段。

MongoDB排序的自然顺序 (Natural Ordering of MongoDB sort)

The $natural parameter returns all the documents in the order they exist in the database. This ordering basically depicts the order in which the records are inserted except in the conditions where the documents relocate due to update or remove operations.

$ natural参数按它们在数据库中存在的顺序返回所有文档。 该顺序基本上描述了记录的插入顺序,但由于更新或删除操作而导致文档重新定位的情况除外。

For example;

例如;

>db.car.find().sort( { $natural: 1 }){ "_id" : 9, "name" : "Skoda", "color" : "Red", "cno" : "H622", "mfdcountry" : "Chez", "speed" : 43 }
{ "_id" : 10, "name" : "Volkswagen", "color" : "Blue", "cno" : "H623", "mfdcountry" : "Germany", "speed" : 44 }
{ "_id" : 11, "name" : "Polo", "color" : "White", "cno" : "H624", "mfdcountry" : "Japan", "speed" : 45 }
{ "_id" : 12, "name" : "Ecosport", "color" : "NavyBlue", "cno" : "H625", "mfdcountry" : "Japan", "speed" : 15 }

The documents are retrieved in the order in which they are inserted into the database.

按照将文档插入数据库的顺序来检索文档。

MongoDB排序Java程序 (MongoDB sort Java Program)

In this section we will look into a java program to perform sort operation in ascending and descending orders.

在本节中,我们将研究一个Java程序以升序和降序执行排序操作。

Below is the MongoDB sort program for java driver versions 2.x.

以下是针对Java驱动程序版本2.x的MongoDB排序程序。

package com.journaldev.mongodb;import java.net.UnknownHostException;
import java.util.List;import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;public class MongoDBSort {// method for sorting in ascending order based on namepublic static void sortAscending() throws UnknownHostException {// Get a new connection to the db assuming that it is runningMongoClient m1 = new MongoClient("localhost");// use test as a datbase,use your database hereDB d1 = m1.getDB("test");// fetch the collection object ,car is used here,use your ownDBCollection coll = d1.getCollection("car");// find method is called and result stored in cursorDBCursor car = coll.find();// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("name", 1));// iterating throug cursor and printing all the documents stored in// cursortry {while (car.hasNext()) {System.out.println(car.next());}} finally {car.close();}}// method for sorting in descending order based on speedpublic static void sortDescending() throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB d1 = m1.getDB("test");DBCollection coll = d1.getCollection("car");DBCursor car = coll.find();// sorting the cursor based in descending order based on speed fieldcar.sort(new BasicDBObject("speed", -1));System.out.println("Sorts in Descending order-------------------------------------------");try {while (car.hasNext()) {System.out.println(car.next());}} finally {car.close();}}// method for sorting in descending order based on speed and ascending order// based on namepublic static void sortDescendingAscending() throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB d1 = m1.getDB("test");DBCollection coll = d1.getCollection("car");DBCursor car = coll.find();// sort speed in descending order then name in ascending ordercar.sort(new BasicDBObject("speed", -1).append("name", 1));System.out.println("Combining two fields to sort in ascending and descending orders-----------------");try {while (car.hasNext()) {System.out.println(car.next());}} finally {car.close();}}public static void sortlimit() throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB d1 = m1.getDB("test");DBCollection coll = d1.getCollection("car");DBObject q1 = new BasicDBObject("speed", new BasicDBObject("$gt", 15));BasicDBObject fields = new BasicDBObject("name", 1).append("speed", 1);// find method is called and result stored //fetch the collection object// ,car is used here,use your ownin cursorDBCursor car = coll.find(q1, fields);// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("name", -1)).limit(2);System.out.println("limit--------------------------");// iterating throug cursor and printing all the documents stored in// cursortry {while (car.hasNext()) {System.out.println(car.next());}} finally {car.close();}}public static void sortProjectionfields() throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB db = m1.getDB("test");DBCollection col = db.getCollection("car");DBObject query = new BasicDBObject("speed",new BasicDBObject("$gt", 40));// fields with name and speed field is specified and only these fields// are displayedBasicDBObject fields = new BasicDBObject("name", 1).append("speed", 1);DBCursor carCursor1 = col.find(query, fields);System.out.println("------------------------------------------------------");try {while (carCursor1.hasNext()) {System.out.println(carCursor1.next());}} finally {carCursor1.close();}}public static void sortnaturalordering() throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB d1 = m1.getDB("test");DBCollection coll = d1.getCollection("car");DBObject q1 = new BasicDBObject("speed", new BasicDBObject("$gt", 15));BasicDBObject fields = new BasicDBObject("name", 1).append("speed", 1);// find method is called and result stored// fetch the collection object ,car is used here,use your own cursorDBCursor car = coll.find(q1, fields);// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("$natural", -1));System.out.println("natural ordering---------------");// iterating through cursor and printing all the documents stored in// cursortry {while (car.hasNext()) {System.out.println(car.next());}} finally {car.close();}}public static void createIndex(String on, int type)throws UnknownHostException {MongoClient m1 = new MongoClient("localhost");DB d1 = m1.getDB("test");DBCollection coll = d1.getCollection("car");coll.createIndex(new BasicDBObject(on, type));System.out.println("created index---------------------");List<DBObject> list = coll.getIndexInfo();for (DBObject o : list) {System.out.println(o);}}public static void main(String[] args) throws UnknownHostException {// invoking methods for performing sortingsortAscending();sortDescending();sortDescendingAscending();sortlimit();sortProjectionfields();sortnaturalordering();createIndex("name", 1);}}

Above program results in following output.

上面的程序导致以下输出。

{ "_id" : 3.0 , "name" : "Alto" , "color" : "Silver" , "cno" : "H413" , "mfdcountry" : "India" , "speed" : 55.0}
{ "_id" : { "$oid" : "5471d72e0ce70a7026ebefee"} , "name" : "Esteem" , "color" : "JetRed" , "cno" : "H414" , "mfdcountry" : "Italy" , "speed" : 65.0}
{ "_id" : 1.0 , "name" : "Polo" , "color" : "White" , "cno" : "H411" , "mfdcountry" : "Germany" , "speed" : 45.0}
{ "_id" : 2.0 , "name" : "Volkswagen" , "color" : "Blue" , "cno" : "H412" , "mfdcountry" : "Japan" , "speed" : 52.0}
Sorting in Descending order-------------------------------------------
{ "_id" : { "$oid" : "5471d72e0ce70a7026ebefee"} , "name" : "Esteem" , "color" : "JetRed" , "cno" : "H414" , "mfdcountry" : "Italy" , "speed" : 65.0}
{ "_id" : 3.0 , "name" : "Alto" , "color" : "Silver" , "cno" : "H413" , "mfdcountry" : "India" , "speed" : 55.0}
{ "_id" : 2.0 , "name" : "Volkswagen" , "color" : "Blue" , "cno" : "H412" , "mfdcountry" : "Japan" , "speed" : 52.0}
{ "_id" : 1.0 , "name" : "Polo" , "color" : "White" , "cno" : "H411" , "mfdcountry" : "Germany" , "speed" : 45.0}
sorting ascending descending-----------------
{ "_id" : { "$oid" : "54729a20ab36ed23e31c68f1"} , "name" : "Audi" , "color" : "Grey" , "cno" : "H415" , "mfdcountry" : "Rome" , "speed" : 65.0}
{ "_id" : { "$oid" : "5471d72e0ce70a7026ebefee"} , "name" : "Esteem" , "color" : "JetRed" , "cno" : "H414" , "mfdcountry" : "Italy" , "speed" : 65.0}
{ "_id" : { "$oid" : "5472988cab36ed23e31c68f0"} , "name" : "skoda" , "color" : "JetRed" , "cno" : "H415" , "mfdcountry" : "Chez" , "speed" : 65.0}
{ "_id" : 3.0 , "name" : "Alto" , "color" : "Silver" , "cno" : "H413" , "mfdcountry" : "India" , "speed" : 55.0}
{ "_id" : 2.0 , "name" : "Volkswagen" , "color" : "Blue" , "cno" : "H412" , "mfdcountry" : "Japan" , "speed" : 52.0}
{ "_id" : 1.0 , "name" : "Polo" , "color" : "White" , "cno" : "H411" , "mfdcountry" : "Germany" , "speed" : 45.0}
limit--------------------------
{ "_id" : 10.0 , "name" : "Volkswagen" , "speed" : 44.0}
{ "_id" : 9.0 , "name" : "Skoda" , "speed" : 43.0}
------------------------------------------------------
{ "_id" : 11.0 , "name" : "Polo" , "speed" : 45.0}
{ "_id" : 10.0 , "name" : "Volkswagen" , "speed" : 44.0}
{ "_id" : 9.0 , "name" : "Skoda" , "speed" : 43.0}
natural ordering---------------
{ "_id" : 11.0 , "name" : "Polo" , "speed" : 45.0}
{ "_id" : 10.0 , "name" : "Volkswagen" , "speed" : 44.0}
{ "_id" : 9.0 , "name" : "Skoda" , "speed" : 43.0}
created index---------------------
{ "v" : 1 , "key" : { "_id" : 1} , "name" : "_id_" , "ns" : "test.car"}
{ "v" : 1 , "key" : { "speed" : -1.0 , "name" : 1.0} , "name" : "speed_-1_name_1" , "ns" : "test.car"}
{ "v" : 1 , "key" : { "name" : 1.0 , "speed" : -1.0} , "name" : "name_1_speed_-1" , "ns" : "test.car"}
{ "v" : 1 , "key" : { "name" : 1} , "name" : "name_1" , "ns" : "test.car"}

If you are using MongoDB java driver version 3.x, below code should work. It’s tested with version 3.5.0

如果您使用的是MongoDB Java驱动程序版本3.x,则下面的代码应该可用。 已通过3.5.0版进行测试

package com.journaldev.mongodb.main;
import java.net.UnknownHostException;
import java.util.List;import org.bson.Document;import com.mongodb.BasicDBObject;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.DBCursor;
import com.mongodb.DBObject;
import com.mongodb.MongoClient;
import com.mongodb.client.FindIterable;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoCursor;
import com.mongodb.client.MongoDatabase;public class MongoDBSort {// method for sorting in ascending order based on namepublic static void sortAscending() throws UnknownHostException {// Get a new connection to the db assuming that it is runningMongoClient mc = new MongoClient("localhost");// use test as a datbase,use your database hereMongoDatabase db = mc.getDatabase("journaldev");// fetch the collection object ,car is used here,use your ownMongoCollection<Document> coll = db.getCollection("car");// find method is called and result stored in cursorFindIterable<Document> car = coll.find();// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("name", 1));// iterating through cursor and printing all the documents stored in cursorMongoCursor<Document> iterator = car.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}// method for sorting in descending order based on speedpublic static void sortDescending() throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> coll = db.getCollection("car");FindIterable<Document> car = coll.find();// sorting the cursor based in descending order based on speed fieldcar.sort(new BasicDBObject("speed", -1));System.out.println("Sorts in Descending order");MongoCursor<Document> iterator = car.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}// method for sorting in descending order based on speed and ascending order// based on namepublic static void sortDescendingAscending() throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> coll = db.getCollection("car");FindIterable<Document> car = coll.find();// sort speed in descending order then name in ascending ordercar.sort(new BasicDBObject("speed", -1).append("name", 1));System.out.println("Combining two fields to sort in ascending and descending orders");MongoCursor<Document> iterator = car.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}public static void sortlimit() throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> coll = db.getCollection("car");BasicDBObject q1 = new BasicDBObject("speed", new BasicDBObject("$gt", 15));// find method is called and result stored //fetch the collection object// ,car is used here,use your ownin cursorFindIterable<Document> car = coll.find(q1);// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("name", -1)).limit(2);System.out.println("limit example");// iterating through cursor and printing all the documents stored in// cursorMongoCursor<Document> iterator = car.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}public static void sortProjectionfields() throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> col = db.getCollection("car");BasicDBObject query = new BasicDBObject("speed",new BasicDBObject("$gt", 40));FindIterable<Document> carCursor1 = col.find(query);System.out.println("------------------------------------------------------");MongoCursor<Document> iterator = carCursor1.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}public static void sortnaturalordering() throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> coll = db.getCollection("car");BasicDBObject q1 = new BasicDBObject("speed", new BasicDBObject("$gt", 15));BasicDBObject fields = new BasicDBObject("name", 1).append("speed", 1);// find method is called and result stored// fetch the collection object ,car is used here,use your own cursorFindIterable<Document> car = coll.find(q1);// sorting the cursor based in ascending order based on name fieldcar.sort(new BasicDBObject("$natural", -1));System.out.println("natural ordering---------------");// iterating through cursor and printing all the documents stored in// cursorMongoCursor<Document> iterator = car.iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}public static void createIndex(String on, int type)throws UnknownHostException {MongoClient mc = new MongoClient("localhost");MongoDatabase db = mc.getDatabase("test");MongoCollection<Document> coll = db.getCollection("car");String indexName = coll.createIndex(new BasicDBObject(on, type));System.out.println("created index name="+indexName);MongoCursor<Document> iterator = coll.listIndexes().iterator();try {while (iterator.hasNext()) {System.out.println(iterator.next());}} finally {iterator.close();mc.close();}}public static void main(String[] args) throws UnknownHostException {// invoking methods for performing sortingsortAscending();sortDescending();sortDescendingAscending();sortlimit();sortProjectionfields();sortnaturalordering();createIndex("name", 1);}}

That’s all for sorting documents in MongoDB, we will look into more of MongoDB features in coming posts.

这就是在MongoDB中对文档进行排序的全部内容,我们将在以后的文章中探讨MongoDB的更多功能。

翻译自: https://www.journaldev.com/6270/mongodb-sort

mongodb排序

mongodb排序_MongoDB排序相关推荐

  1. orderby排序慢_使用@OrderBy对Spring Data MongoDB集合进行排序

    orderby排序慢 这是关于调整和增强Spring Data MongoDB功能的第三篇文章. 这次,我发现我错过了一个JPA功能– @OrderBy批注. @OrderBy指定在检索关联值时集合值 ...

  2. 使用@OrderBy对Spring Data MongoDB集合进行排序

    这是关于调整和增强Spring Data MongoDB功能的第三篇文章. 这次,我发现我错过了一个JPA功能– @OrderBy批注. @OrderBy指定在检索关联值时集合值关联的元素的顺序. 在 ...

  3. mongodb 排序_技术分享 | MongoDB 一次排序超过内存限制的排查

    本文目录: 一.背景 1. 配置参数检查 2. 排序字段是否存在索引 二.测试环境模拟索引对排序的影响 1. 测试环境信息 2. 报错语句的执行计划解释 3. 建立新的组合索引进行测试 三.引申的组合 ...

  4. 2021-05-12 MongoDB面试题 在MongoDB中如何排序

    在MongoDB中如何排序? MongoDB 中的文档排序是通过 sort() 方法来实现的. sort() 方法可以通过一些参数来指定要进行排序的字段,并使用 1 和 -1 来指定排序方式,其中 1 ...

  5. mongodb 子文档排序_猫鼬101:基础知识,子文档和人口简介

    mongodb 子文档排序 Mongoose is a library that makes MongoDB easier to use. It does two things: Mongoose是一 ...

  6. java排序——桶排序

    2019独角兽企业重金招聘Python工程师标准>>> package jxau.blueDot.lyx;import java.util.ArrayList; import jav ...

  7. 【数据结构-排序】1. 图解插入排序三种实现(插入排序/折半排序/希尔排序)

    直接插入排序(插入排序) 排序思想 对于一个数组 A[0,n] 的排序问题,假设认为数组在 A[0,n-1] 排序的问题已经解决了. 考虑 A[n] 的值,从右向左扫描有序数组 A[0,n-1] ,直 ...

  8. python 排序_Python 排序了解一下?

    脚本之家 你与百万开发者在一起 文 | 潮汐 来源:Python 技术「ID: pythonall」 排序是每个开发人员都需要掌握的技能.排序是对程序本身有一个全面的理解.不同的排序算法很好地展示了算 ...

  9. boost::sort模块实现使用最坏情况分布进行扩展排序的排序示例

    boost::sort模块实现使用最坏情况分布进行扩展排序的排序示例 实现功能 C++实现代码 实现功能 boost::sort模块实现使用最坏情况分布进行扩展排序的排序示例 C++实现代码 #inc ...

最新文章

  1. 粗选公式-通达信(东方财富网)
  2. 使用threejs点云秀出酷炫的图片效果(一)
  3. mysql 5.6.17 x64 安装
  4. 如何看待苹果2016秋季发布会?
  5. POJ 2187 凸包旋转卡壳
  6. android音量知识总结
  7. 图像空域增强:灰度映射法
  8. java 之美_Java并发编程之美 PDF 下载
  9. IOMMU之Interrupt Remapping
  10. LFM回波信号仿真,加汉明窗,可用的matlab代码
  11. VMware虚拟机桥接模式
  12. steamcommunity 302占用端口
  13. 卫星与太阳的方位角与交会角
  14. 炫舞滑板机器人_教程丨自制鬼畜滑板机器人,用纸壳就能做
  15. 网络篇 网络设备的基本配置09
  16. matlab力学实验,Matlab在力学课程课堂教学和虚拟实验中的应用
  17. 把1,2,3,4,5,6,7,8,9九个数分成三组,各个数字使用一次
  18. [Hadoop基础]--HDFS的读写流程和原理
  19. Android Studio《一行代码》3.3.4 百分比布局
  20. python正则表达式及RE模块

热门文章

  1. mysql,oracle表数据相互导入
  2. WPF采用MVVM模式(绑定:纯前台、命令:触发器绑定命令)
  3. datagridview合并表头
  4. WPF--ContextMenu绑定命令的一个问题
  5. C Looooops POJ - 2115 (exgcd)
  6. A星寻路算法(A* Search Algorithm)
  7. 获取context path或者basePath
  8. 智能SQL优化工具--SQL Optimizer for SQL Server(帮助提升数据库应用程序性能,最大程度地自动优化你的SQL语句 )...
  9. hdu 4421(枚举+2-sat)
  10. 在Excel中插入Flash及解决不能自动播放问题