-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.huifer.struts.action; | ||
|
||
import com.opensymphony.xwork2.ActionSupport; | ||
|
||
/** | ||
* 描述: | ||
* | ||
* @author huifer | ||
* @date 2019-02-21 | ||
*/ | ||
public class ActionThree extends ActionSupport { | ||
@Override | ||
public String execute() throws Exception { | ||
System.out.println("action three"); | ||
return null; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.huifer.bilibili.inteface; | ||
|
||
interface IHello { | ||
void hello(); | ||
} | ||
|
||
class HelloImpl implements IHello { | ||
public void hello() { | ||
System.out.println("hello"); | ||
} | ||
} | ||
|
||
public class InterfaceDemo { | ||
public static void main(String[] args) { | ||
HelloImpl hello = new HelloImpl(); | ||
hello.hello(); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.huifer.design.adapter.ChaTou; | ||
|
||
/** | ||
* 描述: | ||
* 国内插头的实现 | ||
* | ||
* @author huifer | ||
* @date 2019-03-13 | ||
*/ | ||
public class ChinaChaImpl implements ChinaCha { | ||
@Override | ||
public void method() { | ||
System.out.println("国内插头"); | ||
} | ||
} |