text
stringlengths
7
1.01M
package io.github.wendergalan.springrestrepositories.models.repositories; import io.github.wendergalan.springrestrepositories.models.entities.Endereco; import io.github.wendergalan.springrestrepositories.models.entities.projections.EnderecoExcerpt; import org.springframework.data.repository.PagingAndSortingRepository;...
package com.github.rmannibucau.quote.manager.configuration; import javax.annotation.sql.DataSourceDefinition; @DataSourceDefinition( name = "java:app/jdbc/quote_manager", className = "com.mysql.jdbc.Driver", url = "jdbc:mysql://localhost:3306/quote_manager", user = "root", pass...
package graphql.schema.idl; import graphql.PublicSpi; import graphql.schema.GraphQLSchema; /** * These are called by the {@link SchemaGenerator} after a valid schema has been built * and they can then adjust it accordingly with some sort of post processing. */ @PublicSpi public interface SchemaGeneratorPostProcess...
/** * <copyright> * </copyright> * * $Id$ */ package orgomg.cwm.foundation.typemapping.provider; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.ResourceLocator; import ...
/* * 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...
/* * Copyright 2015 Adaptris Ltd. * * 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 agree...
package org.ga4gh.starterkit.wes.config; import org.ga4gh.starterkit.wes.config.language.NextflowLanguageConfig; public class WesServicePropsLanguages { private NextflowLanguageConfig nextflow; public WesServicePropsLanguages() { nextflow = new NextflowLanguageConfig(); } public void set...
package com.ost.ho.daos; import java.util.List; import org.springframework.stereotype.Repository; import com.ost.ho.model.Drug; @Repository public interface DrugSearchDAO { public List<Drug> getDrugs(String drugName); public List<Drug> getaLLDrug(); }
/* * Copyright (c) Tarek Hosni El Alaoui 2017 */ package de.dytanic.cloudnetcore.network.packet.out; import de.dytanic.cloudnet.lib.utility.document.Document; import de.dytanic.cloudnet.lib.network.protocol.packet.Packet; import de.dytanic.cloudnet.lib.network.protocol.packet.PacketRC; import de.dytanic.cloudnet.li...
/* * HorizontalAlign * Transform * * Copyright (c) 2010 Flagstone Software Ltd. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain th...
// This is a generated file. Not intended for manual editing. package org.zig.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface ZigFnProto extends PsiElement { @Nullable ZigByteAlign getByteAlign(); @Nullable ZigCallConv getCallConv(); @N...
/* * Copyright 1999-2002,2004 The Apache Software Foundation. * * 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 requir...
/* Copyright 2020 Norconex 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 agr...
package com.vsc.backend.data.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.PrePersist; import javax.persistence.PreUpdate; import javax.validation.constraints.Email; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotEmpty; import j...
package com.coderdream.controller; import org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.http.HttpServletRequest; import java.util.ArrayList; import jav...
package br.com.neton.nfc.plugin; import android.nfc.NdefMessage; import android.nfc.NdefRecord; import android.nfc.Tag; import android.nfc.tech.Ndef; import android.util.Log; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.util.ArrayList; import java.util.Arrays; impo...
/* * Copyright (C) 2018-2021. Huawei Technologies Co., Ltd. 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 * * U...
/** * 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...
/** * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com). * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
/* * $Id$ * Copyright (C) 2006 Klaus Reimer <k@ailis.de> * * 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, ...
/* * Copyright (c) 2017. Ryan Davis <Ryandavis84@gmail.com> Swagger Diff java CLI */ package com.rdavis.swagger.exceptions; public class SwaggerException extends Exception { public SwaggerException(String message) { super(message); } }
package net.minecraft.entity.item; import com.google.common.collect.Lists; import java.util.List; import javax.annotation.Nullable; import net.minecraft.block.BlockLiquid; import net.minecraft.block.BlockPlanks; import net.minecraft.block.material.Material; import net.minecraft.block.properties.IProperty; import net.m...
/* * Copyright 2018 Expedia, 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...
package com.a9ski.mikrotik.accounting.parsers; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; import com.a9ski.mikrotik.accounting.exceptions.IllegalRecordException; import com.a9ski.mikrotik.account...
// 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.util.ui.paint; import com.intellij.testFramework.PlatformTestUtil; import com.intellij.ui.RestoreScaleRule; import com.intellij.util.ui.JBUI; import com.inte...
package no.nav.arbeidsgiver.sykefravarsstatistikk.api; import org.junit.jupiter.api.extension.BeforeAllCallback; import org.junit.jupiter.api.extension.ExtensionContext; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframework.test.context.junit.jupiter.SpringExtension; i...
package com.ke.css.cimp.ffr.ffr6; /* ----------------------------------------------------------------------------- * Rule_MId_PID.java * ----------------------------------------------------------------------------- * * Producer : com.parse2.aparse.Parser 2.5 * Produced : Fri Feb 23 14:30:37 KST 2018 * * --------...
/* * 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 mx.clickfactura.util; import mx.clickfactura.exception.CustomBadRequestException; import mx.clickfactura.exception.CustomNotF...
/** * * Generated by JaxbToStjsAssimilater. * Assimilation Date: Thu Sep 12 10:06:00 CDT 2019 * **/ package s6000t; import org.cassproject.schema.general.EcRemoteLinkedData; public class AlgorithmTaskDifficultyCategory extends EcRemoteLinkedData { protected TaskDifficultyCategoryCodeValues code; protec...
package crazypants.enderio.integration.tic.init; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.enderio.core.common.util.NullHelper; import crazypants.enderio.api.IModTileEntity; import crazypants.enderio.base.init.IModObjectBase; import crazypants.enderio.base.init.ModObjectRegistry; ...
/* * Copyright 2003 - 2017 The eFaps Team * * 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 ...
/* * Shop System Plugins - Terms of Use * * The plugins offered are provided free of charge by Wirecard AG and are explicitly not part * of the Wirecard AG range of products and services. * * They have been tested and approved for full functionality in the standard configuration * (status on delivery) of the cor...
/* * Copyright 1999-2019 Alibaba Group Holding Ltd. * * 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 br.com.zupacademy.metricas.config.feign; public class SolicitacaoComRestricao extends RuntimeException { private static final long serialVersionUID = 1L; }
package com.classic.example; import java.util.Scanner; // 为新员工分配部门 public class AssignDepart { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); System.out.println("请输入新员工的姓名:"); String name = scan.nextLine(); // 接收员工名称 System.out.println("请...
/* * Copyright (c) 2014, Araz Abishov * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condition...
package annotator.find; import com.sun.source.tree.LambdaExpressionTree; import com.sun.source.tree.MethodTree; import com.sun.source.tree.Tree; import com.sun.source.tree.VariableTree; import com.sun.source.util.TreePath; import java.util.List; public class ParamCriterion implements Criterion { private final Stri...
package io.github.riesenpilz.nmsUtilities.packet.playIn; import org.apache.commons.lang.Validate; import org.bukkit.entity.Player; import io.github.riesenpilz.nmsUtilities.reflections.Field; import net.minecraft.server.v1_16_R3.Packet; import net.minecraft.server.v1_16_R3.PacketListenerPlayIn; import net.minecraft.se...
package br.com.rescuebots_brain.socket.v2; import java.io.EOFException; import java.io.IOException; import java.net.ServerSocket; import java.net.SocketException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; import br.com.rescuebots.utils.Network; import br.com.rescuebots_brain.databas...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE package org.bytedeco.caffe; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.openblas.global.openblas_nolapack.*; import static org.bytedeco.openblas.global.openblas.*; import org.bytedec...
import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.apache.tika.exception.TikaExce...
/* * 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 net.querz.mcaselector.version.anvil114; import net.querz.mcaselector.point.Point2i; import net.querz.mcaselector.version.ChunkRelocator; import net.querz.nbt.tag.CompoundTag; import net.querz.nbt.tag.DoubleTag; import net.querz.nbt.tag.IntArrayTag; import net.querz.nbt.tag.IntTag; import net.querz.nbt.tag.List...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
/* * 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 file.ops.codapay.model; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonProperty; /** * * @author hariharansuresh * */ public class Record implements Serializable { private static final long serialVersionUID = 4411023574633161239L; public Record() { } @JsonProperty("heade...
package cases.s2_login_and_auth; import android.app.Activity; import android.app.Instrumentation; import android.content.Intent; import android.content.pm.PackageManager; import android.support.test.espresso.Espresso; import android.support.test.espresso.intent.Intents; import android.support.test.filters.LargeTest; i...
package biweekly.io.chain; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.StringWriter; import java.io.Writer; import java.util.Collection; import java.util.TimeZone; import biweekly.Biweekly; import biweekly.ICalendar; import biweekly.component.ICalComponent;...
/* * 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 factory.common; import factory.abstractFactory.LaptopFactory; import factory.abstractFactory.LaptopFactoryMap; import factory.common.cpu.Cpu; import factory.common.memory.Memory; import factory.factoryMethod.CpuFactoryMap; import factory.factoryMethod.ICpuFactory; import factory.simpleFactory.CpuFactoryV2; /*...
package org.sut.cashmachine.rest.dto; import com.fasterxml.jackson.annotation.JsonInclude; import java.util.List; import java.util.Objects; @JsonInclude(JsonInclude.Include.NON_NULL) public class ReceiptDTO { private long id; private String cashierName; private String status; private String total; ...
package org.tuean.util; import com.google.inject.internal.util.Lists; import edu.emory.mathcs.backport.java.util.Arrays; import org.apache.commons.collections.CollectionUtils; import org.apache.http.util.Asserts; import org.apache.maven.model.Resource; import org.apache.maven.project.MavenProject; import org.tuean.con...
package org.springframework.roo.file.monitor.polling.roo; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Reference; import org.apache.felix.scr.annotations.ReferenceCardinality; import org.apache.felix.scr.annotations.ReferencePolicy; import org.apache.felix.scr.annotations....
package org.apache.lucene.util; /** * 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, Versio...
// javadoc/Documentation1.java // (c)2021 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. /** A class comment */ public class Documentation1 { /** A field comment */ public int i; /** A method comment */ publi...
package enemeez.simplefarming.block.growable; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.block.BushBlock; import net.minecraft.block.IGrowable; import net.minecraft.state.IntegerProperty; import net.minecraft.state.StateContainer; import net.minecraft.state.properties...
import java.util.Scanner; import java.util.logging.Level; import java.util.logging.Logger; /** * <dl> * <dt>Purpose: * <dd>To demonstrate Java skills * * <dt>Description: * <dd>Implements chessgame * </dl> * * @author Tobias Büschel * @version 1.0 * */ public class Logging_Chess_Javadoc { private final...
package me.drex.itsours.claim.permission.util.node; public class GroupNode extends AbstractNode{ private final String id; private final String[] permissions; public GroupNode(String id, String... permissions) { this.id = id; this.permissions = permissions; } @Override public S...
package gov.healthit.chpl.validation.pendinglisting.reviewer.duplicate; import static org.junit.Assert.assertEquals; import java.util.LinkedHashSet; import org.junit.Before; import org.junit.Test; import org.mockito.ArgumentMatchers; import org.mockito.Mockito; import gov.healthit.chpl.domain.CertificationCriterion...
package com.example.eventmanegmentsystem.Activity; import android.content.Intent; import android.os.Bundle; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import com.example.event...
/* * Copyright (c) 2017. The Hyve and respective contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * See the file LICENSE in the root of this repository. * */ package nl.thehyve.podium.common.service.dto; impor...
/** * 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...
/* KnHttp Copyright (c) 2019-2020 Florent VIALATTE Copyright (c) 2016-2019 Amit Shekhar 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/L...
/* * 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 ...
/* * Copyright 2000-2009 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...
/* * Copyright (C) 2020-2022 Objectos Software LTDA. * * 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 org.ofdrw.layout; import org.ofdrw.layout.element.Div; import org.ofdrw.layout.engine.Segment; import org.ofdrw.layout.engine.SegmentationEngine; import org.ofdrw.layout.engine.StreamingLayoutAnalyzer; import java.util.LinkedList; import java.util.List; /** * 流式布局的页面内容 * <p> * 用于编辑文档时插入文档内容 * <p> * 如果内容...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE89_SQL_Injection__Environment_executeUpdate_72b.java Label Definition File: CWE89_SQL_Injection.label.xml Template File: sources-sinks-72b.tmpl.java */ /* * @description * CWE: 89 SQL Injection * BadSource: Environment Read data from an environment variable ...
package edu.columbia.cs.psl.phosphor; import java.io.File; import java.io.FileInputStream; import java.io.FileWriter; import java.io.PrintWriter; import org.objectweb.asm.ClassReader; import org.objectweb.asm.ClassVisitor; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.MethodVisitor; import org.object...
/* QName * Copyright (c) 2009-2010 TIBCO Software 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 applica...
/* * Copyright 2000-2017 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 org.softuni.webapp.repositories; import org.softuni.webapp.domain.entities.UserRole; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface UserRoleRepository extends JpaRepository<UserRole, String> { UserRole findByAuth...
/* * Copyright (C) 2018-2022 Lightbend Inc. <https://www.lightbend.com> */ package akka.actor.typed; public class MailboxSelectorTest { // Compile time only test to verify // mailbox factories are accessible from Java private MailboxSelector def = MailboxSelector.defaultMailbox(); private MailboxSelector b...
/* * 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 ...
/******************************************************************************* * Copyright (c) 2016, 2017 Stephan Druskat * Exploitation rights for this version belong exclusively to Universität Hamburg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
import section_08.Switch; /** * @Author ZhangGJ * @Date 2019/06/03 */ class OnOffException1 extends Exception { } class OnOffException2 extends Exception { } public class ExerciseFourteen { static Switch sw = new Switch(); static void f() throws OnOffException1, OnOffException2 { throw new Runt...
package models; public class User { private String id; private String name; private String email; public User(String id, String name, String email) { this.id = id; this.name = name; this.email = email; } public String getId() { return id; } public voi...
/********************************************************************************** * $URL:$ * $Id:$ *********************************************************************************** * * Copyright (c) 2008, 2009 The Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "Licens...
/** * 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.matez.wildnature.event; import com.matez.wildnature.Main; import net.minecraftforge.client.event.InputEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; public class KeyEvent { @SubscribeEvent public void onKey(InputEvent.KeyInputEvent event){ if(event.getKey()==340 && (event.g...
package be.aga.dominionSimulator.cards; import be.aga.dominionSimulator.DomCard; import be.aga.dominionSimulator.enums.DomCardName; import java.util.ArrayList; public class NoblesCard extends DomCard { public NoblesCard () { super( DomCardName.Nobles); } public void play() { if (owner.isHuma...
package com.exemple.android.quizapp; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.EditText; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstance...
/* * Copyright (c) 2019. University of Applied Sciences and Arts Northwestern Switzerland FHNW. * All rights reserved. */ package ch.fhnw.digibp.classroom.tenant; import org.camunda.bpm.engine.IdentityService; import org.camunda.bpm.engine.impl.cfg.multitenancy.TenantIdProvider; import org.camunda.bpm.engine.impl....
// Template Source: BaseMethodParameterSet.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------...
package org.linlinjava.litemall.db.domain; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.List; public class LitemallUserCouponExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table litemall_user_coupon * * @m...
package org.jitsi.webrtcvadwrapper; import com.sun.jna.Native; import com.sun.jna.Platform; import java.io.*; import java.lang.reflect.*; import java.util.regex.*; /** * Source https://github.com/jitsi/jitsi-utils/blob/master/jitsi-utils/src/main/java/org/jitsi/utils/JNIUtils.java * Implements Java Native Interfac...
/* * Copyright 2000-2010 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...
// Generated from ExpressionTemplate.txt by ANTLR 4.5.3 package org.snomed.authoringtemplate.service.generatedlogicalparser; import org.antlr.v4.runtime.tree.ParseTreeListener; /** * This interface defines a complete listener for a parse tree produced by * {@link ExpressionTemplateParser}. */ public interface Expr...
package com.github.mybatis.model; import java.io.Serializable; /** * 所有Example的基类,包括分页属性 * * @author Johnny * */ public class BaseModel<PK extends Serializable> implements Serializable { private static final long serialVersionUID = -6590882888801386323L; protected PK sid; public PK getSid() { ...
package Session; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.cfg.Configuration; import org.hibernate.service.ServiceRegistry; import org.hibernate.service.ServiceRegistryBuilder; /** * Configures and provides access to Hibernate sessions, tied to the * current thread ...
package me.aikin.refactoring.longer; import java.text.DecimalFormat; public class Dollars { private double amount; public Dollars(double d) { amount = d; } public Dollars(Dollars dollars) { amount = dollars.amount; } public Dollars plus(Dollars dollars) { return new ...
// // Decompiled by Procyon v0.5.36 // package org.apache.velocity.util.introspection; import java.lang.reflect.Method; import org.apache.velocity.runtime.log.Log; public class SecureIntrospectorImpl extends Introspector implements SecureIntrospectorControl { private String[] badClasses; private String[] b...
/* * Copyright (c) 2008-2018, Hazelcast, Inc. 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 ...
/** * Copyright 2006-2016 the original author or authors. * <p> * 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 * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless requir...
package com.deegia; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; @RunWith(SpringJUnit4ClassRunner.cla...
package exam.liulishuo2019; import java.util.ArrayList; import java.util.List; import java.util.Scanner; /** * @author : SpencerCJH * @date : 2019/9/11 21:25 */ public class Test1 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(), aAmount = in....
package MonteCarloSimulation; import java.awt.*; public class Circle { private int x, y, r; public Circle(int x, int y, int r){ this.x = x; this.y = y; this.r = r; } public int getX(){ return x; } public int getY(){ return y; } public int getR(){ return r; } pub...
// Template Source: BaseMethodCollectionRequestBuilder.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------...
package gr2.pz2.pwsip2018.komunikator; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ac...