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 io.zealab.kvaft.util; | |
import lombok.NonNull; | |
import java.util.Arrays; | |
/** | |
* Base N codec | |
* | |
* @author leonwong |
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 io.libriraries.asm.agent; | |
import org.objectweb.asm.*; | |
import org.objectweb.asm.commons.AdviceAdapter; | |
import org.objectweb.asm.util.TraceClassVisitor; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.PrintWriter; |
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 org.leon.methodhandles.invokedynamic; | |
public class DynamicDeer | |
{ | |
// 鹿的赛跑 | |
public void race(){ | |
System.out.println("Deer racing..."); | |
} | |
} |
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 org.sample; | |
/** | |
* Leetcode : https://leetcode.com/problems/jump-game-ii/ | |
*/ | |
public class Solution | |
{ | |
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 org.leon.methodhandles; | |
import java.lang.invoke.MethodHandle; | |
import java.lang.invoke.MethodHandles; | |
import java.lang.invoke.MethodType; | |
import org.junit.Assert; | |
import org.junit.Test; | |
public class TestMethodHandle | |
{ |