text
stringlengths
7
995k
package service.main.entity.input_output.user; public class DataTokenFCM { private String token; public String getToken() { return token; } public void setToken(String token) { this.token = token; } }
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.intention.impl; import com.intellij.codeInsight.CodeInsightBundle; import com.intellij.codeInsight.CodeInsightUtil; import com.intellij.codeInsig...
package game.objects; public enum GameObject { ๊ฐ€์œ„, ๋ฐ”์œ„, ๋ณด; private int[][] comparison = { // ๊ฐ€์œ„ ๋ฐ”์œ„ ๋ณด /* ๊ฐ€์œ„(0) */ { 0, -1, 1}, /* ๋ฐ”์œ„(1) */ { 1, 0, -1}, /* ๋ณด (2) */ { -1, 1, 0} }; // ์ƒ๋Œ€์˜ (๊ฐ€์œ„, ๋ฐ”์œ„, ๋ณด)์™€ ๋น„๊ตํ•ด์„œ ๊ฒฐ๊ณผ ๋ฆฌํ„ด public int compare(GameObject ob) { return comparison[this.ordinal...
package com.fasterxml.jackson.core.sym; import java.io.IOException; import java.util.HashSet; import com.fasterxml.jackson.core.*; import com.fasterxml.jackson.core.json.JsonFactory; /** * Tests that use symbol table functionality through parser. */ public class SymbolsViaParserTest extends com.fasterxml.jacks...
/** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ package com.twilio.rest.proxy.v1.service.session; import com.twilio.base.Creator; import com.twilio.exception.ApiConnectionException; import com.twilio.exception.ApiException; import com.twilio.exceptio...
import java.util.ArrayList; import java.util.List; public class _0089GrayCode { public List<Integer> grayCode(int n) { List<Integer> list = new ArrayList<Integer>(); list.add(0); for (int i = 1; i <= n; i++) { List<Integer> newList = new ArrayList<Integer>(); int bit = 1 <...
package net.atcat.nanzhi.chairs.jsonPack; import javax.annotation.Nullable; import java.util.List; import java.util.function.Consumer; public class PackListObject extends JSONObj { private List<String> packlist ; public PackListObject( List<String> pl ) { this.packlist = pl ; } ; // ้ๅކ ...
package org.robolectric.shadows; import android.content.pm.PackageInfo; import android.graphics.Bitmap; import android.os.Build; import android.os.Bundle; import android.view.ViewGroup.LayoutParams; import android.webkit.ValueCallback; import android.webkit.WebBackForwardList; import android.webkit.WebChromeClient; im...
package client; /* * Copyright (c) 2009-2020. Authors: see NOTICE file. * * 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 * * Unles...
import java.util.*; public class Test { List<Integer> f = new ArrayList<Integer>(){}; }
/** * 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.rest.filter; import java.sql.SQLException; import java.util.ArrayList; import java....
/* * Copyright 2013-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.devplatform.translatorservice.clients.queryparam; public class SlackGetUsersInfoQueryParam extends SlackGenericQueryParam{ private String user; public SlackGetUsersInfoQueryParam(String token, String user){ this.token = token; this.user = user; } }
package arrays; public class ContainerWithMostWater { private static class Solution { private int BFApproach(int[] height) { int maxArea = Integer.MIN_VALUE; for (int i = 0; i < height.length; i++) { for (int j = 1; j < height.length; j++) { in...
package hs.jfx.eventstream.core.impl; import hs.jfx.eventstream.api.EventStream; import hs.jfx.eventstream.api.ObservableStream; import hs.jfx.eventstream.api.Subscriber; public abstract class FilterNullStreams { public static <T> EventStream<T> event(ObservableStream<T> source) { return new BaseEventStream<>(...
import org.apache.camel.builder.RouteBuilder; public class ADifferentRouteBuilder extends RouteBuilder { public void configure() { from("timer:timerName?delay=1000"); } }
/* * Copyright 2002-2016 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...
package liquibase.sdk.database; import liquibase.CatalogAndSchema; import liquibase.Liquibase; import liquibase.change.Change; import liquibase.changelog.ChangeSet; import liquibase.changelog.DatabaseChangeLog; import liquibase.changelog.RanChangeSet; import liquibase.database.Database; import liquibase.database.Datab...
/** * 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 sciwhiz12.voxeltools.item; import net.minecraft.block.Block; import net.minecraft.block.Blocks; import net.minecraft.entity.player.PlayerEntity; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.ItemUseContext; import net.minecraft.tags.BlockTags; import net.minecra...
package gg.projecteden.nexus.features.minigames.managers; import com.google.common.base.Strings; import com.sk89q.worldguard.protection.regions.ProtectedRegion; import gg.projecteden.nexus.Nexus; import gg.projecteden.nexus.features.minigames.models.Arena; import gg.projecteden.nexus.framework.exceptions.postconfigure...
package com.ellison.springdemo.common.entity; public class ConsultConfigArea { public String areaCode; public String areaName; public String state; public String getAreaCode() { return areaCode; } public void setAreaCode(String areaCode) { this.areaCode = areaCode; } ...
import java.io.*; import java.util.*; public class SelectionSort { public static void selectionSort(int[] arr){ for (int i = 0; i < arr.length - 1; i++) { int index = i; for (int j = i + 1; j < arr.length; j++){ if (arr[j] < arr[index]){ ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v2/services/ad_group_criterion_label_service.proto package com.google.ads.googleads.v2.services; public interface MutateAdGroupCriterionLabelsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.a...
/* * Copyright 2014-2022 Web Firm Framework * * 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 o...
package MultithreadedProgramming.ch02.syn_Out_asyn; import java.util.ArrayList; import java.util.List; public class MyList { private List list = new ArrayList<String>(); synchronized public void add(String username) { System.out.println("ThreadName=" + Thread.currentThread().getName() + "ๆ‰ง่กŒไบ†addๆ–นๆณ•๏ผ"); ...
/* * Copyright 2015 MovingBlocks * * 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...
package org.droidplanner.services.android.impl.core.MAVLink.connection; import android.content.Context; import android.os.Bundle; import android.util.Log; import org.droidplanner.services.android.impl.utils.NetworkUtils; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; impo...
package com.sen5.lib.api.event; /** * Created by zhurongkun on 2017/8/23. * ็”จๆˆท้ชŒ่ฏๅ›ž่ฐƒ */ public class EventVerify extends BaseEvent{ }
package android.net; import android.net.apf.ApfCapabilities; import android.os.Parcel; import android.os.Parcelable; public class ProvisioningConfigurationParcelable implements Parcelable { public static final Parcelable.Creator<ProvisioningConfigurationParcelable> CREATOR = new Parcelable.Creator<ProvisioningCon...
package tddexample; import java.time.LocalDateTime; public class Flight { private String reference; private LocalDateTime departureTime; private String origin; private String destination; public Flight(String reference, LocalDateTime departureTime, String origin, String destination) {...
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2021 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.tlsattacker.core.protocol.handler; impo...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eas.client.model.gui.selectors; import java.util.ArrayList; import java.util.List; import org.openide.loaders.DataObject; /** * * @author mg */ public class DefaultMtdSelectionValidator implements MtdSel...
package com.atguigu.gmall.pms.controller; import java.util.List; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.Req...
package org.wikipedia.search; public class ImageSearchException extends Exception { public ImageSearchException(String message, Exception e) { super(message, e); } }
package com.iciyun.blockchain.aToB100; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.lang.reflect.InvocationTargetException; import java....
/* * 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 springapp.test; import junit.framework.TestCase; import org.junit.Test; import org.springframework.web.servlet.ModelAndView; i...
package io.logansquarex.core; import com.fasterxml.jackson.core.JsonFactory; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.ut...
/** * AET * * Copyright (C) 2013 Cognifide 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2017-2022 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...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
package lhdt.domain; /** * ๋””๋ ‰ํ† ๋ฆฌ ๊ตฌ์กฐ * @author Cheon JeongDae * */ public enum UploadDirectoryType { // ๋…„, ์›”, ์ผ YEAR, YEAR_MONTH, YEAR_MONTH_DAY, // ์‚ฌ์šฉ์ž ์•„์ด๋”” ๋ฐ‘์— ๋…„, ์›”, ์ผ USERID_YEAR, USERID_YEAR_MONTH, USERID_YEAR_MONTH_DAY, // ๋…„, ์›”, ์ผ ๋ฐ‘์— ์‚ฌ์šฉ์ž ์•„์ด๋”” YEAR_USERID, YEAR_MONTH_USERID, YEAR_MONTH_DAY_USERID }
package min3d; /** * Created by sreejith on 17/11/15. */ public final class Quaternion { public double x; public double y; public double z; public double w; //private float[] matrixs; public Quaternion(final Quaternion q) { this(q.x, q.y, q.z, q.w); } public Quaternion(double x,...
package com.special.ResideMenuDemo; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentTransaction; import android.view.MotionEvent; import android.view.View; import android.widget.Toast; import com.special.ResideMenu....
package org.gradle.test.performance.mediummonolithicjavaproject.p356; import org.junit.Test; import static org.junit.Assert.*; public class Test7132 { Production7132 objectUnderTest = new Production7132(); @Test public void testProperty0() { Production7129 value = new Production7129(); ...
package com.eventosapp.repository; import org.springframework.data.repository.CrudRepository; import com.eventosapp.models.Usuario; public interface UsuarioRepository extends CrudRepository<Usuario, String>{ Usuario findByLogin(String login); }
/******************************************************************************* * Copyright (c) 2009 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
/** * Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending */ /* * --------------------------------------------------------------------------------------------------------------------- * AUTO-GENERATED CLASS - DO NOT EDIT MANUALLY - for any changes edit CharChunkSsaStamp and regenerate * ----------------...
package com.richard.novel.http.entity.book; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import io.objectbox.annotation.Entity; import io.objectbox.annotation.Id; /** * Created by XiaoU on 2018/9/28. */ @Entity public class BookCategory implements Serializable{ /** * up...
// -------------------------------------------------------------------------------- // Copyright 2002-2022 Echo Three, 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 // // http:/...
/* * Copyright 2016-2021 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...
/** * Copyright (c) 2013-2022 Contributors to the Eclipse Foundation * * <p> See the NOTICE file distributed with this work for additional information regarding copyright * ownership. All rights reserved. This program and the accompanying materials are made available * under the terms of the Apache License, Versio...
/* * Copyright 2021 The Android Open Source Project * * 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 applica...
package com.fundgroup.backend.service; import com.fundgroup.backend.entity.FundRiskAssessment; import java.util.List; public interface FundRiskAssessmentService { List<FundRiskAssessment> getAll(); }
package us.kbase.cs.orm.dumpers; import us.kbase.cs.orm.Column; import us.kbase.cs.orm.ColumnType; import us.kbase.cs.orm.Dumper; import java.io.IOException; public class ExperimentalUnit extends Dumper { @Column(name="id", type=ColumnType.STRING) private String id; @Column(name="sour...
/* * 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 may ...
package com.jackjonson.example; import android.os.Bundle; import io.flutter.app.FlutterActivity; import io.flutter.plugins.GeneratedPluginRegistrant; public class MainActivity extends FlutterActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Gener...
/* * 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 writing, software * distribut...
package com.sap.cloud.lm.sl.cf.core.helpers.v1_0; import static com.sap.cloud.lm.sl.common.util.TestUtil.getResourceAsString; import static org.mockito.Mockito.when; import java.util.Arrays; import java.util.List; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.R...
package com.szx.bbs.like; import com.szx.bbs.common.account.AccountService; import com.szx.bbs.common.controller.BaseController; import com.szx.bbs.common.model.User; import com.jfinal.aop.Interceptor; import com.jfinal.aop.Invocation; /** * ็”จไบŽๆ˜พ็คบ "/my" ไธชไบบ็ฉบ้—ดไธŽ "/user" ็ฉบ้—ด็š„็‚น่ตžๆ•ฐ้‡ */ public class LikeInterceptor implement...
// Copyright 2018-2021 Polyaxon, 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 law or agre...
/* * Copyright (c) 2016-2019 Roman Pierson * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 * which accompanies this distribution. * * The Apache License v2.0 is availab...
package roth.lib.java.jdbc; import java.beans.PropertyVetoException; import java.io.InputStream; import java.io.PrintWriter; import java.io.Reader; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Type; import java.sql.Blob; import java.sql.Clob; import java.sql.Connection...
package datawave.ingest.data; import org.apache.hadoop.conf.Configuration; import datawave.ingest.data.config.ingest.IgnorableErrorHelperInterface; public class TestIgnorableHelper implements IgnorableErrorHelperInterface { public void setup(Configuration conf) {} /** * @return true if the even...
package com.romanceabroad.ui; import org.openqa.selenium.WebElement; import org.testng.Assert; import org.testng.annotations.Test; import org.testng.asserts.SoftAssert; import java.util.List; public class SearchTests extends BaseUI { String linkSearch; String titleSearch; String urlSearch; public st...
/* * The MIT License * * Copyright 2018 Thibault Debatty. * * 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 use, copy...
package com.nisshoku.springpetsclinic; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit.jupiter.SpringExtension; @ExtendWith(SpringExtension.class) @SpringBootTest() public c...
package org.wikiup.core.inf.ext; import org.wikiup.core.inf.Dictionary; public interface ClassDictionary extends Dictionary<Class> { }
/** * The MIT License * * Copyright (c) 2009-2019 PrimeTek * * 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 use, cop...
package com.huaweicloud.sdk.servicestage.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.function.Consumer; import java.util.O...
/* * Copyright 2015-2020 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 module8packageJava0; import java.lang.Integer; public class Foo19 { Integer int0; Integer int1; public void foo0() { new module8packageJava0.Foo18().foo6(); } public void foo1() { foo0(); } public void foo2() { foo1(); } public void foo3() { foo2(); } public void fo...
package org.apache.spark.deploy; public class OptionAssigner$ extends scala.runtime.AbstractFunction5<java.lang.String, java.lang.Object, java.lang.Object, java.lang.String, java.lang.String, org.apache.spark.deploy.OptionAssigner> implements scala.Serializable { /** * Static reference to the singleton instance o...
/* * 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 ...
/* * 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 writing, software * distributed u...
package org.swtk.commons.dict.wordnet.indexbyname.instance.w.a.r; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
package com.owlbyte.spotifystreamer; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
/** * Licensed to ESUP-Portail under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * ESUP-Portail licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this fil...
/* * 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 ru.job4j.array; import org.junit.Test; import static org.hamcrest.Matchers.is; import static org.junit.Assert.*; public class EndsWith1Test { @Test public void whenEndWithPrefixThenTrue() { char[] word = {'H', 'e', 'l', 'l', 'o'}; char[] post = {'l', 'o'}; boolean result = En...
/******************************************************************************* * Copyright (c) 2010 Haifeng Li * * 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...
package com.orientechnologies.orient.server.distributed; import com.orientechnologies.common.exception.OException; import com.orientechnologies.orient.core.config.OGlobalConfiguration; import com.orientechnologies.orient.core.db.*; import com.orientechnologies.orient.core.db.document.ODatabaseDocument; import com.orie...
package net.neoremind.fountain.producer.dispatch.misc; import java.util.Iterator; /** * ๅชๆœ‰ไธ€ไธชๅ…ƒ็ด ็š„่ฟญไปฃๅ™จ * * @author hexiufeng */ public class SingleIterator implements Iterator<Object> { private int count = 1; private final Object message; /** * ๆž„้€ ๅ™จ * * @param message ๆถˆๆฏ */ public ...
package com.github.nhojpatrick.config.files; import com.github.nhojpatrick.config.files.internal.FindUtilImpl; import java.io.File; import java.io.InputStream; import java.util.Optional; public interface FindUtil { static FindUtil getDefault() { return new FindUtilImpl(); } /** * Find {@li...
// Copyright 2014 The Bazel Authors. 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 required by appl...
/* * Copyright 2011-2016 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 "li...
package handlers; import com.jfoenix.controls.JFXListCell; import com.jfoenix.controls.JFXSpinner; import handlers.Convenience; import handlers.HandleNet; import javafx.application.Platform; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.fxml.Initializable; import javafx.scene.Parent; import jav...
package com.vladmihalcea.book.hpjp.jdbc.transaction; import java.sql.Connection; /** * @author Vlad Mihalcea */ public class MySQLTableLockTest extends AbstractTableLockTest { @Override protected DataSourceProvider dataSourceProvider() { return new MySQLDataSourceProvider(); } @Override ...
package enemies; import java.awt.*; import java.awt.geom.GeneralPath; import java.awt.geom.Rectangle2D; import java.util.Random; public abstract class EnemyObject implements Enemy { // enemy's properties private int x,y; private Color color; // enemy's x,y movement change (speed) private double...
/* First created by JCasGen Wed Aug 19 22:32:28 CDT 2020 */ package org.apache.ctakes.typesystem.type.textsem; /* * #%L * cTAKES based concept mapper * %% * Copyright (C) 2010 - 2021 Department of Veterans Affairs * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file...
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2014 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
/* * Copyright 2017 Bridje Framework. * * 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 agr...
/* * The MIT License (MIT) * * Copyright (c) 2015 baoyongzhang <baoyz94@gmail.com> * * 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...
package io.github.moulberry.notenoughupdates.core; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.ScaledResolution; import org.lwjgl.opengl.GL11; import java.util.LinkedList; public class GlScissorStack { private static class Bounds { int left; int top; int right;...
/* * Copyright (c) 2006 SibInco Inc. All Rights Reserved. */ package ru.sibinco.scag.scmon.snap; import ru.sibinco.lib.backend.util.SnapBufferReader; import java.io.IOException; import java.io.DataOutputStream; import java.io.DataInputStream; /** * The <code>SnapAbstract</code> class represents * <p><p/> * Dat...
package com.pietrogon.springbootrestapi.entity; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.persistence.*; import java.util.Set; @Entity @JsonIgnoreProperties({"users",}) public class Project { @GeneratedValue(strategy = GenerationType.AUTO) @Id @Column(name = "id") pr...
/*- * #%L * anchor-image * %% * Copyright (C) 2010 - 2020 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche * %% * 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...
/**Copyright 2015 Research Studios Austria Forschungsgesellschaft mBH * * This file is part of easyrec. * * easyrec 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, either version 3 of the License, or * ...
/* * Copyright 2022 Linus Andera * * 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...
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2014, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...