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

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

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

Setter.<init>介绍

暂无

代码示例

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

/**
 * Inline sharding strategy configuration for YAML.
 * 
 * @author zhangliang
 */
@Getter
@Setter
public final class YamlInlineShardingStrategyConfiguration implements YamlShardingStrategyConfiguration {
  
  private String shardingColumn;
  
  private String algorithmExpression;
}

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

@EqualsAndHashCode
@Getter
@Setter
class CacheKey {
  private String className;
  private String method;
  private boolean children;
  private String type;
  private boolean queryController;
}

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

/**
 * Limit value.
 *
 * @author zhangliang
 */
@AllArgsConstructor
@Getter
@Setter
@ToString
public final class LimitValue {
  
  private int value;
  
  private int index;
  
  private boolean boundOpened;
}

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

@Slf4j
public class EnumDictOptionConverter<T extends EnumDict> implements OptionConverter {
  @Getter
  @Setter
  protected Function<Stream<String>, String> dictToText = stream -> stream.collect(Collectors.joining(","));
  @Setter
  @Getter
  protected Function<String, List<Object>> splitter = str -> Arrays.asList(str.split("[, ; ;]"));
  @Getter
  @Setter
  protected boolean writeObject;

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

/**
 * Route unit.
 * 
 * @author gaohongtao
 * @author maxiaoguang
 */
@RequiredArgsConstructor
@Getter
@Setter
@EqualsAndHashCode
@ToString
public final class RouteUnit {
  
  private final String dataSourceName;
  
  private final SQLUnit sqlUnit;
}

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

@Getter @Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BillingAgreementToken extends PayPalModel {

  /**
   * Default Constructor
   */
  public BillingAgreementToken() {
  }

}

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

@Getter
@Setter
@Accessors(chain = true)
public class TrendItem implements Serializable {

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

@Getter
@Setter
@Accessors(chain = true)
@ToString
public class SimpleUserDto {

  private Long id;
  private String username;
}

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

@Slf4j
public class TokenizedFileDownloader extends FileDownloader<String> {
 public static final String DEFAULT_TOKEN = "\n";
 @Setter
 private String token;
 @Setter
 private String charset;

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

@Accessors(chain = true)
  public static final class Builder {
    @Nonnull private final String requestMethod;
    @Setter private int readTimeoutInMillis = 100;
    @Setter @Nullable private String authorization = null;
    @Setter @Nullable private String contentType = null;

    public Builder(@Nonnull String requestMethod) {
      this.requestMethod = requestMethod;
    }

    public HttpUrlConnectionConfigurer build() {
      return new HttpUrlConnectionConfigurer(
          requestMethod,
          readTimeoutInMillis,
          authorization,
          contentType
      );
    }
  }
}

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

@Slf4j
public abstract class UserInSqlTerm<PK> extends AbstractSqlTermCustomizer {
  @Setter
  @Getter
  private boolean child;
  @Getter
  @Setter
  private boolean parent;
  @Getter
  @Setter
  private boolean forPerson;

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

@Getter
@EqualsAndHashCode
@ToString
public class AggregationSelectItem implements SelectItem {
  @Setter
  private int index = -1;

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

/**
 * Orchestration sharding configuration for YAML.
 *
 * @author caohao
 */
@Getter
@Setter
public final class YamlOrchestrationShardingRuleConfiguration extends YamlShardingConfiguration {
  
  private YamlOrchestrationConfiguration orchestration;
}

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

@Getter @Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CreateProfileResponse extends WebProfile {

  /**
   * Default Constructor
   */
  public CreateProfileResponse() {
  }

}

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

/**
 * Select items token.
 *
 * @author zhangliang
 * @author panjuan
 */
@Getter
@ToString
public final class ItemsToken extends SQLToken {
  
  @Setter
  private boolean isFirstOfItemsSpecial;
  
  private final List<String> items = new LinkedList<>();
  
  public ItemsToken(final int startIndex) {
    super(startIndex);
  }
}

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

@Accessors(chain = true)
public class TableInfo implements Constants {
  @Setter(AccessLevel.NONE)
  @Getter(AccessLevel.NONE)
  private String allSqlSelect;
  @Setter(AccessLevel.NONE)
  @Getter(AccessLevel.NONE)
  private String sqlSelect;

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

/**
 * @author : 披荆斩棘
 * @date : 2017/6/21
 */
@Getter
@Setter
@Accessors( chain = true )
@ToString( callSuper = true )
public class PermissionResourceVO extends PermissionResource implements RecursionUtils.ParentChildrenRecursion< PermissionResourceVO > {

  private List< String >               methods  = new ArrayList<>();
  private List< PermissionResourceVO > children = new ArrayList<>();

}

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

/**
 * @author zhouhao
 */
@Getter
@Setter
@EqualsAndHashCode
public class DataAccessEntity implements CloneableEntity {
  private static final long serialVersionUID = 2198771924746804915L;

  private String action;

  private String describe;

  private String type;

  private String config;

  @Override
  public DataAccessEntity clone() {
    DataAccessEntity target = new DataAccessEntity();
    target.setDescribe(getDescribe());
    target.setAction(getAction());
    target.setConfig(getConfig());
    target.setType(getType());
    return target;
  }
}

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

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

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

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

相关文章

Setter类方法