This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
/** | |
* @author claws | |
* @since 2023/5/7 | |
*/ | |
public class InterfaceTester { | |
public static void main(String[] args) { | |
Printer printer = new Printer(); | |
Person claws = new Person("claws"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package top.claws.dsl | |
import javax.swing.JFrame | |
import javax.swing.JPanel | |
import java.awt.Color | |
import java.awt.Graphics | |
/** | |
* @author claws | |
* @since 2023/5/5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import java.util.concurrent.locks.AbstractQueuedSynchronizer; | |
import java.util.concurrent.locks.ReentrantLock; | |
/** | |
* @author claws | |
* @since 2023/4/7 | |
*/ | |
public class Main { |