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.pholser.fn; | |
import org.junit.Before; | |
import org.junit.Test; | |
import java.sql.Date; | |
import java.util.Arrays; | |
import java.util.List; | |
import static com.pholser.fn.Functions.*; |
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.pholser; | |
import static java.lang.Float.*; | |
import static java.lang.Math.*; | |
public class FloatingPointFun { | |
public static void main(String[] args) { | |
showFloats(); | |
} |
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 com.containerstore.common.base.exception.SystemException; | |
import com.google.common.collect.Iterables; | |
import org.aopalliance.intercept.MethodInterceptor; | |
import org.aopalliance.intercept.MethodInvocation; | |
import org.apache.log4j.Logger; | |
import org.springframework.aop.framework.ProxyFactory; | |
import org.springframework.beans.factory.FactoryBean; | |
import org.springframework.remoting.support.RemoteAccessor; | |
import java.lang.reflect.InvocationTargetException; |
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.lang.reflect.Method; | |
import java.lang.reflect.Type; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.junit.Test; | |
import ru.vyarus.java.generics.resolver.GenericsResolver; | |
import static org.junit.Assert.*; |
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
private void drawInfo(Graphics g) { | |
if (ClosetApp.ref.getFloorView() == null) { | |
return; | |
} | |
Drawing drawing = ClosetApp.ref.getFloorView().drawing(); | |
Optional<Customer> customer = ofNullable((Customer) drawing.getUserData()); | |
g.setColor(Color.black); |
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
% https://jimbly.github.io/regex-crossword/ | |
enum LETTER = { | |
A, B, C, D, E, F, G, H, I, J, K, L, M, | |
N, O, P, Q, R, S, T, U, V, W, X, Y, Z | |
}; | |
array[1..7] of var LETTER: row1; | |
array[1..8] of var LETTER: row2; | |
array[1..9] of var LETTER: row3; |