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
# Insert your preferred key mappings here. | |
# https://github.com/philc/vimium/issues/3319 | |
map ㅓ scrollDown | |
map ㅏ scrollUp | |
map ㅎㅎ scrollToTop | |
map <s-ㅎ> scrollToBottom | |
map ㅇ scrollPageDown | |
map ㅕ scrollPageUp | |
map ㅗ scrollLeft | |
map ㅣ scrollRight |
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
/** Charter 03 : 배열사용하기 **/ | |
/** 2. 정수배열의 인접한 원소를 교환하는 루프를 작성하라. 예를 들어 Array(1,2,3,4,5) 는 Array (2,1,4,3,5) 가 된다. **/ | |
val array1 = Array(1,2,3,4,5) | |
for(i <- 0 until (array1.length-1 , 2); temp = array1(i)) {array1(i) = array1(i+1); array1(i+1)= temp } | |
/** 3. 2번 문제를 반복하되 교환한 값으로 새 배열을 생성하라. for/yield 를 사용한다. **/ | |
(for(i <- 0 until (array1.length); | |
v = if(i == array1.length -1) array1(i) | |
else if (i % 2 == 0) array1(i+1) |
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
import org.hamcrest.*; | |
import org.junit.Test; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import static com.coupang.job.worker.virtualaccount.TimeMachineTest.DateFormatMatcher.formmated; | |
import static java.util.Calendar.*; | |
import static java.util.Calendar.MILLISECOND; |
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 com.coupang.job.worker.virtualaccount; | |
import org.hamcrest.*; | |
import org.junit.Test; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import static com.coupang.job.worker.virtualaccount.TimeMachineTest.DateFormatMatcher.formmated; |
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.slipp.study.tdd.luhn; | |
import org.apache.commons.lang.ArrayUtils; | |
//LUHN | |
public class CardNumber { | |
private final Integer[] numbers; | |
private final Integer checksum; | |
private final String cardNumberString; |
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 com.springapp.mvc; | |
public class Assert { | |
public static void isNotNull(Object expected,String message) { | |
if(null == expected){ | |
throw new AssertException(message); | |
} | |
} | |
public static void isTrue(boolean expr) { |
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 com.springapp.mvc; | |
public class Assert { | |
public static void isNotNull(Object expected,String message) { | |
if(null == expected){ | |
throw new AssertException(message); | |
} | |
} | |
public static void isTrue(boolean expr) { |
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 com.springapp.mvc; | |
public class Assert { | |
public static void isNotNull(Object expected,String message) { | |
if(null == expected){ | |
throw new AssertException(message); | |
} | |
} | |
public static void isTrue(boolean expr, String message) { |
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 com.springapp.mvc; | |
public class Assert { | |
public static void isNotNull(Object expected,String message) { | |
if(null == expected){ | |
throw new AssertException(message); | |
} | |
} | |
public static void isTrue(boolean expr, String message) { |
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 com.springapp.mvc; | |
import static com.google.common.base.Preconditions.*; | |
public class GuavaTest1 { | |
private final boolean initialzed = false; | |
public void testForNonNullArgument(final String parameter) | |
{ | |
final String localPrameter = checkNotNull(parameter, "null값은" |
NewerOlder