This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> | |
| <display-name>springProject</display-name> | |
| <description>incross spring3.1 sample project</description> | |
| <!-- ============================================================= --> | |
| <!-- log4j setting --> |
This file contains hidden or 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
| import java.math.BigDecimal; | |
| public class SingletonObjectPerformanceTest { | |
| public static void main(String[] args) throws InterruptedException { | |
| final Singleton singleton = new Singleton(); | |
| long startTime = System.currentTimeMillis(); | |
| for (int i = 0; i < 800000; i++) { | |
| Thread t = new Thread() { |
This file contains hidden or 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 algorithm; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import org.junit.Test; | |
| /** | |
| * @FileName : GaussMathmatics.java |
This file contains hidden or 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 regular; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import java.util.regex.Pattern; | |
| import org.junit.Test; | |
| /** |
This file contains hidden or 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 algorithm; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import org.junit.Test; | |
| /** | |
| * @FileName : Problem369.java | |
| * @Project : test_project |
This file contains hidden or 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 algorithm; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import java.io.File; | |
| import org.junit.Test; | |
| /** |
This file contains hidden or 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 other.el; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import java.util.ArrayList; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.util.Map; |
This file contains hidden or 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 serializable; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import java.io.Externalizable; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; |
This file contains hidden or 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 mockito; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import static org.mockito.Matchers.*; | |
| import static org.mockito.Mockito.*; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.Map; |
This file contains hidden or 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 com.kyu.svc.component.user.service; | |
| import static org.hamcrest.CoreMatchers.*; | |
| import static org.junit.Assert.*; | |
| import static org.mockito.Mockito.*; | |
| import org.junit.Before; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.mockito.InjectMocks; |