lombok.Setter.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(211)

本文整理了Java中lombok.Setter.<init>()方法的一些代码示例,展示了Setter.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Setter.<init>()方法的具体详情如下:
包路径:lombok.Setter
类名称:Setter
方法名:<init>

Setter.<init>介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-shardingsphere

  1. /**
  2. * Inline sharding strategy configuration for YAML.
  3. *
  4. * @author zhangliang
  5. */
  6. @Getter
  7. @Setter
  8. public final class YamlInlineShardingStrategyConfiguration implements YamlShardingStrategyConfiguration {
  9. private String shardingColumn;
  10. private String algorithmExpression;
  11. }

代码示例来源:origin: hs-web/hsweb-framework

  1. @EqualsAndHashCode
  2. @Getter
  3. @Setter
  4. class CacheKey {
  5. private String className;
  6. private String method;
  7. private boolean children;
  8. private String type;
  9. private boolean queryController;
  10. }

代码示例来源:origin: apache/incubator-shardingsphere

  1. /**
  2. * Limit value.
  3. *
  4. * @author zhangliang
  5. */
  6. @AllArgsConstructor
  7. @Getter
  8. @Setter
  9. @ToString
  10. public final class LimitValue {
  11. private int value;
  12. private int index;
  13. private boolean boundOpened;
  14. }

代码示例来源:origin: hs-web/hsweb-framework

  1. @Slf4j
  2. public class EnumDictOptionConverter<T extends EnumDict> implements OptionConverter {
  3. @Getter
  4. @Setter
  5. protected Function<Stream<String>, String> dictToText = stream -> stream.collect(Collectors.joining(","));
  6. @Setter
  7. @Getter
  8. protected Function<String, List<Object>> splitter = str -> Arrays.asList(str.split("[, ; ;]"));
  9. @Getter
  10. @Setter
  11. protected boolean writeObject;

代码示例来源:origin: apache/incubator-shardingsphere

  1. /**
  2. * Route unit.
  3. *
  4. * @author gaohongtao
  5. * @author maxiaoguang
  6. */
  7. @RequiredArgsConstructor
  8. @Getter
  9. @Setter
  10. @EqualsAndHashCode
  11. @ToString
  12. public final class RouteUnit {
  13. private final String dataSourceName;
  14. private final SQLUnit sqlUnit;
  15. }

代码示例来源:origin: paypal/PayPal-Java-SDK

  1. @Getter @Setter
  2. @EqualsAndHashCode(callSuper = true)
  3. @Accessors(chain = true)
  4. public class BillingAgreementToken extends PayPalModel {
  5. /**
  6. * Default Constructor
  7. */
  8. public BillingAgreementToken() {
  9. }
  10. }

代码示例来源:origin: allure-framework/allure2

  1. @Getter
  2. @Setter
  3. @Accessors(chain = true)
  4. public class TrendItem implements Serializable {

代码示例来源:origin: abixen/abixen-platform

  1. @Getter
  2. @Setter
  3. @Accessors(chain = true)
  4. @ToString
  5. public class SimpleUserDto {
  6. private Long id;
  7. private String username;
  8. }

代码示例来源:origin: apache/incubator-gobblin

  1. @Slf4j
  2. public class TokenizedFileDownloader extends FileDownloader<String> {
  3. public static final String DEFAULT_TOKEN = "\n";
  4. @Setter
  5. private String token;
  6. @Setter
  7. private String charset;

代码示例来源:origin: jmxtrans/jmxtrans

  1. @Accessors(chain = true)
  2. public static final class Builder {
  3. @Nonnull private final String requestMethod;
  4. @Setter private int readTimeoutInMillis = 100;
  5. @Setter @Nullable private String authorization = null;
  6. @Setter @Nullable private String contentType = null;
  7. public Builder(@Nonnull String requestMethod) {
  8. this.requestMethod = requestMethod;
  9. }
  10. public HttpUrlConnectionConfigurer build() {
  11. return new HttpUrlConnectionConfigurer(
  12. requestMethod,
  13. readTimeoutInMillis,
  14. authorization,
  15. contentType
  16. );
  17. }
  18. }
  19. }

代码示例来源:origin: hs-web/hsweb-framework

  1. @Slf4j
  2. public abstract class UserInSqlTerm<PK> extends AbstractSqlTermCustomizer {
  3. @Setter
  4. @Getter
  5. private boolean child;
  6. @Getter
  7. @Setter
  8. private boolean parent;
  9. @Getter
  10. @Setter
  11. private boolean forPerson;

代码示例来源:origin: apache/incubator-shardingsphere

  1. @Getter
  2. @EqualsAndHashCode
  3. @ToString
  4. public class AggregationSelectItem implements SelectItem {
  5. @Setter
  6. private int index = -1;

代码示例来源:origin: apache/incubator-shardingsphere

  1. /**
  2. * Orchestration sharding configuration for YAML.
  3. *
  4. * @author caohao
  5. */
  6. @Getter
  7. @Setter
  8. public final class YamlOrchestrationShardingRuleConfiguration extends YamlShardingConfiguration {
  9. private YamlOrchestrationConfiguration orchestration;
  10. }

代码示例来源:origin: paypal/PayPal-Java-SDK

  1. @Getter @Setter
  2. @EqualsAndHashCode(callSuper = true)
  3. @Accessors(chain = true)
  4. public class CreateProfileResponse extends WebProfile {
  5. /**
  6. * Default Constructor
  7. */
  8. public CreateProfileResponse() {
  9. }
  10. }

代码示例来源:origin: apache/incubator-shardingsphere

  1. /**
  2. * Select items token.
  3. *
  4. * @author zhangliang
  5. * @author panjuan
  6. */
  7. @Getter
  8. @ToString
  9. public final class ItemsToken extends SQLToken {
  10. @Setter
  11. private boolean isFirstOfItemsSpecial;
  12. private final List<String> items = new LinkedList<>();
  13. public ItemsToken(final int startIndex) {
  14. super(startIndex);
  15. }
  16. }

代码示例来源:origin: baomidou/mybatis-plus

  1. @Accessors(chain = true)
  2. public class TableInfo implements Constants {
  3. @Setter(AccessLevel.NONE)
  4. @Getter(AccessLevel.NONE)
  5. private String allSqlSelect;
  6. @Setter(AccessLevel.NONE)
  7. @Getter(AccessLevel.NONE)
  8. private String sqlSelect;

代码示例来源:origin: yujunhao8831/spring-boot-start-current

  1. /**
  2. * @author : 披荆斩棘
  3. * @date : 2017/6/21
  4. */
  5. @Getter
  6. @Setter
  7. @Accessors( chain = true )
  8. @ToString( callSuper = true )
  9. public class PermissionResourceVO extends PermissionResource implements RecursionUtils.ParentChildrenRecursion< PermissionResourceVO > {
  10. private List< String > methods = new ArrayList<>();
  11. private List< PermissionResourceVO > children = new ArrayList<>();
  12. }

代码示例来源:origin: hs-web/hsweb-framework

  1. /**
  2. * @author zhouhao
  3. */
  4. @Getter
  5. @Setter
  6. @EqualsAndHashCode
  7. public class DataAccessEntity implements CloneableEntity {
  8. private static final long serialVersionUID = 2198771924746804915L;
  9. private String action;
  10. private String describe;
  11. private String type;
  12. private String config;
  13. @Override
  14. public DataAccessEntity clone() {
  15. DataAccessEntity target = new DataAccessEntity();
  16. target.setDescribe(getDescribe());
  17. target.setAction(getAction());
  18. target.setConfig(getConfig());
  19. target.setType(getType());
  20. return target;
  21. }
  22. }

代码示例来源:origin: runelite/runelite

  1. @Slf4j
  2. class GrandExchangeSearchPanel extends JPanel
  3. @Setter
  4. private Map<Integer, Integer> itemGELimits = Collections.emptyMap();

代码示例来源:origin: jmxtrans/jmxtrans

  1. @Accessors(chain = true)
  2. public class UdpOutputWriterBuilder<T extends WriterBasedOutputWriter> {
  3. @Nonnull private final InetSocketAddress server;
  4. @Nonnull private final T target;
  5. @Nonnull @Setter private Charset charset = Charsets.UTF_8;
  6. @Setter private int bufferSize = 1472;
  7. @Setter private int poolSize = 1;
  8. @Nonnull @Setter private FlushStrategy flushStrategy = new NeverFlush();
  9. @Setter private int poolClaimTimeoutSeconds = 1;

相关文章

Setter类方法