From 7be4e6ca4055e974cee85db7ffd38ec236432951 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 21 十二月 2023 14:58:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
Source/UBCS/ubcs-codeApply/pom.xml | 12 ++++++++++++
Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/TestIntegrateFrame.java | 23 +++++++++++++++++++++++
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/Source/UBCS/ubcs-codeApply/pom.xml b/Source/UBCS/ubcs-codeApply/pom.xml
index 2a2063c..d59e021 100644
--- a/Source/UBCS/ubcs-codeApply/pom.xml
+++ b/Source/UBCS/ubcs-codeApply/pom.xml
@@ -8,6 +8,18 @@
<version>3.0.1.RELEASE</version>
</parent>
<modelVersion>4.0.0</modelVersion>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>8</source>
+ <target>8</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<properties>
<vciplt.version>2022.RELEASE</vciplt.version>
<old.spring.version>3.2.0.RELEASE</old.spring.version>
diff --git a/Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/TestIntegrateFrame.java b/Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/TestIntegrateFrame.java
index 187dfa6..24d9de9 100644
--- a/Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/TestIntegrateFrame.java
+++ b/Source/UBCS/ubcs-codeApply/src/main/java/com/vci/rmip/code/client/codeapply/Apply410/TestIntegrateFrame.java
@@ -4,13 +4,32 @@
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.util.ArrayList;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
+import java.util.stream.Collectors;
public class TestIntegrateFrame {
public static JButton apply = new JButton();
public static JTextField text = new JTextField();
public static void main(String[] args) {
+
+ List<Integer> list=new ArrayList<>();
+ list.add(1);
+ list.add(5);
+ list.add(6);
+ list.add(3);
+ list.add(2);
+ list.add(4);
+ List<Integer> classifyVOS =list.stream().sorted(((o1, o2) -> o2.compareTo(o1))).collect(Collectors.toList());
+ int level=1;
+ int tt=1;
+ if (classifyVOS.size() >= level && level > 0) {
+ tt = classifyVOS.get(level - 1);
+ }
+
+
final JFrame j = new JFrame();
j.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JPanel p = new JPanel();
@@ -26,6 +45,10 @@
apply.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
+
+
+
+
Map<String, String> map = new HashMap<String, String>();
// map.put("鍘熸潗鏂欐浛鎹欢", "YUANCAILIAOTIHUANJIAN");
// map.put("鍘熸潗鏂欓儴浠�", "1");
--
Gitblit v1.9.3