lang
stringclasses
10 values
seed
stringlengths
5
2.12k
java
public class Main { public static void main(String[] args) throws Exception { //Bir hesap nesnesi oluşturuldu. IndividualAccount account1 = new IndividualAccount(); account1.setCustomerFirstName("<NAME>"); account1.setCustomerLastName("Özbek"); account1.setCustomerTC("11111111111"); //Gerçek bir tc kimlik numarası girin account1.setCustomerBirthOfYear(2001);
java
package com.java.study.algorithm.zuo.abasic.basic_class_03; public class Code_05_HashMap{ }
java
package me.zeroX150.cornos.features.module.impl.misc; import me.zeroX150.cornos.etc.config.MConfToggleable; import me.zeroX150.cornos.features.module.Module; import me.zeroX150.cornos.features.module.ModuleType;
java
@Test void testGenomicsDBBasicConnectDisconnect() throws GenomicsDBException { GenomicsDBQuery query = new GenomicsDBQuery(); long genomicsDBHandle = connect(); query.disconnect(genomicsDBHandle); genomicsDBHandle = connectWithDPAttribute(); query.disconnect(genomicsDBHandle); genomicsDBHandle = connectWithSegmentSize(); query.disconnect(genomicsDBHandle); }
java
package com.revature.enums; public enum UserTypes { Customer, Caterer, }
java
import org.apache.log4j.Logger; import org.springframework.stereotype.Service; import com.fhr.icoweb.services.IcoConfig; import com.fhr.icoweb.services.IcoService; import com.fhr.icoweb.utils.ImageUtil; import com.fhr.icoweb.utils.ZipUtils; /** * ICO业务实现 * @author fhr * @date 2017/06/04 */ @Service
java
ImmutableMap.Builder<String, DispatchServiceSupport> builder = ImmutableMap.builder(); dispatchServices.forEach(d -> { for (String schema : d.schemas()) { builder.put(schema, d); } }); this.dispatchServices = builder.build();
java
} System.out.println("sum="+sum); //2 //3.创建对应的稀疏数组 int[][] sparseArr = new int[sum + 1][3]; //第一行存储row,column,value数据 //4.给稀疏数组赋值 sparseArr[0][0] = rowNum; sparseArr[0][1] = colNum; sparseArr[0][2] = sum; //遍历二维数组,将非0的值存放到稀疏数组中
java
/** * 分页搜索获取日志 * * @param type * @param key * @return */
java
@Override public void onMessage(Message message, byte[] pattern) { String channel = new String(message.getChannel()); String data = new String(message.getBody()); log.debug("接收数据:" + message.toString()); log.debug("订阅频道:" + channel); log.debug("订阅数据:" + data); log.debug("订阅频道pattern:" + new String(pattern));
java
public static final String JOB_ID_PARAM = "jobId"; public static final String JOB_TAG_PARAM = "jobTag"; public static final String TASK_ID_PARAM = "taskId"; public static final String TASK_TAG_PARAM = "taskTag"; public static final String PERMANENT_PARAM = "permanent"; public static final String FORCE_PARAM = "force"; public static final String ACTION_PARAM = "action"; /** * Available actions of HTTP PUT method */ public static final String RESET_ACTION = "reset";
java
void showUsernameValidationError(); void showPasswordValidationError(); } interface Presenter extends BasePresenter { boolean isUsernameInvalid(); boolean isPasswordInvalid(); boolean isAnyInputInvalid(); }
java
import android.app.Application; import android.content.Intent; /** * Created by TacB0sS on 16-May 2016. */ public class ServiceV1_Sticky extends ReportingService {
java
} public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getMessageBody() { return messageBody; } public void setMessageBody(String messageBody) { this.messageBody = messageBody;
java
* 下载样例 * @author Looly * */ public class DownloadDemo { public static void main(String[] args) { // 下载文件 long size = HttpUtil.downloadFile("https://www.baidu.com/", FileUtil.file("e:/")); System.out.println("Download size: " + size); } }
java
bangumiCalendarDao = new BangumiCalendarDao(bangumiCalendarDaoConfig, this); myCollectionDao = new MyCollectionDao(myCollectionDaoConfig, this); registerDao(BangumiCalendar.class, bangumiCalendarDao); registerDao(MyCollection.class, myCollectionDao); } public void clear() { bangumiCalendarDaoConfig.getIdentityScope().clear(); myCollectionDaoConfig.getIdentityScope().clear();
java
// Rotates all values in an array to the right // Ex. rotateRight([1, 2, 3, 4, 5]) => [5, 1, 2, 3, 4] public static int[] rotateRight(int[] arr) { int[] newarray = new int[arr.length]; int counter = 1; for (int i = 1; i< arr.length-1; i++) {
java
import vswe.stevescarts.blocks.tileentities.TileEntityCargo; public class SlotCargo extends SlotBase implements ISpecialSlotValidator { private TileEntityCargo cargo; private int id; public SlotCargo(final TileEntityCargo cargo, final int id) { super(cargo, id, -3000, -3000);
java
class Door { public Window window = new Window(); public void open() { }
java
hikariConfig0.setJdbcUrl("HikariPool-6284"); hikariConfig0.setLeakDetectionThreshold((long) 0); long long12 = hikariConfig0.getLeakDetectionThreshold(); javax.sql.DataSource dataSource13 = hikariConfig0.getDataSource(); hikariConfig0.setAcquireRetryDelay((long) 100); hikariConfig0.setRegisterMbeans(true); long long18 = hikariConfig0.getIdleTimeout(); com.zaxxer.hikari.HikariConfig hikariConfig20 = new com.zaxxer.hikari.HikariConfig(); java.lang.String str21 = hikariConfig20.getConnectionInitSql(); long long22 = hikariConfig20.getMaxLifetime();
java
/// 获取用户信息 /// </summary> GetUserInfoResponse GetUserInfo(); static AccountClient create(Options options) { return new AccountClientService(options); } }
java
public class FooterSpanSizeLookup extends GridLayoutManager.SpanSizeLookup { BaseRecyclerAdapter adapter; int spanCount; public FooterSpanSizeLookup(BaseRecyclerAdapter adapter, int spanCount) { this.adapter = adapter; this.spanCount = spanCount; } @Override public int getSpanSize(int position) { if (adapter.isLoadMoreFooter(position) || adapter.isSectionHeader(position) || adapter.isRecyclerHeaderView(position) || adapter.isLoadDoneTip(position)) { return spanCount;
java
package cn.mailu.LushX.service; import cn.mailu.LushX.entity.Episode; /** * @Ahtuor: xuzhenya * @Description: * @Date: Created in 下午 8:45 2017-11-05 * @Modified By: */ public interface EpisodeService extends BaseService<Episode> { }
java
} } } if(modified){ final String text = c.toText(); if(!runDry)FileUtils.writeText(text, config); LOG.info("{} {} to:\n<<<<<<<<\n{}>>>>>>>>", runDry?"Would update":"Updated", config, text); } else{ LOG.info("Config file {} needs no update.", config);
java
private SaveAndReturnCodeMessageRequest( String template, String emailAddress, Map<String, String> attributes) { super(template, emailAddress, attributes); } public SaveAndReturnCodeMessageRequest(String emailAddress, String code, String expiryTime) { this( TEMPLATE, emailAddress, ImmutableMap.of(RETURN_CODE_KEY, code, EXPIRY_TIME_KEY, expiryTime)); } }
java
trackingBall = BALLS.get(rand.nextInt(BALLS.size())); int input = 0; if (trackingBall.getDrawLocation().getCenterY() > approximateY) input = 3; else if (trackingBall.getDrawLocation().getCenterY() < approximateY) input = -3; approximateY += input;
java
package materialtest.sanjose.venkata.util; /** * Created by buddhira on 5/3/2015. */ public interface SortListener {
java
} if (correlationId == null) { correlationId = IdUtils.generateId(); } return correlationId;
java
for (int j = 0; j < argList.length; j++) { if (j > 0) sb_where.append(" AND ");
java
STATE.add("New Hampshire"); STATE.add("New Jersey"); STATE.add("New Mexico"); STATE.add("New York"); STATE.add("North Carolina"); STATE.add("North Dakota"); STATE.add("Ohio"); STATE.add("Oklahoma"); STATE.add("Oregon"); STATE.add("Pennsylvania"); STATE.add("Rhode Island");
java
void importVoxcoResponse(boolean recreateExtractions); List<NodeVoxcoVO> validateVoxcoQuestions(); }
java
* responseFormatType {json, xml} * @return responseFormatType **/ public String getResponseFormatType() { return responseFormatType; } public void setResponseFormatType(String responseFormatType) {
java
TemperatureReading tempReading = TemperatureReading.newBuilder().setTemp(98.6).setTimestamp(5L).setDeviceId("device_1").build(); ConsumerRecord<Object, Object> record = new ConsumerRecord<>("xxx", 0, 1, "device_1", tempReading); long timestamp = rte.extract(record, 0); assertEquals(5L, timestamp); } }
java
import java.io.File; import static org.mockito.BDDMockito.given; import static uk.gov.hmcts.reform.bulkscanprocessor.helper.DirectoryZipper.zipDir; import static uk.gov.hmcts.reform.bulkscanprocessor.model.common.Event.DISABLED_SERVICE_FAILURE; import static uk.gov.hmcts.reform.bulkscanprocessor.model.common.Event.ZIPFILE_PROCESSING_STARTED;
java
@Override public JComponent getPreferredFocusableComponent() { return myConsolePanel.getTreeView(); } public void attachToModel(@NotNull JUnitRunningModel model) {
java
public class VmallMemberApplication { public static void main(String[] args) { SpringApplication.run(VmallMemberApplication.class, args); }
java
* @author Nividica * */ @SideOnly(Side.CLIENT) public class Renderers
java
/** * @description: netty 实现 简单的 TCP 服务端与客户端的连接 * @author: <NAME> * @date: 2021/2/23 16:07 */ package com.wang.netty.bilibili.nettyabout.tcp;
java
import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({PersistenceTest.class}) public class TestSuite {
java
public class ExperimentComputationCRUService { private final ComputationRepository computationRepository; public Flux<ExperimentComputation> findAll() { return computationRepository.findAll(); }
java
@Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private int volume;
java
package edu.mayo.mprc.swift.search; import edu.mayo.mprc.MprcException; import org.testng.Assert; import org.testng.annotations.Test; /** * @author <NAME> */ public final class SwiftSearcherCallerTest { @Test(expectedExceptions = MprcException.class) public void shouldFailTitle() { DefaultSwiftSearcherCaller.validateTitleCharacters("%", "Test");
java
private String email; private RoleType role = RoleType.GUEST;
java
package com.dimples.sys.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.dimples.sys.po.Dept; import org.apache.ibatis.annotations.Mapper; @Mapper public interface DeptMapper extends BaseMapper<Dept> { }
java
package com.example.procare.main.register; public interface RegisterView { void registerSuccessful(); void registerFailureUsername(); void registerFailurePasswords(); void fillFields(); void bindViews(); //Future work add method to improve security passwords longer, etc }
java
return true; } public static int get10001stPrimeNumb(){ int prime = 2; int i = 1; int numb = 3; while (i < 10001){ if (isPrime(numb)) { prime = numb; i++; }
java
* 请求结果回调 * * @param result 请求结果 * @param data 结果 */
java
* Given an array nums and a value val, remove all instances of that value in-place and return the new length. * Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory. * The order of elements can be changed. It doesn't matter what you leave beyond the new length. * @param nums Array to remove value * @param val Value to remove * @return Length of the resulting array */ public int removeElement(int[] nums, int val) { int i = 0; for (int j=0;j<nums.length;j++) { if (nums[j] != val) { nums[i] = nums[j]; i++;
java
* @author Eriz.zsp */ private static StackTraceElement findCaller() { // 获取堆栈信息 StackTraceElement[] callStack = Thread.currentThread().getStackTrace();
java
try { value = UUID.fromString(number); } catch (IllegalArgumentException exception) { throw new BookingNotFoundException(number); } return new BookingNumber(value); } }
java
*/ package walkingkooka.spreadsheet; import walkingkooka.Cast; import walkingkooka.Value; import walkingkooka.text.Whitespace; import walkingkooka.tree.json.JsonNode; import walkingkooka.tree.json.marshall.JsonNodeContext; import walkingkooka.tree.json.marshall.JsonNodeMarshallContext; import walkingkooka.tree.json.marshall.JsonNodeUnmarshallContext; /**
java
package org.kimbs.jwt.repository; import org.bson.types.ObjectId; import org.kimbs.jwt.model.Product; import org.springframework.data.mongodb.repository.MongoRepository;
java
@JoinTable(name = "CRITERIA_METRIC", joinColumns = @JoinColumn(name = "CRITERIA_ID"), inverseJoinColumns = @JoinColumn(name = "METRIC_ID")) @OrderBy("METRIC_NUMBER ASC") private Set<Metric> metricList = new HashSet<Metric>(); public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getCriteriaNumber() { return criteriaNumber;
java
subCommand = args[0]; if (subCommand.equalsIgnoreCase("fetch")) { if (sender.hasPermission("denipaster.fetch")) { String pasteID = args[1]; String filename = args[2]; sender.sendMessage("Fetching paste " + pasteID + " to " + filename); FileSystem.fetchPasteToFile(pasteID, filename); } else { sender.sendMessage("You do not have permission for that!"); } return true; }
java
out, new String(dataBytes, StandardCharsets.UTF_8), new String(htmlTemplateBytes, StandardCharsets.UTF_8), cssBytes != null ? new String(cssBytes, StandardCharsets.UTF_8) : null); response.setContentType(MediaType.TEXT_HTML_VALUE + ";charset=UTF-8"); if (error == null) { response.setStatus(HttpStatus.OK.value());
java
} @SuppressWarnings("ConstantConditions") @Override public @NotNull String getGuildId() { return super.getGuildId(); } }
java
package me.gorgeousone.tangledmaze.generation.pathmap; public enum PathAreaType { AVAILABLE, BLOCKED, PATH }
java
return UserPrincipal.create(user); } @Transactional public UserDetails loadUserById(Long id) { User user = userRepository.findById(id).orElseThrow( () -> new ResourceNotFoundException("User", "id", id) );
java
import java.text.SimpleDateFormat; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import net.sf.json.JSONObject; import net.sf.json.JSONException; import web.database.dataAccessObject.PuntuacionesDAO; import web.database.dataAccessObject.ComentariosDAO;
java
// Thus, Bob wins, so return false. // // // Constraints: // // 1 <= colors.length <= 105 // colors consists of only the letters 'A' and 'B'
java
return wapper.getValue(); } @Override public Message targetToSource(Object source) { ObjectWrapper wapper = new ObjectWrapper(source); Message.Builder builder = protoType.newBuilderForType(); converter.buildPbField(builder, wapper); return builder.build(); } @Override public Class getSourceType() { return protoType.getClass();
java
final String value = getTags().get(path); if ( value == null ) return fallback.getInteger(path, defaultValue); return Integer.valueOf(value); }
java
break; } } while (parts.hasNext()) { part = parts.next(); if (part != null) { appendable.append(Joiner.access$100(this.this$0)); appendable.append(this.this$0.toString(part)); } } return appendable;
java
recognizer.addResultListener(resultlistener); SphinxASR casrh = (SphinxASR) cm.lookup("currentASRHypothesis"); if (clp.matchesOutputMode(RecoCommandLineParser.TED_OUTPUT)) { casrh.addListener((PushBuffer) cm.lookup("tedNotifier")); } if (clp.matchesOutputMode(RecoCommandLineParser.LABEL_OUTPUT)) {
java
import uk.dangrew.kode.model.ModelVerifier; public class ProgressSeriesTest { private static final String ID = "any id"; private static final String NAME = "any name"; private ProgressSeries systemUnderTest; @Before public void initialiseSystemUnderTest() { TestApplication.startPlatform(); MockitoAnnotations.initMocks( this ); systemUnderTest = new ProgressSeries( new Properties( ID, NAME ) );
java
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
java
private int currentIndex = 0; private int numChars = 0; /** * Constructs the new input stream reader out of the Xml * input strem. * * @param inputstream the XML input stream. */ public XmlInputReader( XmlInputStream inputstream) throws UnsupportedEncodingException { super( new InputStreamReader( inputstream));
java
int startX = chunkX << 4; int startZ = chunkZ << 4; double scale = 0.5D; int noiseCount = (int) (this.noiseSampler.sample(startX * scale, startZ * scale) / 8.0 + random.nextDouble() * 4D + 4D); if (noiseCount < 0) {
java
private static final String FIELD_QUERY = "query"; private static final String FIELD_STREAMS = "streams"; private static final String FIELD_GROUP_BY = "group_by"; private static final String FIELD_SERIES = "series"; private static final String FIELD_CONDITIONS = "conditions"; private static final String FIELD_SEARCH_WITHIN_MS = "search_within_ms"; private static final String FIELD_EXECUTE_EVERY_MS = "execute_every_ms"; @JsonProperty(FIELD_QUERY)
java
this.farm = farm; this.title = title; this.ispublic = ispublic; this.isfriend = isfriend; this.isfamily = isfamily; } }
java
} /** * 加密 * @author Frodez */ public static String generate(String raw) {
java
package com.xstudio.spreadsheet.excel.entity; /** * spread sheet cell type * * @author xiaobiao * @version 2020/3/14 */ public enum CellType { String, Number; }
java
package org.springframework.data.elasticsearch.core.index; import org.springframework.data.elasticsearch.junit.jupiter.ElasticsearchRestTemplateConfiguration; import org.springframework.test.context.ContextConfiguration; /** * @author <NAME> */ @ContextConfiguration(classes = { ElasticsearchRestTemplateConfiguration.class }) public class IndexOperationRestTemplateIntegrationTests extends IndexOperationIntegrationTests {}
java
final JsObject[] modelCzml = new JsObject[2]; JsObject descriptionCzml = JsObject.create(); descriptionCzml.setProperty("id", "document"); descriptionCzml.setProperty("name", "CZML Model"); descriptionCzml.setProperty("version", "1.0"); modelCzml[0] = descriptionCzml; JsObject bodyCzml = JsObject.create(); bodyCzml.setProperty("id", "aircraft model"); bodyCzml.setProperty("name", "Cesium Air"); JsObject positionCzml = JsObject.create(); positionCzml.setProperty("cartographicDegrees", new double[]{-77, 37, 0}); bodyCzml.setProperty("position", positionCzml);
java
public BigInteger asBigInteger() { return this.value; } @Override public boolean equals(Object obj) { if (obj == null) return false; if (this == obj) return true; if (this.getClass() != obj.getClass()) return false;
java
package com.mysql.cj; import java.text.MessageFormat; import java.util.Locale; import java.util.MissingResourceException; import java.util.ResourceBundle; /** * Support for localized messages. */ public class Messages {
java
"each", ViewCacheCommand.class, new Closure( env, runtimeConverterFunctionClassConstants,
java
} @Override public void saveOrder(OmsOrder omsOrder) { System.out.println("omsOrder = " + omsOrder); // 保存订单 orderMapper.insert(omsOrder); String orderId = omsOrder.getId(); // 保存订单详情 List<OmsOrderItem> omsOrderItems = omsOrder.getOmsOrderItems(); for (OmsOrderItem omsOrderItem : omsOrderItems) {
java
return array; } // private int partition(Integer [] array,int pivotIndex,int leftPointer,int rightPointer) { //used partition process // while (rightPointer>leftPointer) { // while (array[leftPointer] <= array[pivotIndex]) { // leftPointer++; // } // // while (array[rightPointer] > array[pivotIndex]) { // rightPointer--; // } // if(leftPointer<rightPointer) {
java
/** * * @author mayke */ public class UserStoryControl {
java
public List<Reminder> getAllReminders(){ return allReminders; } public void insertReminder(Reminder reminder){ repository.insertReminder(reminder); } public void deleteReminder(Reminder reminder){ repository.deleteReminder(reminder); }
java
public JFXButton getVariable() { return variable; } public JFXButton getColor_item() { return color_item; } public FontAwesomeIconView getIcon() {
java
import org.springframework.beans.factory.config.MethodInvokingFactoryBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import javax.annotation.PostConstruct; import java.io.IOException; import java.nio.file.FileSystems; @Configuration public class LuceneConfiguration { /** * Luceneのアナライザを返す。
java
super.onCreate(savedInstanceState); setContentView(R.layout.activity_device); titleDevice = findViewById(R.id.title_device); titleWifi = findViewById(R.id.title_wifi); titleBlue = findViewById(R.id.title_blue); titleIp = findViewById(R.id.title_ip); titleCpu = findViewById(R.id.title_cpu); deviceName = findViewById(R.id.device_name);
java
package com.rabbitmq.http.client; import org.apache.http.impl.client.HttpClientBuilder; /** * Implementations of this interface can perform post-configuration * of {@link HttpClientBuilder} used by {@link Client} internally. * Note that {@link Client} will configure all essential settings * before invoking the configurator. */ public interface HttpClientBuilderConfigurator { HttpClientBuilder configure(HttpClientBuilder builder); }
java
int[] arr; int x; arr = new int[4]; printInt(1); x = arr[4]; return 0; }
java
import edu.wpi.first.wpilibj2.command.InstantCommand; import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import frc.robot.Constants.kOuttake.OuttakeSpeeds; import frc.robot.subsystems.Outtake; public class InstantOuttakeCommand extends SequentialCommandGroup { public InstantOuttakeCommand(Outtake outtake, OuttakeSpeeds targetSpeed) { addRequirements(outtake); InstantCommand setPosition = new InstantCommand(() -> { outtake.setOuttakeSpeed(targetSpeed); });
java
import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map;
java
getSurroundingCells(x, y).stream().filter(Tile::isEmpty) .forEach(Tile::checkTile); getSurroundingCells(x, y).stream().filter(Tile::isNotEmpty) .forEach(Tile::displayInt); } }); }); } /*----------------------------------- GAME OVER --------------------------------------*/ // Display all tiles
java
import net.minecraft.nbt.NbtCompound; import net.minecraft.network.Packet; import net.minecraft.network.PacketByteBuf; import net.minecraft.network.listener.ClientPlayPacketListener; import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket; import net.minecraft.screen.ScreenHandler; import net.minecraft.screen.ScreenHandlerContext; import net.minecraft.server.network.ServerPlayerEntity; import net.minecraft.text.Text;
java
/* /********************************************************************** /* Tests for POJOs /********************************************************************** */ public void testBeanSequence() throws Exception { final String INPUT = aposToQuotes("{'id':1, 'msg':'foo'} {'id':2, 'msg':'Same'} null "); // First, managed ValueIterator<Bean> it = JSON.std.beanSequenceFrom(Bean.class, INPUT);
java
public String getId() { return id; } public void setId(String id) { this.id = id; } public String getUrl() { return url;
java
import java.util.stream.Collectors; import java.util.stream.Stream; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
java
name|IOException function_decl|; comment|/** * Client API to get the list of instances registered via the current registry key. * @param component * @param clusterReadyTimeoutMs The time to wait for the cluster to be ready, if it's not * started yet. 0 means do not wait. */ name|ServiceInstanceSet argument_list|< name|T argument_list|>
java
<gh_stars>10-100 /** * This package contains OOP api for wowpal wabbit jni wrapper. <p> */ package com.indeed.vw.wrapper.api;
java
public static void applyDarculaStyle(Parent parent) { parent.getStylesheets().add(DARCULA_STYLE_URL); } private DarculaFX() { // Nothing to do. }
java
/** * @author: z.g.y * @description: * @date: Created in 8/15/2020 11:27 PM * @modified:
java
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; public class AdminFilter implements Filter { public static final String HOMEPAGE = "/logout"; public static final String USER_SESSION = "userSession"; @Override public void init(FilterConfig filterConfig) throws ServletException { }
java
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Edits the details of the person identified " + "by the name of group. " + "Existing values will be overwritten by the input values.\n" + "Parameters: Current name" + "[" + PREFIX_NAME + "NEW NAME]" + "[" + PREFIX_DESCRIPTION + "PHONE]\n" + "Example: " + COMMAND_WORD + " MyGroup " + PREFIX_NAME + "Family " + PREFIX_DESCRIPTION + "A family group"; public static final String MESSAGE_NOT_EDITED = "At least one field to edit must be provided."; public static final String MESSAGE_EDIT_GROUP_SUCCESS = "Edited Group: %1$s"; public static final String MESSAGE_DUPLICATE_GROUP = "This person already exists in the address book.";
java
// Add the change handlers checkbox.selectedProperty().addListener( this::doCheckboxValueChanged ); // Set component state setDisable( setting.isDisable() ); setVisible( setting.isVisible() );