现在我想添加mina2协议。我在下面的代码中找到了为xml配置mina2的代码,但是如何在我的spring引导应用程序中添加这一点呢?
: Failed to create route route2: Route(route2)[[From[mina2:tcp://0.0.0.0:4001?sync=true&codec... because of Failed to resolve endpoint: mina2://tcp://0.0.0.0:400
我有两个数组,我需要对它们进行排序,并找到两个数组中出现的最小数字。如果没有相等,那么它应该返回-1,如果有相等,那么它应该返回那个数字。public int solution(int[] A, int[] B) int minA = A.Min();// Get minimum number of array A
if (minA == minB)// If both arrays have the same smallest n