摘要: public class Product { private int id; private String name; // 构造器 public Product(int id, String name) { this.id = id; this.name = name; } // 静态工厂方法 p 阅读全文
posted @ 2024-11-08 09:09 GOZO 阅读(37) 评论(0) 推荐(0)
摘要: --module-path "D:\environment\javafx-sdk-17.0.13\lib" --add-modules javafx.controls,javafx.fxml (根据自己Javafxsdk路径!!!) 阅读全文
posted @ 2024-11-07 20:47 GOZO 阅读(1337) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-11-07 16:31 GOZO 阅读(8) 评论(0) 推荐(0)
摘要: package com.gaze.notcalculator.mainwindows;import javafx.application.Application;import javafx.application.Platform;import javafx.geometry.Insets;impo 阅读全文
posted @ 2024-11-05 16:37 GOZO 阅读(54) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-10-29 19:36 GOZO 阅读(11) 评论(0) 推荐(0)
摘要: package 集合框架.stack;public class Stack { //存放数据 private int arr[]; private int top; //数组容量 private int capacity; Stack(int size){ arr = new int[size]; 阅读全文
posted @ 2024-10-24 15:13 GOZO 阅读(12) 评论(0) 推荐(0)
摘要: package 集合框架.LinkList;import org.w3c.dom.Node;import java.util.Arrays;import java.util.LinkedList;import java.util.List;public class LinkListTest<E> { 阅读全文
posted @ 2024-10-23 16:40 GOZO 阅读(61) 评论(0) 推荐(0)
摘要: 原理 主要把插入后的元素向后移动一位 package 集合框架.Arraylist;import java.util.ArrayList;import java.util.Arrays;import java.util.Objects;import java.util.Queue;/** * 如果传 阅读全文
posted @ 2024-10-17 16:01 GOZO 阅读(27) 评论(0) 推荐(0)
摘要: 1.重启linux 按下e键会看见 找到以 linux16 开头的那一行: linux16 /vmlinuz-3.10.0-862.el7.x86_64 root=UUID=... ro crashkernel=auto rhgb quiet LANG=zh_CN.UTF-8 把光标移动到行尾,删除 阅读全文
posted @ 2024-09-30 10:35 GOZO 阅读(261) 评论(0) 推荐(0)
摘要: 如果你的网络环境不支持 SSH,可以尝试使用 HTTPS 推送代码。首先更改远程仓库 URL 为 HTTPS: git remote set-url origin https://github.com/yourusername/yourrepository.git 然后重新尝试推送: git pus 阅读全文
posted @ 2024-09-10 19:22 GOZO 阅读(148) 评论(0) 推荐(0)