text stringlengths 7 995k |
|---|
package cellsociety_team16.Slime;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import cellsociety_team16.Cell.Cell;
import cellsociety_team16.Cell.CellState;
import cellsociety_team16.Enum.EdgeType;
import cellsociety_team16.Enum.Shap... |
package com.zscat.mallplus.sms.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zscat.mallplus.sms.entity.SmsPaimai;
import com.zscat.mallplus.sms.mapper.SmsPaimaiMapper;
import com.zscat.mallplus.sms.service.ISmsPaimaiService;
import org.springframework.stereotype.Service;
... |
package com.github.ksouf.bankaccountkata.domain;
public enum OperationType {
DEPOSIT("DEPOSIT"),
WITHDRAW("WITHDRAW");
private String operationName;
OperationType(String operationName) {
this.operationName = operationName;
}
@Override
public String toString() {
return o... |
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.soccertv;
import com.facebook.react.ReactActivity;
import android.view.KeyEvent; // <--- import
import com.github.kevinejohn.keyevent.KeyEventModule; // <--- import
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* T... |
package ooga.view.gameDisplay.keyActions;
import ooga.controller.ViewerControllerInterface;
import ooga.view.gameDisplay.center.BoardView;
import ooga.view.gameDisplay.keyActions.KeyViewAction;
public class OKey extends KeyViewAction {
private ViewerControllerInterface myController;
public OKey(BoardView boardV... |
package com.penglecode.xmodule.master4j.spring.common.model;
import java.io.Serializable;
/**
* 公共的示例User模型
*
* @author pengpeng
* @version 1.0
* @date 2020/9/10 22:32
*/
public class User implements Serializable {
private static final long serialVersionUID = 1L;
private Long userId;
private Stri... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the repository root.
package com.microsoft.tfs.client.common.ui.controls.teamexplorer;
import java.text.Collator;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.... |
package relazioni.repos;
import org.springframework.data.repository.CrudRepository;
import relazioni.entities.Documento;
public interface DocRepo extends CrudRepository<Documento, Integer> {
} |
/**
* Licensed to Odiago, Inc. under one or more contributor license
* agreements. See the NOTICE.txt file distributed with this work for
* additional information regarding copyright ownership. Odiago, Inc.
* licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this ... |
/*
* Copyright (C) 2020 The zfoo Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* Copyright 2017-present Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
package org.opensextant.xtext.test;
import java.io.File;
import org.opensextant.xtext.collectors.mailbox.OutlookPSTCrawler;
public class TestPST {
public static void main(String[] args) {
try {
OutlookPSTCrawler pst = new OutlookPSTCrawler(args[0]);
pst.incrementalMode = true;
... |
/*
* Copyright 2015-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
public class User extends Applet implements ActionListener
{
TextField t1, t2;
Label l1=new Label("Enter two numbers:");
Button button;
int a=0,b=0,c=0,h=1,l;
String str1,str2;
String strHcf=null,strLcm=null;
public void init()
... |
/*
* Copyright (C) 2019 sea
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writi... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* Copyright (C) 2011-2014 GUIGUI Simon, fyhertz@gmail.com
*
* This file is part of libstreaming (https://github.com/fyhertz/libstreaming)
*
* Spydroid is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation... |
package uk.me.mjt.ch;
import java.nio.IntBuffer;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.*;
import uk.me.mjt.ch.PartialSolution.DownwardSolution;
import uk.me.mjt.ch.PartialSolution.UpwardSolution;
public class ContractedDijkstra {
public... |
package br.com.senac.tads3a.asterix.servlets;
import br.com.senac.tads3a.asterix.classes.Curso;
import br.com.senac.tads3a.asterix.servicos.ServicoCurso;
import java.io.IOException;
import java.util.List;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServl... |
package tb.core;
import static tb.core.TBCore.dependencies;
import static tb.core.TBCore.modid;
import static tb.core.TBCore.name;
import static tb.core.TBCore.version;
import java.util.ArrayList;
import DummyCore.Core.Core;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraftforge.common.Minecra... |
/*
* Copyright (C) 2000-2012 Heinz Max Kabutz
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Heinz Max Kabutz licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root.
package com.microsoft.alm.plugin.idea.tfvc.actions;
import com.intellij.openapi.actionSystem.ActionPlaces;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.action... |
/*
* Copyright (C) 2016 Thinkenterprise
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
/*
* Copyright (C) 2017 MINDORKS NEXTGEN PRIVATE LIMITED
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://mindorks.com/license/apache-v2
*
* Unless required by applicable... |
package com.axway.apim.test.basic;
import java.io.IOException;
import org.springframework.http.HttpStatus;
import org.testng.annotations.Optional;
import org.testng.annotations.Parameters;
import org.testng.annotations.Test;
import com.axway.apim.lib.errorHandling.AppException;
import com.axway.apim.test.ImportTestA... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.eperson.service;
import java.sql.SQLException;
import java.util.List;
import java.u... |
package com.psocratic.workchop.spec;
import com.psocratic.workchop.util.Numbers;
import com.psocratic.workchop.util.kit.Kit8;
import com.psocratic.workchop.util.kit.Kit8Assembler;
import com.psocratic.workchop.util.kit.StrictKit8;
/**
* A {@link ParallelSpec} that composites at least eight
* {@link Spec} elements.
... |
package com.github.elgleidson.multi.tenant.schema.web;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframe... |
/*
* Copyright 2019 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package io.fabric8.kubernetes.api.model.autoscaling.v2beta1;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIncl... |
package com.server.Dotori.model.member.repository.member;
import com.querydsl.core.types.Projections;
import com.querydsl.jpa.impl.JPAQueryFactory;
import com.server.Dotori.model.member.Member;
import com.server.Dotori.model.member.dto.GetAboutPointDto;
import com.server.Dotori.model.member.dto.SelfStudyStudentsDto;
i... |
package com.lifehackig.fitnessapp.ui.log_exercise;
import com.lifehackig.fitnessapp.ui.base.BaseMvpView;
import com.lifehackig.fitnessapp.ui.base.BasePresenter;
import java.util.ArrayList;
/**
* Created by Sheena on 3/9/17.
*/
public interface LogExerciseContract {
interface Presenter extends BasePresenter {
... |
package com.btmatthews.testcontainers.memcached;
import net.spy.memcached.MemcachedClientIF;
import org.junit.Rule;
import org.junit.Test;
import org.testcontainers.utility.DockerImageName;
import java.io.IOException;
import static org.assertj.core.api.Assertions.assertThat;
// tag::example[]
public class JUnit4Tes... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2007, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... |
package com.example.demo.replaceMethod;
public class TestChangeMethod {
public void changeMe() {
System.out.println("changeMe");
}
} |
/*
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.ntnu.gidd.validation;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import... |
package com.fishpro.xmldom4j.util;
import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.io.DocumentResult;
import org.dom4j.io.DocumentSource;
import org.dom4j.io.SAXReader;
import javax.xml.transform.Transformer;
import javax.xml.t... |
package io.quarkus.qute;
import static io.quarkus.qute.Booleans.isFalsy;
import io.quarkus.qute.Results.Result;
import java.lang.reflect.Array;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.concurrent.CompletableFut... |
/*
* Copyright 2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... |
package uk.gov.hmcts.reform.fpl.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.time.Clock;
@Configuration
public class ClockConfiguration {
@Bean
public Clock getClock() {
return Clock.systemDefaultZone();
}
} |
/*
* Licensed to the University of California, Berkeley under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may no... |
package org.appspot.apprtc;/*
* Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file ... |
package seedu.address.logic;
import java.util.logging.Logger;
import javafx.collections.ObservableList;
import seedu.address.commons.core.ComponentManager;
import seedu.address.commons.core.LogsCenter;
import seedu.address.logic.commands.Command;
import seedu.address.logic.commands.CommandResult;
import seedu.address... |
package online.postboard.android.data.model;
/**
* Created by ajayg on 6/29/2017.
*/
public class AuthResponseDTO {
private String token;
private UserDTO userDTO;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
pub... |
package aplication;
import exceptions.DomainException;
import entities.Reserva;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
public class Principal
{
public static void main( String[] args ) {
Scanner input = new Scanner(System.in);... |
package org.ihtsdo.otf.query.integration.tests;
/*
* Copyright 2013 International Health Terminology Standards Development Organisation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
import org.w3c.dom.*;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.*;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult... |
/**
*
*/
package com.ovit.manager.test.dao;
import com.ovit.manager.common.persistence.CrudDao;
import com.ovit.manager.common.persistence.annotation.MyBatisDao;
import com.ovit.manager.test.entity.TestDataChild;
/**
* 主子表生成DAO接口
* @author ThinkGem
* @version 2015-04-06
*/
@MyBatisDao
public interface TestData... |
package com.github.dnbn.submerge.web.service;
import org.springframework.security.core.userdetails.UserDetailsService;
import com.github.dnbn.submerge.web.model.UserBO;
import com.github.dnbn.submerge.web.model.entity.Authorities;
/**
* Service used to manage users
*/
public interface UserService extends UserDetai... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.ttmoq.demoprovider.service.impl;
import com.ttmoq.demoprovider.api.service.DemoService;
import org.apache.dubbo.config.annotation.DubboService;
/**
* TODO
*
* @author Jover Zhang
*/
@DubboService
public class DemoServiceImpl implements DemoService {
@Override
public String sayHello(String nam... |
package com.donnfelker.android.bootstrap.core;
public class IntentFactory {
//TODO implement an Activity and Fragment delegate pattern
} |
/*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package io.papermc.hangar.db.dao.api.mappers;
import io.papermc.hangar.model.Visibility;
import io.papermc.hangar.model.generated.Dependency;
import io.papermc.hangar.model.generated.FileInfo;
import io.papermc.hangar.model.generated.ReviewState;
import io.papermc.hangar.model.generated.Version;
import io.papermc.hang... |
package com.yart.app;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.domain.AuditorAware;
import org.springframework.data.jpa.repository.config.EnableJpaAud... |
package top.sunriseydy.syhthems.common.handler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.Order;
import org.springframework.dao.DataAccessException;
import org.springframework.http.HttpStatus;
import org.springframework.http.converter.HttpMessageNotReadableException;
import org.sprin... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/... |
/*
* Copyright 2017 Republic of Reinvention bvba. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright (c) 2008-2015 Citrix Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
package io.ebeaninternal.server.transaction;
import io.ebean.bean.PersistenceContext;
import io.ebeaninternal.server.deploy.PersistenceContextUtil;
import org.tests.model.basic.Car;
import org.tests.model.basic.Customer;
import org.tests.model.basic.Vehicle;
import org.junit.Test;
import static org.assertj.core.api.S... |
/*
* Copyright 2019 Daniel Gultsch
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/**
* iBizSys 5.0 机器人生产代码(不要直接修改当前代码)
* http://www.ibizsys.net
*/
package com.sa.unip.angular.jcsj.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.w... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.containerinstance.v2018_04_01.implementation;
im... |
package net.futureclient.asm.transformer.util;
import com.google.common.collect.ImmutableList;
import net.futureclient.asm.config.Config;
import net.futureclient.asm.config.ConfigManager;
import net.futureclient.asm.internal.TransformerDelegate;
import net.futureclient.asm.transformer.AsmMethod;
import net.futureclien... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 Gabriel Schmidt
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... |
import java.util.*;
public class kith
{
public static void main(String args [])
{
Scanner sc=new Scanner(System.in);
int n,c,flag=0,k=0,str=0,sum=0,i;
System.out.println("Enter no. for verification!");
n=sc.nextInt();
str=n;
c=0;
while(str>0)
{... |
package foundation.icon.icx.crypto;
import foundation.icon.icx.data.Bytes;
import org.bouncycastle.crypto.digests.SHA256Digest;
import org.bouncycastle.crypto.generators.PKCS5S2ParametersGenerator;
import org.bouncycastle.crypto.generators.SCrypt;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncyca... |
package org.kohsuke.stapler;
import junit.framework.TestCase;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import javax.servlet.ServletException;
import java.util.Collections;
import java.util.List;
/**
* Tests the instantiation of nested objects.
*
* @author Kohsuke Kawaguchi
*/
public class Nes... |
package com.wpt.rn.update;
import android.content.Context;
import com.wpt.rn.constants.FileConstant;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader;
... |
package com.tom.cpm.mixin.of;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
import net.minecraft.client.entity.player.AbstractClientPlayerEntity;
import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minec... |
package com.moxi.hyblog.xo.vo;
import com.moxi.hyblog.base.validator.annotion.NotBlank;
import com.moxi.hyblog.base.validator.group.Insert;
import com.moxi.hyblog.base.validator.group.Update;
import com.moxi.hyblog.base.vo.BaseVO;
import lombok.Data;
/**
* BlogVO
*
* @author: 陌溪
* @create: 2019年12月4日12:26:36
*/
... |
package extracells.container.slot;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public class SlotRespective extends Slot
{
IInventory inventory;
public SlotRespective(IInventory inventory, int index, int x, int y)
{
super(inventory, index, ... |
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Marc de Verdelhan, 2017-2018 Ta4j Organization
* & respective authors (see AUTHORS)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* ... |
package ca.wimsc.client.normal;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import ca.wimsc.client.common.map.BaseMapOuterPanel;
import ca.wimsc.client.common.map.BottomPanel;
import ca.wimsc.client.commo... |
package com.gklijs.adventofcode.day13;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.gklijs.adventofcode.Utils;
import com.gklijs.adventofcode.utils.Pair;
import io.reactivex.Flowable;
import io.reactivex.Single;
public class Day13 {
private Day13() {
//prev... |
package com.bobrust.gui.dialog;
import java.awt.Color;
import java.awt.Dialog.ModalityType;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import... |
package com.duckasteroid.ratxml;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collection;
import java.util.HashMap;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import... |
package io.baselogic.springsecurity.dao;
import io.baselogic.springsecurity.domain.AppUser;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
imp... |
package components.ImageBox;
import components.AbstractController;
import components.Data.IterationData;
import components.Model;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.Observab... |
package de.dotwee.micropinner;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.action.ViewActions.*;
import static android.support.test.espresso.assertion.ViewAssertions.*;
import static android.support.test.espresso.matcher.ViewMatchers.*;
import static de.dotw... |
package com.augtech.geoapi.geometry;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.opengis.geometry.BoundingBox;
import com.augtech.geoapi.referncing.CoordinateReferenceSystemImpl;
import com.vividsolutions.jts.geom.Coordin... |
package entities;
public class Product {
private String name;
private Double price;
public Product() {
}
public Product(String name, Double price) {
this.name = name;
this.price = price;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
publi... |
/*
* Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.util.xml;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.util.Ref;
import com.intellij.openapi.vfs.LocalFileSystem;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.psi.... |
package mcjty.rftools.blocks.builder;
import mcjty.lib.container.EmptyContainer;
import mcjty.rftools.RFTools;
import mcjty.rftools.blocks.GenericRFToolsBlock;
import mcjty.theoneprobe.api.IProbeHitData;
import mcjty.theoneprobe.api.IProbeInfo;
import mcjty.theoneprobe.api.ProbeMode;
import mcp.mobius.waila.api.IWaila... |
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class PrimeFactorTest {
@Test
void one() {
assertEquals(list(), Kata.primeFactors(1));
}
} |
/**
* VpaidLinearRedirectCreative.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201211;
/**
* A {@code Creative} that displays an externally hosted Flash-based
* ad
* and is served via VAS... |
package app.coronawarn.datadonation.services.ppac.android.attestation;
import app.coronawarn.datadonation.services.ppac.android.attestation.errors.NonceCalculationError;
import app.coronawarn.datadonation.services.ppac.android.attestation.errors.NonceCouldNotBeVerified;
import java.security.MessageDigest;
import java.... |
package org.mockserver.echo.http;
import io.netty.channel.*;
import io.netty.handler.codec.http.DefaultHttpHeaders;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.websocketx.*;
import io.netty.util.AttributeKey;
import io.netty.util.ReferenceCountUtil;
import org.mockserver.code... |
package in.maankibaat.maankibaat.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Map;
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Input {
private String query;
private Map<String, Object> param;
} |
package ea.andoridresourcevalues.ui;
import java.awt.EventQueue;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import jav... |
/*
* © Copyright 2013 EntIT Software LLC
* Certain versions of software and/or documents (“Material”) accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017,
* the Material is now offered by Micro Focus, a separately owne... |
package com.tqxd.jys.spi.messagebus;
public enum Topic {
/**
* K线tick数据主题 (多笔交易合成)
* {@link com.market.common.messages.payload.kline.KlineTickResp}
*/
KLINE_TICK_TOPIC,
/**
* 本交易细节数据主题 (单笔交易)
* {@link com.market.common.messages.payload.detail.TradeDetailResp}
*/
TRADE_DETAIL_TOPIC,
/**
... |
package helper;
import java.util.ArrayList;
public interface ClientInterface {
//public void onResponseReceived(Object result);
public void onResponseReceived(String sReturn);
} |
package com.ridgid.oss.orm.jpa.convert;
import javax.persistence.AttributeConverter;
import javax.persistence.Converter;
import java.math.BigDecimal;
@Converter
public class ImpliedDecimalScale3Converter
extends com.ridgid.oss.common.jdbc.transform.ImpliedDecimalScale3Converter
implements AttributeConvert... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mongolianstring2tree.utils;
/**
*
* @author yangy
*/
public class Base64Encoder {
public static String getBASE64(Stri... |
package uk.gov.hmcts.cmc.claimstore.events.offer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;
import uk.gov.hmcts.cmc.claimstore.config.properties.notifications.NotificationsProperties;
import uk... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.