Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YZG
yzg-util
Commits
e4d40499
Commit
e4d40499
authored
Jun 09, 2020
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
压缩视频
parent
e31df3a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
BaseVo.java
...il-base/src/main/java/com/yanzuoguang/util/vo/BaseVo.java
+2
-0
Ref.java
yzg-util-base/src/main/java/com/yanzuoguang/util/vo/Ref.java
+5
-4
No files found.
yzg-util-base/src/main/java/com/yanzuoguang/util/vo/BaseVo.java
View file @
e4d40499
package
com
.
yanzuoguang
.
util
.
vo
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.yanzuoguang.util.helper.JsonHelper
;
import
java.io.Serializable
;
...
...
@@ -9,6 +10,7 @@ import java.io.Serializable;
*
* @author 颜佐光
*/
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
public
class
BaseVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2611225711795496063L
;
...
...
yzg-util-base/src/main/java/com/yanzuoguang/util/vo/Ref.java
View file @
e4d40499
...
...
@@ -2,14 +2,15 @@ package com.yanzuoguang.util.vo;
/**
* 引用值,方便修改
* <p>
* int func(Ref<Interger> int1,Ref<Integer> int2){
* int1.value =1 ;
* }
*
int func(Ref<Interger> int1,Ref<Integer> int2){
int1.value =1 ;
}
* @param <T>
* @author 颜佐光
*/
public
class
Ref
<
T
>
{
public
class
Ref
<
T
>
extends
BaseVo
{
public
T
value
;
public
Ref
(
T
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment