text
stringlengths
65
6.05M
lang
stringclasses
8 values
type
stringclasses
2 values
id
stringlengths
64
64
package py.com.snowtech.patterns.behavioral; import java.util.ArrayList; import java.util.List; /** * Memento pattern is used to reduce where we want to restore state of an object * to a previous state. Memento pattern falls under behavioral pattern category. * * Memento pattern uses three actor classes. Mement...
Java
CL
6a15700f0a495713f8d8e833b94e6e65245f244ada4c1d3d653ec77ff7668420
/* * */ package org.xmlgen.context; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.Stack; /** * The Class FrameStack. * * @author Didier Garcin */ public class FrameStack implements Map<S...
Java
CL
eb58ecb4a5f102e3b002785a02a5378ce6bf241a5670c20496a386851fbc54dd
package au.com.roadhouse.rxdbflow.rx1.sql.observables; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.raizlabs.android.dbflow.config.FlowManager; import com.raizlabs.android.dbflow.runtime.FlowContentObserver; import com.raizlabs.android.dbflow.sql.language.SQLOperat...
Java
CL
19e9421c776fe6a1c7ef9344370805887d754867441a3be4eb0a1fbcc48c91c2
package com.eas.application; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.logging.Formatter; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.Logger; import com.eas.client.AppClient; import com...
Java
CL
9bfcf4f1758af6ba91b6c4ecd275e92068d0646543bbb8db1e72afaf060788c4
// isComment package it.sasabz.android.sasabus.ui; import android.Manifest; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.content.ComponentName; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import an...
Java
CL
e9727a324fb4afb8bc9c1cc5f6f85174275b759e48e08e647e5204f6e9c82597
package com.cg.common.config.spring; import java.text.DateFormat; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Configuration; import org.springframework.http.MediaType; import org.springframework.http.converte...
Java
CL
787526350eab94ae06699f9a24eebc0ff6cadc0d97734db22f988a7a25da91fb
/* * 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 py.com.tesisrgb.generics; import ij.ImagePlus; import ij.io.FileSaver; import ij.process.ByteProcessor; import ij.process.Colo...
Java
CL
50fdfe84e40afda29287f4587ce3deefa3a456edb25ba649feb889b1c21741c2
/* * 工具自动生成:VIEWDAO接口 * 生成时间 : 2016/03/10 14:58:49 */ package com.icomp.dao; import com.icomp.common.dao.BaseViewDao; import com.icomp.common.entity.BaseEntity; import com.icomp.entity.base.Vworkshopsummary; import java.sql.SQLException; import java.util.List; /** * 继承父接口 * @author 工具自动生成 * 创建者 :yzq * 更新...
Java
CL
8aa870b616f4f754ba006620e7b5268cd06f94da04622c419b5200ce042c76f3
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package josteo.model.paziente; /** * * @author cristiano */ public class ValutazioneRuleMessages extends josteo.infrastructure.DomainBase.BrokenRuleMessages { @Override protected void PopulateMessages(){ ...
Java
CL
67463aa7facf729652fabd6e7b79ff7ee13fb4006cebbd6813569def76ca7dff
package com.google.codeu.servlets; import java.io.IOException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.google.appengine.api.users.UserService; import com.google.appengine...
Java
CL
91b5592a6166e1c89dd0e6bc6d0fffa648b65008c2f6097a9007b81dbfc8cba6
package it.greentone.persistence; import java.util.Collection; import javax.inject.Inject; import org.springframework.dao.DataAccessException; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional;...
Java
CL
621b9d886231681ce46e4a7ec802ec9bcdc866b377c5bcbdd8117af6fd7eccc5
package com.legstar.test.cixs.redmulti; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element inte...
Java
CL
25b19ed6332ee8ddf950dde5502741793fa127ff780833ee3e9ead9228533b12
/* * The MIT License * * Copyright 2015 Tim Boudreau. * * 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, mo...
Java
CL
9a3c430fe71d5246c1d2647a4bee8f557a9d53595d893a6a191529ffdd4b6af5
/** * Copyright 2011 Archfirst * * 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 ag...
Java
CL
9534bc59543a0bdb05757a96420fac4a99f2385a6e36194e2796d4e7064c49b7
package com.codegans.ai.cup2015.decision; import com.codegans.ai.cup2015.Navigator; import com.codegans.ai.cup2015.Priority; import com.codegans.ai.cup2015.action.Action; import com.codegans.ai.cup2015.action.MoveAction; import com.codegans.ai.cup2015.model.Marker; import com.codegans.ai.cup2015.model.Point; import mo...
Java
CL
9e3f94cee6bc4603fae8393eb3a949e523169b01b584d8b1700adc23ac2a59c3
package com.xuhongxu.xiaoya.Fragment; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.vi...
Java
CL
87fc99bae232afa05a57e5a6ee786292a37e1ce094a7d1702b12bf9d9a74e9da
/* * Copyright 2021 Arcade Data Ltd * * 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,...
Java
CL
61c2fe3d9de4313308abcdaab7f4396f9446ed86ba101a1fa6f38178e51a8827
package pl.shalpuk.scooterService.util; import org.springframework.data.jpa.domain.Specification; import pl.shalpuk.scooterService.dto.ScooterSpecificationDto; import pl.shalpuk.scooterService.model.Location; import pl.shalpuk.scooterService.model.Scooter; import javax.persistence.criteria.CriteriaBuilder; import jav...
Java
CL
081d2fba71384ac9b2666b0669e485d81ad25e4794b3cb1917bdf02b7b2b44e8
package skyglass.composer.sagas.simpledsl; import java.util.function.Function; import java.util.function.Predicate; import skyglass.composer.commands.common.Command; import skyglass.composer.commands.consumer.CommandWithDestination; public interface WithCompensationBuilder<Data> { InvokeParticipantStepBuilder<Data...
Java
CL
cf2ea19f4ff220966860cb323d778dfdf463fbd7cf8b65cda7329a35559ce0c1
/* * Copyright 2002-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...
Java
CL
3e801c0d4cb1f53bd3221f805257a4f0f2e86df72453dfda21ebf387d66814ea
package com.wat.tabularasa20.utilities; import android.os.AsyncTask; import androidx.annotation.Nullable; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.net.URLConnection; /** * Klasa pozwalająca pobrać ...
Java
CL
15d4da91f5ffec66214af0cbd8a654d26c3eadb30f6e45a0bab1a6f9f6cc89cc
package programming.techie.springredditclone.repository; import java.util.Optional; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; import programming.techie.springredditclone.model.Post; import programming.techie.springredditclone.model.User; ...
Java
CL
3c3265da752a32e76d21cfcbe82b2a3be99f0be22528cf9a0852d87d9a1ca6e9
/** * Alipay.com Inc. * Copyright (c) 2004-2014 All Rights Reserved. */ package org.footoo.server.configureServerFinder; import java.util.ArrayList; import java.util.List; import org.footoo.common.http.HttpMethodEnum; import org.footoo.common.http.SimpleHttpClient; import org.footoo.common.log.Logger; import org.f...
Java
CL
372fc8046d6344125e044dafebd87a647ca98592dd3c184f608b36b0d73cf6a2
package se.citerus.cqrs.bookstore.ordercontext.infrastructure; import org.junit.Test; import se.citerus.cqrs.bookstore.ordercontext.order.OrderId; import se.citerus.cqrs.bookstore.ordercontext.query.orderlist.OrderLineProjection; import se.citerus.cqrs.bookstore.ordercontext.query.orderlist.OrderProjection; import se....
Java
CL
76192dfc9c4a0f6ce308f74b6c845fa8baca4aacd1fa2b39c6635e3cb5141772
package com.blackey.finance.component.service; import com.blackey.finance.component.domain.UserRequireLike; import com.blackey.finance.dto.form.AddOrCancelFollowForm; import com.blackey.finance.global.constants.AddCancelEnum; import com.blackey.mybatis.service.BaseService; import com.blackey.mybatis.utils.PageUtils; ...
Java
CL
115a4d43d77a1814036fa80ad99294b72696d44c19c91284e97a9dc8f278514c
/* * Copyright 2019 NUROX Ltd. * * Licensed under the NUROX Ltd Software License (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.looseboxes.com/legal/licenses/software.html * * Unless required by applicable law or...
Java
CL
834594dded0d27904afae4c181d877240ca7edb061534bf73497cd4255e9cf76
package org.broadinstitute.hellbender.tools.copynumber; import htsjdk.samtools.SAMSequenceDictionary; import org.apache.commons.math3.linear.Array2DRowRealMatrix; import org.apache.commons.math3.linear.RealMatrix; import org.apache.logging.log4j.Logger; import org.apache.spark.api.java.JavaSparkContext; import org.bro...
Java
CL
7d7906040feab56ed7fdd2687a107fb0cdbdb372c4da15dabacfcbaa31a773a8
package com.zyw.horrarndoo.sdk.utils; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.view.View; /** * Created by Horrarndoo on 2017/9/1. * <p> * 资源工具类-加载资源文件 */ public class ResourcesUtils { /** * 获取strings.xml资源文件字符串 * * @param id 资源文件id ...
Java
CL
4f2fd4d42193d88ca08e0740da27ae7fe110a4618f7f29e76e1ec04f1b451c95
package com.onboarding.abstractfactory.factory; import org.springframework.context.annotation.Description; import com.onboarding.abstractfactory.services.DatabaseService; @Description(value = "Product Factory - Creational Factory.") public interface AbstractDataBaseFactory { DatabaseService createDatabase(); }...
Java
CL
c09106cb7a36b1a5c9a62e7fc596ece483638d0c213f3b68f72f2d5ebf61ccb7
package com.vungle.warren.persistence; import android.content.Context; import android.content.SharedPreferences; import android.os.Build; import android.os.Environment; import android.os.FileObserver; import android.os.StatFs; import androidx.core.content.C0769b; import com.ogury.p159cm.OguryChoiceManager; import java...
Java
CL
7b5d27ba6efefef3300d8c881fcbf4d24ac9fdb9e8c1c6808b4c9f633a35e8a1
package com.zzw.teacher.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import lombok.Data; import lombok.EqualsAndHashCode; /** * //功...
Java
CL
e08fd16f13037a4906f4b6de8782a24cf501b6c95e02880379a370f0b343b236
package com.viber.voip.analytics.story.b.a; final class i implements Runnable { private final h a; private final h.a b; i(h arg1, h.a arg2) { } public void run() { } } /* Location: E:\Study\Tools\apktool2_2\dex2jar-0.0.9.15\classes_viber_3_dex2jar.jar * Qualified Name:...
Java
CL
7bf04a256028febd388e19717c9970fabdbee27d681f0f723c42231d827d3e45
package com.hyh.fyp.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.os.Handler; import android.support.annotation.IntDef; import android.view.Gravity; import android.view.MotionEvent; import android.view.View; import a...
Java
CL
d3b4d537d2d1ce445eb39d0f40a0017c5f92474b96e1f5fc373a6b07e0e145ce
package com.dice.stepdefs; import com.dice.serenitysteps.SleepInSerenitySteps; import cucumber.api.java.en.And; import cucumber.api.java.en.Given; import cucumber.api.java.en.Then; import net.thucydides.core.annotations.Steps; import org.apache.log4j.Logger; public class SleepInStepDef { final static Logger logge...
Java
CL
b85f0f66384b4093342fc2df10cab7b3e4e1bbb1ab0cb6f1f0e8c0350c973061
package com.lambdaschool.orders.controllers; import com.lambdaschool.orders.models.Agent; import com.lambdaschool.orders.services.AgentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springfra...
Java
CL
55084dbc9ac2aa231e900d41979456d9a739cc56559a2f6f2a3bb990a0613212
package au.com.dius.resilience.test.unit.location; import au.com.dius.resilience.location.LocationBroadcaster; import au.com.dius.resilience.location.StopLocatingRunnable; import au.com.dius.resilience.test.unit.utils.ResilienceTestRunner; import au.com.dius.resilience.test.unit.utils.TestHelper; import org.jun...
Java
CL
1ef02eed2674445370be2adb09b6b83dfa2ae927982a2d645157e3fe540f8f3b
package per.itachi.test.gallery; import javax.swing.JFrame; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import javax.swing.WindowConstants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationContext; import org.springf...
Java
CL
96eaece878885f688e5571cc6a4da855109b636c2acf206182cad4d096d1f603
package org.azure.samplequeue; import java.util.Arrays; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import com.azure.messaging.servicebus.ServiceBusClientBuilder; import com.azure.messaging.servicebus.ServiceBusErrorContext; import com.azure.messaging.servi...
Java
CL
d3ed370ed5552f5e0893147cc5f5a2774697a20b63fa95e96bec579d547dac39
package com.spontzoug.server.controller; import com.spontzoug.server.redis.IInvitationService; import com.spontzoug.server.http.*; import com.spontzoug.server.model.Business; import com.spontzoug.server.model.PaymentMethod; import com.spontzoug.server.annotation.*; import com.spontzoug.server.redis.ISseService; impo...
Java
CL
9701bde194e1d2dadad22fc15da9a8831c88607f8919039795d895161cc6c8e8
package com.study.thinking.in.spring.resource; import com.study.thinking.in.spring.resource.util.ResourceUtils; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.core.io.Resource; import javax.annotat...
Java
CL
3bb6e300cfefbff848e569fe792b9ed44e66d56abeddbc955a2ecf1ae683b89a
package com.project.react_spring.Repository; import com.project.react_spring.Models.Accounts; import com.project.react_spring.Models.Sample; import org.springframework.data.mongodb.repository.MongoRepository; import org.springframework.stereotype.Component; @Component public interface SampleRepository extends MongoRe...
Java
CL
9758c8fe5cb18a3a849d77d07a7cbda798aaf994ed29c9755c39cd422b42c347
package mage.cards.h; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.effects.common.AttachEffect; import mage.abilities.effects.common.DrawDiscardControllerEffe...
Java
CL
df5573be14f3327bcfa0d4da1bba40abf8e4c1c275f55cac3c6355e3eeb8f38d
package org.lukas.javach; import org.lukas.javach.document.*; import org.lukas.javach.editor.Editor; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.attribute.BasicFileAttribute...
Java
CL
0c0b5d86af4642c1312c1ed4cebbc1d1f0bb3c2349e7e874b7ffb624c68aaa2a
package cn.e3mall.controller; import cn.e3mall.common.pojo.E3Result; import cn.e3mall.common.pojo.TreeNode; import cn.e3mall.content.service.ContentCatService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation...
Java
CL
9de9b099d3a732e6ebae716fa59e0e001be10d9855704f879de581a28f1f9b44
/* The MIT License (MIT) Copyright (c) 2013 yinzara 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, modify, merge,...
Java
CL
f55a4b0d46111499cc205d01aa1339f3b468ef59410e0127ba1a5163b042b582
package com.anisat.authendication.jwtauth.controller; import com.anisat.authendication.jwtauth.controller.model.UserModel; import com.anisat.authendication.jwtauth.service.JwtUserDetailsService; import com.anisat.authendication.jwtauth.service.convertor.JwtServiceConvertor; import com.anisat.authendication.jwtauth.ser...
Java
CL
c4ae570e8373972b07a8b9e7a8e63947ce2bce3a48d1893fa5ba178ec04b5fba
package info.u_team.u_team_core.impl; import java.util.Optional; import java.util.function.BiConsumer; import java.util.function.Function; import java.util.function.Predicate; import info.u_team.u_team_core.api.network.NetworkContext; import info.u_team.u_team_core.api.network.NetworkEnvironment; import info.u_team.u...
Java
CL
fbfdd30557203aa395c447d986b6958e1862e29fd84c52d6f2e958c22e61e35b
package com.visni.smartchannelling.dao; import java.util.List; import org.hibernate.Criteria; import org.hibernate.SessionFactory; import org.hibernate.criterion.Order; import org.hibernate.criterion.Projections; import org.hibernate.criterion.Property; import org.hibernate.criterion.Restrictions; import or...
Java
CL
0ad611c05634a623c08418abf823b2f260e2c4aa55d181ca4fab7b1e8853c358
/* * Copyright (C) 2018. OpenLattice, Inc. * * This program 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 * (at your option) any later version. * * This program is...
Java
CL
378b579a85d5911c6e9b4339b032805c63e974db3048c42b62a1682325a805fc
/* * Copyright 2021 Red Hat, 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 agreed to ...
Java
CL
6e38401032bf080a2b55c468399df4527269c08a1a1d80bcd9b4a7bc82e4ccd6
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.communication.phonenumbers.siprouting; import com.azure.communication.phonenumbers.siprouting.models.SipTrunk; import com.azure.communication.phonenumbers.siprouting.models.SipTrunkRoute; import com.azure....
Java
CL
be443782d80b06f2e49362e7107df36e59773581d6de93ddc74040017e49ac0a
/* * #%L * share-po * %% * Copyright (C) 2005 - 2016 Alfresco Software Limited * %% * This file is part of the Alfresco software. * If the software was purchased under a paid Alfresco license, the terms of * the paid license agreement will prevail. Otherwise, the software is * provided under the following ...
Java
CL
8ead57c70dde107da9d1fca67ac113b51ab974b87f26b5ba5ddbf262a0437229
package com.example.android.myexpensemanager; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.Handler; import android.speech.RecognitionListener; import android.speech.RecognizerIntent; import android.speech.SpeechRecognizer;...
Java
CL
ae95606b1155919884590bfa350da1d3073e9f990a85b01dba9de551844e2eec
/* * Copyright 2021 - 2022 Anton Tananaev (anton@traccar.org) * * 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...
Java
CL
b12301b8d0312fef316a27f82a2b2d3f6dca85d7b71aedfa0966b31554ecd01d
package sa.elm.ob.scm.event; import javax.enterprise.event.Observes; import org.apache.log4j.Logger; import org.openbravo.base.exception.OBException; import org.openbravo.base.model.Entity; import org.openbravo.base.model.ModelProvider; import org.openbravo.base.model.Property; import org.openbravo.base.provider.OBPr...
Java
CL
e5393448666ccd05b5152eb08a970f94830bf92aec741ce10d37ab3d0cf6ed42
package com.argo.bukkit.util; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import net.milkbowl.vault.permission.Permission; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import org.bukkit.command.CommandSender; import org.bukkit.comm...
Java
CL
61a1800d8bb57dfc1ffe1f28f60b83939c020bdf806d01ac59badae51149b148
/* * 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 app...
Java
CL
1d7e94c434c9901200f58117953654a9249d3fba6c73ec4d54dd63a3a87c8e2a
package com.github.animelist.animelist.controller; import com.github.animelist.animelist.model.JwtUserDetails; import com.github.animelist.animelist.model.input.ContinuousRatingSystemInput; import com.github.animelist.animelist.model.input.DiscreteRatingSystemInput; import com.github.animelist.animelist.model.input.Ra...
Java
CL
c1c1059162f11e6bddbc6f9e3364f5fa4125c3b4a0403b2a62c914a1f57e5ff3
package com.cmall.groupcenter.job; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang3.time.DateUtils; import org.quartz.JobExecutionContext; import com.srnpr.xmassystem.helper.PlusHelperNotice; im...
Java
CL
c5dde79b42b546c275cceab71eb11dba35272c008cf45ba46a974f2942c0b561
package com.spc.schedule.storage.ctr; import com.spc.common.CountProxyHelper; import com.spc.common.LoggerCountRecoverManager; import com.spc.common.LoggerRecoverManager; import com.spc.schedule.storage.bean.HandleResult; import com.spc.schedule.storage.bean.LogCountInfo; import com.spc.schedule.storage.bean.LogInfo; ...
Java
CL
a399d9bcfa146e393844c28ae735cbd68b6aff564209dfec42d577de3a1bc1b3
package org.csstudio.utility.toolbox.view; import org.csstudio.utility.toolbox.actions.OpenStoreEditorAction; import org.csstudio.utility.toolbox.entities.Lager; import org.csstudio.utility.toolbox.framework.controller.CrudController; import org.csstudio.utility.toolbox.framework.template.AbstractCrudEditorPartTemplat...
Java
CL
0116d92355d682f26b64dae5f034822455368e8a360c1f902825a1ea78014057
package com.wmd.kroplayer.mvp.ui.activity; import android.content.Intent; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import androidx.annotation.Nullable; import androidx.cardvie...
Java
CL
3589e8f651ea46cf94239e25f584845afc684d439992b145f990f0064c84f370
package eu.opertusmundi.web.controller.action; import java.time.ZonedDateTime; import java.util.UUID; import org.springframework.http.MediaType; import org.springframework.security.access.annotation.Secured; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.Path...
Java
CL
b3e449ebe8b9317c1cdc48077e64f305cd3f511a50a27b26618ce83cf1ebb042
package org.neatutils.collections.immutable; import java.util.Collection; import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import java.util.Set; import java.util.stream.Stream; import java.util.stream.StreamSupport; public interface ImmutableMap<K, V> extends Iterable<Entry<K, V>> { publ...
Java
CL
3c1c889f826f944a1ae57797dbb0da77fe6ce6bd16a60d9f335141d73fb8dc4e
/* * Copyright (c) 2017-present, CV4J 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/LICENSE-2.0 * * Unless required by applicable l...
Java
CL
aeab085145d083854c4b42f87444859aaeed8f71afcd005a3f4d9c69b83c10cc
// Copyright (c) 2000, 2001, 2006 Per M.A. Bothner and Brainfood Inc. // This is free software; for terms and warranty disclaimer see ./COPYING. package gnu.lists; /** A Consumer is something that will accept data (output), * and do something with it. * A consumer is like a SAX DocumentHandler or a PrintWriter, ...
Java
CL
5158d3f137c847f01236df97ff29121fdcacea454e77dbea12bf2f4a4f0f8376
package P1_iud.model; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.security.InvalidKeyException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.sql.Connection; import java.sql.PreparedStatement; ...
Java
CL
91bf0f729d3283146386183bc8c38b14b77049f5550e9b64307ba51045ac3703
package com.shi.utils; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import java.sql.SQLException; /** * @author 千文sea * @create 2020-09-18 10:33 * * 事务管理相关的工具类,它包含...
Java
CL
fdf356bdc8e94ec806a2aa8ee08608f89fc83ec55dbdb782c0047d4f0a2a83c9
package com.example.apppcmarcet.repository; import com.example.apppcmarcet.entity.Property; import com.example.apppcmarcet.projection.PropertyProjection; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; @RepositoryRestResource(p...
Java
CL
0f6dfaddc8ae7e5f9d89b5b4c20f9c5a7909f8b532ffe9fa8060ba2bd629f7ea
/* * This file is generated by jOOQ. */ package generated.db.tables; import generated.db.Code4good; import generated.db.Keys; import generated.db.tables.records.QuizParticipantsRecord; import java.util.Arrays; import java.util.List; import javax.annotation.Generated; import org.jooq.Field; import org.jooq.Identit...
Java
CL
c8e0c7b1643bac0e483a171f0164a39bf345375aa473e9fb82b04b9bbf39c67d
package org.limewire.core.impl.mojito; import org.limewire.core.api.mojito.MojitoManager; import com.google.inject.AbstractModule; /** * Guice module to configure Mojito API for the mock core. */ public class MockMojitoModule extends AbstractModule { /** * Configures Mojito API for the mock core. ...
Java
CL
46799ebe962864420958880e669d413a71361bffcc83555cba7f56a234b03c76
/* * Copyright 2007-2010 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 applica...
Java
CL
7f7a380384985ad350c87d281f7d7f17d1ef10f6fd6b7c7c734824f1d6e98e09
/* * The Fascinator - Plugin - Harvester - SKOS * Copyright (C) 2010-2011 University of Southern Queensland * * This program 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 2 of the Lice...
Java
CL
2de4984a1ded639e9bfb82170207445497e656bf0f1aa3516ec0a9da904f7151
package br.com.auster.vivo.billcheckout.cache; import java.util.List; /** * An interface for DataBarn service methods * * @author etirelli */ public interface DataBarnInterestFeeServices { /*** * Retunrs a List of InterestFeePenalty objects representing each * occurrency of late payment fee...
Java
CL
c83f8bdf92eb829d8caa5da3f53cdc9ac6caed864ac7d26804f1942edc94e9e0
package hu.webuni.totinistvan.logistics.security; import hu.webuni.totinistvan.logistics.model.dto.LoginDto; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.authentication.UsernamePasswordAuthen...
Java
CL
81c4e6ab617f2b9de5bc8d02f519a1a29b96b22b0ecfa72f5f73a747d4005725
package com.openkm.frontend.client.service; import com.google.gwt.core.client.GWT; import com.google.gwt.core.client.JsArrayString; import com.google.gwt.user.client.rpc.impl.TypeHandler; import java.util.HashMap; import java.util.Map; public class OKMNoteService_TypeSerializer extends com.google.gwt.user.client.rpc....
Java
CL
4cda179782559366189b62db5c5a8b5eb5f27ce457fd94c01d6e4140e4d8491d
package com.evolveum.midpoint.studio.action; import com.evolveum.midpoint.studio.action.task.DiffLocalTask; import com.evolveum.midpoint.studio.impl.Environment; import com.evolveum.midpoint.studio.util.MidPointUtils; import com.intellij.icons.AllIcons; import com.intellij.openapi.actionSystem.AnActionEvent; import co...
Java
CL
5a3580c87dbe1750eb334ab8ef57c069e5c97e55984783f3a21b75f79609a50c
package com.arithmetic.features.datastructure.sort; import org.junit.Test; import java.util.Arrays; /** * 基数排序 * * 以空间换时间,稳定排序算法,这个实现不能排序负数,需要改进才可以 * * @author alan.chen * @date 2020/5/27 11:30 PM */ public class RadixSort { private static int[] arr = {50, 3, 22, 99, 90, 567, 999, 66, 123, 9}; @T...
Java
CL
e537f19da93dec5e029c7b9b1e8e968131dd5ea51e432706416ec307367bd8d6
package net.neiquan.okhttp; import android.content.Context; import android.content.Intent; import android.os.Handler; import android.os.Looper; import android.util.Pair; import com.alibaba.fastjson.JSON; import net.neiquan.okhttp.body.BodyWrapper; import net.neiquan.okhttp.builder.UploadRequestBuilder; import net.ne...
Java
CL
59c5687dbd093c0a247678eca7e4dff5f661d7378218406acb2e8ef3f4f59ae8
package com.mygame.android.net; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.ParseException; import org.apache.http.cli...
Java
CL
f87e40e270f39b8d6b30a8126d15c90a8d7238c0c341b7da6670510d20be6ed8
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. package com.intellij.util.io; import com.intellij.util.io.FileChannelInterruptsRetryer.FileChannelIdempotentOperation; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.Co...
Java
CL
915fcff3917eb2beb82d669e352133e21a0cf97aefc727cd7ac05e8f787078c6
package com.springboot.edgeserver.filters; import java.util.Comparator; import java.util.Optional; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import reactor.core.publisher.Mono; import org.springframework.cloud.gateway.filter.GatewayFilter; import org.springframework.cloud.gateway.filter.Gat...
Java
CL
30eed46944a556a354a4969692f1be604b691d2d53424b75a460c0405133417e
package com.playtika.janusgraph.aerospike.operations; import com.playtika.janusgraph.aerospike.transaction.TransactionalOperations; import com.playtika.janusgraph.aerospike.transaction.WriteAheadLogCompleter; public interface Operations { AerospikeOperations getAerospikeOperations(); TransactionalOperations...
Java
CL
2e9035f46caa6b8d0e9a7d76b168b92d7c13b25b2d381dd73988cf6918bef193
import java.util.ArrayList; /** * Class to represent Naive Bayes * * @author Prakhar * @date 11/22/2013 * @hw 3 */ public class NaiveBayes extends Learner { NaiveBayes(DataSet trainSet) { super(trainSet); } /** * Method to print the model parameters. */ void printBasicModelParams() { int i = 0; ...
Java
CL
99fe008c5bd0400844b06e68c2d0e7bf04f4076560fad3b7e9c017f3a8118953
package com.dropbox.core.v2.sharing; import com.dropbox.core.stone.CompositeSerializer; import com.dropbox.core.stone.StoneSerializer; import com.dropbox.core.stone.StoneSerializers; import com.dropbox.core.stone.UnionSerializer; import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.c...
Java
CL
2f8c0a0deb1f190a48db7e22cefd94151110f25927accde90a137ae3a6871271
package com.beer.game.vainner.dao; import com.beer.common.utility.BaseHibernateDAO; import com.beer.game.vainner.model.GameProducerRecord; import java.util.List; import org.apache.log4j.Logger; import org.hibernate.Query; import org.hibernate.Session; import org.hibernate.criterion.Example; import org.springframewor...
Java
CL
7dd1b7224837fbaa255fe632bff97f22a840fbcfa2a6c8d3fc2e17c1aaebacf1
package org.editorconfig.settings; import com.intellij.psi.codeStyle.CodeStyleSettings; import com.intellij.psi.codeStyle.CustomCodeStyleSettings; import com.intellij.util.messages.Topic; /** * @author Dennis.Ushakov */ public class EditorConfigSettings extends CustomCodeStyleSettings { public static final Topic<...
Java
CL
78ed468e0c7ad96a7dadf93431dabc4a6cdd521c4f9116d475637b1213864ae3
package com.elm.shypr.service; import com.elm.shypr.domain.ShippingRate; import com.elm.shypr.domain.enumeration.DeliveryLocation; import com.elm.shypr.dto.ParcelDetailsDto; import com.elm.shypr.dto.ShippingRateDto; import com.elm.shypr.repository.ShippingRateRepository; import net.sf.jasperreports.engine.*; import or...
Java
CL
57075d22fd20dc5f72b3ffa17e9d865d5c9d14237e923d5c7cebddaa22edf81a
package com.tencent.mm.plugin.appbrand.ipc; import android.app.Service; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Messag...
Java
CL
910bfec8baf1a76e4ff66cfaeaf835470dfab9e3731d30101b74c9478cdbd55f
package ir.atsignsina.bookshelf.app.category; import com.fasterxml.jackson.annotation.JsonIgnore; import ir.atsignsina.bookshelf.app.book.Book; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import javax.persistence.*; import java.util.Set; @Entity @NoArgsConstructor @Getter @Setter pub...
Java
CL
05421f94a21fc6a6cf0b34c06751cbbd3eef3a72eac7b40b41d94728deea0dd8
/******************************************************************************* * @author Reika Kalseki * * Copyright 2015 * * All rights reserved. * Distribution of the software in any form is only allowed with * explicit, prior permission from the owner. ****************************************************...
Java
CL
22a3eacfc0856f87bfbafbb159436efd948cfa8b50ca03bf092e4bf4c2a23af3
/** * Copyright (c) 2014 SAP * 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 the above copyright * notice, this list of condi...
Java
CL
4af90b48393954564a452155d2075e53aaf862c08e38db4834a7804ec5fb0c90
package com.zh.android.eggrollalarmclock.service; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content...
Java
CL
dbaaba7b3cb5775f66af2049278ef838478caf1b63165a82898374dd1c9f36ba
/** * 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"); y...
Java
CL
fbd55dce7a93fb8ccd2d4cc6fa80185e728d1bd8c557d66273a440312821be00
package arouter.dawn.zju.edu.module_goods.ui.search; import android.graphics.Color; import android.os.Bundle; import androidx.core.view.MenuItemCompat; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.appcompat.widget.SearchView; import android....
Java
CL
e10a643f1b0933fd956caf035bbb384c640b1c6a04c8645f55c18ca2cb6d7f50
package io.jshift.buildah.core.commands; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; public class GlobalParametersSupport { private static final String ALSOLOGTOSTDERR = "--alsologtostderr"; ...
Java
CL
5096ff08d2dab2e5d54683fecf0c37ac898d8f228564e3779a4a6ebc7305d2a4
package com.ssm.demo.controller; import com.google.common.io.ByteStreams; import com.ssm.demo.common.MessageCode; import com.ssm.demo.common.ResultObject; import com.ssm.demo.common.Util; import com.ssm.demo.service.AttachmentService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; impo...
Java
CL
d4aae47e231d3fa3e6e59ea0212a507cd45fb438b0d7f7bcdd1d43349d4b5433
package com.katruk.web.controller.commands; import static java.util.Objects.isNull; import static java.util.Objects.nonNull; import com.katruk.entity.Period; import com.katruk.entity.Student; import com.katruk.entity.Teacher; import com.katruk.entity.User; import com.katruk.exception.ServiceException; import com.katr...
Java
CL
d7c2f86c53d1508f848031b4f41990addf864f323396264d5e18fa962d137354
package com.indeed.util.mmap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.nio.ByteBuffer; import java.nio.ByteOrder; /** @author jplaisance */ public final class DirectMemory extends AbstractMemory { private static final Logger log = LoggerFactory.getLogger(DirectMemory.class); priva...
Java
CL
3c1603bc8d38cd26412d2f0a0b20f9c6cf96cc0ab99f10c189ebc99bdd2c2e00
package com.example.localstack.consumer; import java.nio.ByteBuffer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import software.amazon.kinesis.exceptions.InvalidStateException; import software.amazon.kinesis.exceptions.ShutdownException; import software.amazon.kinesis.lifecycle.events.InitializationI...
Java
CL
1deaaa7cae87a856a64b9cf5a41fd9442872f658022a3a279e16a299a46b90e6