You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
501 B
21 lines
501 B
package com.fr.design.notification; |
|
|
|
/** |
|
* @Author: Yuan.Wang |
|
* @Date: 2020/10/10 |
|
*/ |
|
public class SnapChatFactory { |
|
public static SnapChat createSnapChat(boolean defaultStatus, SnapChatKey snapChatKey) { |
|
return new AbstractSnapChat() { |
|
@Override |
|
public boolean defaultStatus() { |
|
return defaultStatus; |
|
} |
|
|
|
@Override |
|
public SnapChatKey key() { |
|
return snapChatKey; |
|
} |
|
}; |
|
} |
|
}
|
|
|