text
stringlengths
7
995k
//,temp,QuotaAlertManagerImpl.java,251,278,temp,AccountManagerImpl.java,646,665 //,3 public class xxx { protected boolean lockAccount(long accountId) { boolean success = false; Account account = _accountDao.findById(accountId); if (account != null) { if (account.getState().equals...
package catHouse2.entities.cat; import catHouse.entities.cat.BaseCat; public class ShorthairCat extends BaseCat { private static final int Killograms = 7; private static final int increaseSize = 1; public ShorthairCat(String name, String breed, double price) { super(name, breed, price); se...
/* * 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 2014-2019 Real Logic 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package mekanism.common.world; import com.mojang.serialization.Codec; import java.util.Random; import javax.annotation.Nonnull; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.MathHelper; import net.minecraft.world.ISeedReader; import net.minecraft.world.gen.ChunkGenerator; import net.minecraft...
package org.fatmansoft.teach.controllers.academic; import org.fatmansoft.teach.SpringBootSecurityJwtApplication; import org.fatmansoft.teach.SystemApplicationListener; import org.fatmansoft.teach.models.academic.Course; import org.fatmansoft.teach.payload.request.DataRequest; import org.fatmansoft.teach.payload.respon...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * 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.mldong.controller; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @RestController @RequestMapping("/") public class IndexController { @Value("${spring.application.n...
/* * 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");...
public class Runs { public static void main (String[] args) { final int FLIPS = 100; // number of coin flips int currentRun = 0; // length of the current run of HEADS int maxRun = 0; // length of the maximum run so far int totalMax = 0; Coin c = new Coin(); /...
/* * 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 ...
/* * IntPTI: integer error fixing by proper-type inference * Copyright (c) 2017. * * Open-source component: * * CPAchecker * Copyright (C) 2007-2014 Dirk Beyer * * Guava: Google Core Libraries for Java * Copyright (C) 2010-2006 Google * * */ package org.sosy_lab.cpachecker.cfa.model.c; import com.google...
package liquibase.extension.testing.testsystem.wrapper; /** * Wraps the external database used by {@link liquibase.extension.testing.testsystem.DatabaseTestSystem} * so that HOW the database is interacted with is indepenent of WHAT we do with that connection. * For example, the same setup logic can be applied regar...
/* * Created on Feb 24, 2008 * * 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 writ...
package com.sq.prop; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @ConfigurationProperties("be") @Component public class BeProperties { private String[] corsOrigins; public String[] getCorsOrigins() { return corsOrigins; ...
package com.rhp.hospital.controller; import org.springframework.util.StringUtils; import org.springframework.web.servlet.mvc.support.RedirectAttributes; import org.springframework.web.util.WebUtils; import javax.servlet.http.HttpServletRequest; import java.util.Map; public class BaseController { //提示信息 pu...
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2016-2018 AppyBuilder.com, All Rights Reserved - Info@AppyBuilder.com // https://www.gnu.org/licenses/gpl-3.0.en.html // Copyright 2009-2011 Google, All Rights reserved // Copyright 2011-2012 MIT, All rights reserved // Released under the Apache License, Version 2...
import org.junit.*; import static org.junit.Assert.*; public class TeamTest { @Test public void Team_instantiatesCorrectly_true() { Team myTeam = new Team("Barbell"); assertEquals(true, myTeam instanceof Team); } @Test public void Team_teamName_String() { Team myTeam = new Team("Barbell"); a...
package client.domain.response.history.transaction; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.util.List; @Getter @Setter @ToString @JsonIgnoreProperties(ignoreUnkn...
package org.broadinstitute.hellbender.utils.genotyper; import htsjdk.samtools.SAMFileHeader; import htsjdk.variant.variantcontext.Allele; import org.apache.commons.math3.stat.descriptive.rank.Median; import org.broadinstitute.hellbender.utils.*; import org.broadinstitute.hellbender.utils.read.ArtificialReadUtils; impo...
package net.haesleinhuepf.spimcat.io; import ij.*; import ij.plugin.Duplicator; import ij.plugin.HyperStackConverter; import ij.process.ImageProcessor; import net.haesleinhuepf.clij.clearcl.ClearCLBuffer; import net.haesleinhuepf.clijx.CLIJx; public class CLIJxVirtualStack extends VirtualStack { private ClearCLBu...
package android.test.anno; import java.lang.annotation.*; @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Inherited public @interface AnnoSimpleType2 {}
package ru.pro.iterator; import java.util.Iterator; /** * Created by koldy on 07.09.2017. */ public class ConvertIt implements Iterator<Integer> { /** * iterator. */ private final Iterator<Iterator<Integer>> iterator; /** * current iterator. */ private Iterator<Integer> currentI...
package net.md_5.bungee; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableMap; import io.netty.bootstrap.Bootstrap; import io.netty.channel.Channel; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelFutureListener; import ...
package osgl.func; /*- * #%L * OSGL Core * %% * Copyright (C) 2017 OSGL (Open Source General Library) * %% * 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...
/* Copyright 2008-2013 CNR-ISTI, http://isti.cnr.it Institute of Information Science and Technologies of the Italian National Research Council See the NOTICE file distributed with this work for additional information regarding copyright ownership Licensed under the Apache License, Version 2.0 (t...
package section1_recipe1; import java.util.concurrent.Executors; import java.util.concurrent.ThreadPoolExecutor; public class Server { private final ThreadPoolExecutor executor; public Server(){ // Create the executor executor=(ThreadPoolExecutor)Executors.newFixedThreadPool(Runtime.getRuntime().availablePr...
package com.github.milomarten.fracktail3.spring.command.plugin; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * A meta-annotation that describes how an annotation can be used to decorate an Exceptio...
package com.cspticw.controller; import java.io.File; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.shiro.SecurityUtils; import org.apache.shiro.session.Session; import org.apache.shiro.subject.Subject; import org.springframework.b...
package test; import model.Drawing; import model.Shape; import org.junit.Before; import org.junit.Test; import sound.MidiSynth; import java.awt.*; import static junit.framework.TestCase.assertFalse; import static junit.framework.TestCase.assertTrue; import static org.junit.Assert.assertEquals; public class DrawingT...
package us.myles.ViaVersion.protocols.protocol1_12to1_11_1; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonPrimitive; import us.myles.ViaVersion.api.data.UserConnection; import java.util.regex.Pattern; public class ChatItemRewriter ...
package com.teracode.uicomponentexample; import android.content.Context; import androidx.test.platform.app.InstrumentationRegistry; import androidx.test.ext.junit.runners.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will ex...
package nl.hsac.fitnesse.slim.converter; import fitnesse.slim.converters.DefaultConverter; import fitnesse.slim.converters.ElementConverterHelper; /** * Slim converter to format an object of unknown static type using its actual type. */ public class ObjectConverter extends DefaultConverter { @Override publi...
/**************************************************************** * 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...
/* * (C) Copyright 2018 Nuxeo (http://nuxeo.com/) and others. * * 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 b...
package com.codepath.apps.restclienttemplate; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.view.Menu; import android.view.View; import com.codepath.apps.restclienttemplate.models.SampleModel; import com.codepath.apps.restclienttemplate.models.SampleModelDao; imp...
package com.mygdx.game.action; import com.badlogic.gdx.ai.fsm.State; import com.badlogic.gdx.ai.msg.Telegram; import com.badlogic.gdx.math.MathUtils; import com.mygdx.game.actor.BaseActor; /** * Created by ttwings on 2017/8/29. */ public enum ToolActions implements State<BaseActor>{ 砍柴{ @Override ...
package com.xqkj.common.core.domain; import java.io.Serializable; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonFormat; /** * Entity基类 * * @author xqkj */ public class BaseEntity implements Serializable { private static final long serialVer...
package org.anddev.andengine.util.path; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 15:19:11 - 17.08.2010 */ public enum Direction { // =========================================================== // Elements // =================================================...
// Copyright 2017 Google 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 by applicable law...
package models.message; public enum DataName { ORIGINAL_CARDS, STORIES, LEADERBOARD, ONLINE_GAMES_LIST, CUSTOM_CARDS }
/** * Copyright (C) 2018-2019 * All rights reserved, Designed By www.yixiang.co * 注意: * 本软件为www.yixiang.co开发研制,未经购买不得使用 * 购买后可获得全部源代码(禁止转卖、分享、上传到码云、github等开源平台) * 一经发现盗用、分享等行为,将追究法律责任,后果自负 */ package co.yixiang.config; import cn.hutool.core.util.StrUtil; import co.yixiang.listener.RedisKeyExpirationListener; im...
package com.codewithjay.quizapp; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an Andr...
package com.old.time.views.largeImageUtils; import android.view.animation.AnimationUtils; import android.view.animation.Interpolator; /** * Created by LuckyJayce on 2016/11/26. */ class ScaleHelper { private long mStartTime; private Interpolator mInterpolator; private float mScale; private float m...
package com.codepath.apps.allotweets.ui.utils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; /** * https://github.com/ewilden/TimeFormatter/blob/master/TimeFormatter.java * <p/> * Given a date String of the format give...
package at.ac.tuwien.dsg.smartcom.manager; import at.ac.tuwien.dsg.smartcom.callback.NotificationCallback; import at.ac.tuwien.dsg.smartcom.model.Identifier; import at.ac.tuwien.dsg.smartcom.model.Message; import at.ac.tuwien.dsg.smartcom.model.RoutingRule; /** * @author Philipp Zeppezauer (philipp.zeppezauer@gmail....
package com.simibubi.create.foundation.gui; import com.simibubi.create.Create; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.AbstractGui; import net.minecraft.client.gui.screen.Screen; import net.minecraft.util.ResourceLocation; import net.minecraftforge.api.distmarker.Dist; import net.minecr...
// Copyright 2020 IOTA Stiftung // SPDX-License-Identifier: Apache-2.0 // (Re-)generated by schema tool //////// DO NOT CHANGE THIS FILE! //////// // Change the json schema instead package org.iota.wasp.contracts.fairroulette.lib; import org.iota.wasp.wasmlib.immutable.*; public class FuncPlaceBetParams { publi...
package com.nvinas.hnews.ui; import com.google.common.collect.Lists; import com.nvinas.hnews.data.Comment; import com.nvinas.hnews.data.source.StoryRepository; import com.nvinas.hnews.testrule.RxTestRule; import com.nvinas.hnews.ui.comments.CommentsContract; import com.nvinas.hnews.ui.comments.CommentsPresenter; impo...
package com.example.config; public interface CustomConstants { // Spring profiles for development, test and production, see https://www.jhipster.tech/profiles/ String SPRING_PROFILE_DEVELOPMENT = "dev"; String SPRING_PROFILE_TEST = "test"; String SPRING_PROFILE_PRODUCTION = "prod"; // Spring profil...
package org.oddlama.vane.core.config; import java.lang.StringBuilder; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.function.Function; import org.apache.commons.lang.ArrayUtils; import org.bukkit.configuration.file.YamlConfiguration; imp...
package io.github.talelin.latticy.bo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * @author Gadfly * @since 2021-11-19 15:20 */ @Data @NoArgsConstructor @AllArgsConstructor public class LoginCaptchaBO { private String captcha; private Long expired; }
/*- * #%L * Elastic APM Java agent * %% * Copyright (C) 2018 Elastic and contributors * %% * 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/LICE...
/* * 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 ec.com.asofar.views.bodega; import ec.com.asofar.dao.InBodegaJpaController; import ec.com.asofar.dao.InTipoBodegaJpaController...
package org.apache.tomcat.jdbc.test; import java.sql.Connection; import org.junit.Assert; import org.junit.Test; import org.apache.tomcat.jdbc.pool.interceptor.TestInterceptor; public class TestInterceptorShortName extends DefaultTestCase { @Test public void testShortInterceptor() throws Exception { ...
/* * Copyright (c) 2009-2013 David Soergel <dev@davidsoergel.com> * Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package com.davidsoergel.trees; import org.jetbrains.annotations.NotNull; import java.util.Iterator; /** * @author <a href="mailto:dev@davidsoerge...
package com.xunmkj.modules.system.service.impl; import com.xunmkj.modules.system.domain.Job; import com.xunmkj.modules.system.repository.DeptRepository; import com.xunmkj.modules.system.repository.JobRepository; import com.xunmkj.modules.system.service.JobService; import com.xunmkj.modules.system.service.mapper.JobMap...
package ee.mboysan.signverify.tree; import ee.mboysan.signverify.hashing.HashUtils; import ee.mboysan.signverify.hashing.IHash; /** * Represents a node in the tree. */ public class HashNode { /** Node's parent. */ private HashNode parentNode; /** node on the left. */ private HashNode leftNode; ...
class MyException3{ public static void main(String args[]){ try{ try{ System.out.println("going to divide"); int b =39/0; }catch(ArithmeticException e){ System.out.println(e); } try{ int a[]=new int[5]; a[5]=4; }catch(Ar...
package com.chen.playerdemo.presenter; import com.chen.playerdemo.base.BasePresenter; import com.chen.playerdemo.bean.music.BannerInfo; import com.chen.playerdemo.bean.music.HighQuality; import com.chen.playerdemo.bean.music.PlayListInfo; import com.chen.playerdemo.contract.MusicContract; import com.chen.playerdemo.mo...
/* * 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...
/* * 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.sssa.slrtce.data.network; import com.sssa.slrtce.misc.utils.Extras; /** * Created by Coolalien on 2/22/2017. */ public interface extras { Extras getExtras(); }
/* * MIT License * * Copyright (c) 2022 Leonardo de Lima Oliveira * * https://github.com/l3onardo-oliv3ira * * 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 ...
package com.lzhlyle.leetcode.recite.no917; public class ReverseOnlyLetters_TwoPoints { public String reverseOnlyLetters(String S) { char[] arr = S.toCharArray(); int len = arr.length, l = -1, r = len; if (len < 2) return S; while (l++ < r--) { while (l < r && !valid(arr[...
/* * Copyright (c) 2008-2019, 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 ...
package com.ljf.gmall.ware.feign; import com.ljf.common.utils.R; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @FeignClient("gulimall-member") public interface MemberFeignService { ...
package com.maryanto.dimas.example.service; import com.maryanto.dimas.example.api.ExampleApi; import retrofit2.Retrofit; import retrofit2.converter.jackson.JacksonConverterFactory; public class RestService { private Retrofit baseApi = null; public RestService() { this.baseApi = new Retrofit.Builder...
/* * Copyright 2014-2020 Real Logic 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright 1999-2018 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...
/* * The MIT License (MIT) * * Copyright (c) 2014 daimajia * * 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...
/** * 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) 2012-2013 DuyHai DOAN * * 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...
package network.cycan.elpStatics.util; import lombok.extern.slf4j.Slf4j; import org.web3j.abi.FunctionEncoder; import org.web3j.abi.FunctionReturnDecoder; import org.web3j.abi.TypeReference; import org.web3j.abi.datatypes.*; import org.web3j.abi.datatypes.generated.Uint256; import org.web3j.protocol.Web3j; import org...
package cc.caker.boot.module.pm; import cc.caker.boot.module.pm.service.GoodsCategoryService; import cc.caker.boot.repo.model.db2.GoodsCategory; import cc.caker.common.vo.ResponseResult; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.sw...
package de.iani.cubequest.sql.util; import java.sql.SQLException; public class MySQLConnection extends SQLConnection { public MySQLConnection(String host, String database, String user, String password) throws SQLException { super("jdbc:mysql://" + host + "/" + database, database, user, pa...
package com.game.xiaoyan.system.controller; import com.alibaba.fastjson.JSONObject; import com.game.xiaoyan.common.BaseController; import com.game.xiaoyan.system.entity.AccountInfo; import com.game.xiaoyan.system.entity.BrushGiftsAccount; import com.game.xiaoyan.system.service.BatchNoService; import com.game.xiaoyan.s...
/** * nz.govt.natlib.ndha.wctdpsdepositor - Software License * * Copyright 2007/2009 National Library of New Zealand. * 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 Licen...
/* * Copyright 2011-2014 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 app...
// // ======================================================================== // Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
/** * 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 2016 Alexey Andreev. * * 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...
package com.hibegin.http.server.impl; import com.hibegin.common.util.LoggerUtil; import com.hibegin.http.server.api.HttpRequestDeCoder; import com.hibegin.http.server.api.HttpResponse; import com.hibegin.http.server.api.Interceptor; import com.hibegin.http.server.config.ServerConfig; import java.net.Socket; import ja...
/* * Copyright 2018-2019 Dario Lucia (https://www.dariolucia.eu) * * 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 2012 Anyware Services * * 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package tmddv3verificationold.utilities; import java.sql.ResultSet; import java.util.ArrayList; import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.M...
package jetbrains.mps.test.mainLang.migration; /*Generated by MPS */ import jetbrains.mps.lang.migration.runtime.base.MigrationAspectDescriptor; import java.util.Map; import jetbrains.mps.lang.migration.runtime.base.MigrationScript; import jetbrains.mps.internal.collections.runtime.MapSequence; import java.util.HashM...
package com.lazy.logcat; import android.content.Intent; import android.os.Build; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.CheckBox; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; ...
package com.mypet.MyPet.web.controller; import com.mypet.MyPet.domain.Post; import com.mypet.MyPet.dao.PostDAO; import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.*; import java.util.ArrayList; @RestController @RequestMapping("/api/post") public class PostController { pri...
package com.home.amngomes.views; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.text.Editable; import android.text.TextWatcher; import android.widget.EditText; import com.home.amngomes.controller.RetrofitClient; import com.home.amngomes.ultrastarsongviewer.R; import butterk...
package org.k3a.observer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.Closeable; import java.io.IOException; import java.nio.file.Path; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import java.util.*; import java.util.concurrent.*; import java.util.concurrent.atomic.Atom...
/* * Swagger Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * OpenAPI spec version: 1.0.0 * Contact: apiteam@swagger.io * * NOTE: This class is auto generated by the swagger code generator p...
/* * Copyright 2012-2020 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 cn.gson.oasys.model.dao.user; import java.util.List; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Pagi...
package com.github.mikhailstepanov88.ignite_meetup.repository; import com.github.mikhailstepanov88.ignite_meetup.data.entity.PersonEntity; import org.apache.ignite.Ignite; import org.apache.ignite.IgniteAtomicSequence; import org.apache.ignite.IgniteCache; import org.springframework.stereotype.Repository; import react...
/* * Copyright 2020 Red Hat, Inc. and/or 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 app...
package id.ac.polban.jtk.database; /* Referensi : https://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html Buku Head First Android halaman 628 @author Mufid Jamaluddin */ import android.content.ContentValues; import android.content.Context; import android.database.sqli...
/* * ============================================================================ * GNU General Public License * ============================================================================ * * Copyright (C) 2006-2011 Serotonin Software Technologies Inc. http://serotoninsoftware.com * @author Matthew Lohbihler *...
package com.mdcc.dto2ts.core.test; import com.mdcc.dto2ts.core.context.*; import org.mockito.*; import org.junit.jupiter.api.BeforeEach; import static org.mockito.Mockito.*; public abstract class BaseUnitTestClass { @Mock protected PropertyOperationsFactory factory; @Mock protected DecoratorBuilder d...