text stringlengths 65 6.05M | lang stringclasses 8
values | type stringclasses 2
values | id stringlengths 64 64 |
|---|---|---|---|
// ZOA_CREATED! DO NOT EDIT IT! --
/*
* Copyright 2009-2012 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... | Java | CL | a46a18c2bf80328d847af241de95e96b8d92d44ed10465ddcb8bdbc2808398de |
package ca.mec.productimage.dao;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anyString;
import org.json.JSONException;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Inject... | Java | CL | 4033d0aa7a3d587c3849344dcbbd1fc4952f88f5c692385a48570ce97be58621 |
package controllers;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.EntityTransaction;
import org.joda.time.DateTime;
import com.google.gson.Gson;
import messages.Messages;
... | Java | CL | 3a7c3269786944817621cf7feff2005ba0bfe581ad8d0dc7d5aec822f5289b60 |
package payments;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.http.MediaType;
import org.springframework.http.converter.HttpMessage... | Java | CL | 4a5772f9c40ad168d09db4284e1a0e53712c8e33be11affed613058a8e8d2d4e |
package kotlinx.coroutines.flow;
import kotlin.Metadata;
import kotlin.jvm.functions.Function2;
@Metadata(mo51341bv = {1, 0, 3}, mo51342d1 = {"\u0000\u0019\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002*\u0001\u0000\b\n\u0018\u00002\b\u0012\u0004\u0012\u00028\u0000... | Java | CL | 16a8b7015ee2045262e1f9c5cf27cfe6ad89f3f13e992515659d47de91785c6a |
package com.rudilucas.ideas.security.ldap;
import static java.util.Collections.singletonList;
import javax.naming.InvalidNameException;
import javax.naming.ldap.LdapName;
import org.springframework.ldap.core.DirContextAdapter;
import org.springframework.ldap.core.DirContextOperations;
import org.springframework.secu... | Java | CL | 31923bd181596db8cf3f6c925572ce4ab39b2d2e7d36c53bbc1190f6ff60af3d |
package hb.legsandbuttocksworkout.homeworkout.gym.buttlegs.buttlegspro.buttlegschallenge.setting;
import android.app.Activity;
import android.content.DialogInterface;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewCo... | Java | CL | 582b1e8ed9db988df544152397bfd5e5bdd5ff6f17bb0d369ed676952cfa07de |
package com.loopme;
import android.app.Activity;
import android.view.View;
import android.widget.FrameLayout;
import com.loopme.ad.AdSpotDimensions;
import com.loopme.ad.LoopMeAd;
import com.loopme.common.LoopMeError;
import com.loopme.controllers.display.DisplayControllerLoopMe;
import com.loopme.time.TimersType;
im... | Java | CL | e0fb5caa5f9a8ff0ce632e49b26aaac961cd8056c92a44a9a97a465f9e0562ff |
package com.ado.trader.entities;
import com.ado.trader.entities.components.Area;
import com.ado.trader.entities.components.Name;
import com.ado.trader.entities.components.Position;
import com.ado.trader.entities.components.SerializableComponent;
import com.ado.trader.entities.components.WallSprite;
import com.a... | Java | CL | af77aaa793dd1b1ecbb27ca22b17e931b8a364ff0596722f61c0ad3e3fbed747 |
// Portions Copyright (c) 2006 - 2008, Clark & Parsia, LLC. <http://www.clarkparsia.com>
// Clark & Parsia, LLC parts of this source code are available under the terms of the Affero General Public License v3.
//
// Please see LICENSE.txt for full license terms, including the availability of proprietary exceptions.
// Q... | Java | CL | 1f960d9661306e932723531412458c03c75e91f9b6cd5839632215c3b18260c6 |
package model.decorators;
import helpers.Gensim;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parse... | Java | CL | 217984487964744579c72b6a067129a9fed3af283beb026fcc132bc2791da97a |
/*
This file is part of Volantis Mobility Server.
Volantis Mobility Server 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.
Volantis Mobili... | Java | CL | dea6fcfa8dae8d81202a2d729254e1e2dce4a9d71fe320a874ba67f8114bc349 |
package com.mathparser.ast.generalnodes;
import com.mathparser.ast.Node;
import com.mathparser.ast.Type;
import com.mathparser.ast.doublenodes.DoubleSubtraction;
import com.mathparser.ast.intnodes.IntSubtraction;
public class GeneralSubtraction extends BinaryGeneralNode {
/**
* Constructor for src.main.java... | Java | CL | 3d636c7aacacd65dab06f380a11369e5df0c6ee17c40176138168d114675e98e |
package ca.albertlockett.trading.trends;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.DoubleStream;
import org.ta4j.core.Bar;
import org.ta4j.core.TimeSeries;
/**
* Find supports and resistance points in a trendline
*/
public class InflectionPointFin... | Java | CL | d6489bb55c034b5b567ceeb28a5a0a1971df7ba9c6748c36278f3ccd2e4de899 |
/*
* Copyright (C) 2020 Florian Stober
*
* 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.
*
*... | Java | CL | c5f643dd255b157fc83b64971446e937c543aa0185a90de547ec3a7834863ab6 |
/*
* 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 ... | Java | CL | 57adc2dabcb4d30d7ca79b698a4931d3a7b55f16ffa7bf23a1ed1bf1f9810ab8 |
package com.example.gszzz.attendclass;
import android.app.PendingIntent;
import android.app.Service;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothManager;
import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback;
import android.bluetooth.le.ScanFilter;
im... | Java | CL | 0c1675248cc7e262a2c350a79e8c6918368b9ba28bf3dfcfd856fe2a1a490c6e |
package com.jyss.ziwei.action;
import com.jyss.ziwei.entity.ResponseResult;
import com.jyss.ziwei.entity.UserDevices;
import com.jyss.ziwei.service.UserDevicesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.an... | Java | CL | 899b15dc69207ec1cafeb06d08cc814c45f9f47749bbf0b66e9725968f10e5a9 |
package com.huhuo.cmcar.cartype;
import java.io.OutputStream;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import or... | Java | CL | 9403b8d685b9a8771e98a99765128494cc59081e84458ef7fc785e4a3d47ca8a |
/*
* 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 ... | Java | CL | f571fe7c83d8edb82d0cca3fb7800e76aedf781fb79cea490a5942a85f80a7c6 |
package edu.uams.clara.webapp.protocol.web.ajax;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.xpath.XPathExpressionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.fa... | Java | CL | 18bcee2e5798b12a34945fecfaac35ceec2fc5a967323b9bd615f2b427d12c80 |
/*
* 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 ... | Java | CL | 577327c3d72f60398b7c3a8611befd4ac33f1293c2c4494b3e9fdc9ae53c6ec2 |
package com.cloudhopper.commons.sql.proxool;
/*
* #%L
* ch-commons-sql
* %%
* Copyright (C) 2012 - 2013 Cloudhopper by Twitter
* %%
* 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
*
... | Java | CL | 151a65716c8ba559a3cae37facf44b6c260f43241f4f505cec414369cde319ad |
package ru.job4j.array;
public class BubbleSort {
/**
* @param array массив int
* метод должен сортировать массив по возрастанию
* используя метод перестановок или "пузырьковой сортировки"
* the method should sort the array in ascending order
* using the permutation or "bubble sort method... | Java | CL | 4b3981e924faf202f7a19ea55d25ddc7ff2d00473c2dd38787f3e9d8b4e3500c |
package org.sagebionetworks.bridge.services;
import java.util.Map;
import org.joda.time.DateTimeZone;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.sagebionetworks.bridge.cache.CacheProvider;
import org.sagebionetworks.bridge.models.Criteri... | Java | CL | add39b775c2ab40fd35a04f48ba45c6bc6b7d71319e46d3c4e80b5892a33e544 |
package org.ng.undp.vdms.domains.consultants;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.ng.undp.vdms.constants.MaritalStatus;
import org.ng.undp.vdms.dao.Accessor;
import org.ng.undp.vdms.dao.Filter;
import org.ng.undp.vdms.domains.constants.Sex;
import javax.persistence.*;
import jav... | Java | CL | af4ec5d1d4b3507cfe07c28811c0210aff829ce0c238fde7ad57a7deef9d5c10 |
package net.bflows.pagafatture.controller;
import static org.hamcrest.core.Is.is;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;
import static org.springframework.test.web.servlet.result.Mock... | Java | CL | 1cf1925c2d05fdc5fd78a797d4a24f8c158ce7b164a9a01e44dd63f4f810ffe2 |
package com.musiclibrary.shal.pojos;
import javax.annotation.Generated;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
@Generated("org.jsonschema2pojo")
public class ArtistImage {
@SerializedName("image_id")
@Expose
private String imageId;
@SerializedName("image_fil... | Java | CL | fa48a6dcc4f878d9b4e8bd7ab57eac57f51169e4a47e65d09b1272b882d2f7ff |
package enterprise.entity_bean_entity;
import static javax.persistence.CascadeType.ALL;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationTy... | Java | CL | c22f1f2349e3fa17aac9f3583b3dc9d84435eae27065a00568bc272e538f1b7a |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.gmu.csiss.earthcube.cyberconnector.utils;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import javax.xml.namespace.QName;
import javax.xml.soap.MessageFactory... | Java | CL | ed4e3e7de9b548b228a5844477006b622f86ea684f87eb1d417fa8bfe9621d18 |
package org.example.controller;
import org.example.data.User;
import org.example.repository.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.an... | Java | CL | b757633a0719e33c40e4596bb3013bc61920b098c7e57e7ef2d1fb1b72a517db |
package com.example.uclone;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentSender;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.... | Java | CL | d8b5ad84f864212b8d6420293dcb16d4cb7c54db0ec6f7e7dda87040d4e2691a |
package server;
import Client.ClientGUI;
import com.google.common.base.Joiner;
import com.google.common.base.Splitter;
import database.Directory;
import database.DirectoryRepository;
import database.User;
import database.UserRepository;
import library.Messages;
import network.ServerSocketThread;
import network.ServerS... | Java | CL | cd7bb3005f03fb57d91950670570ceab410814acd95e62b5e12cb9021d78bf02 |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.synapse.generated;
import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.synapse.models.GetSsisObjectMetadataR... | Java | CL | e668b71c8207d7f1cc4e4f6f0def54e37072447c04c074d854a6c8698d62139d |
package com.bis.common;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.security.SecureRandom;
import java.security.... | Java | CL | bdbeea639a2318ef99898f7899978c2de99e8c2d849d264caf09f6143b2fcaf8 |
package com.duongll.succotask.service;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.os.Build;
import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat;
import com.duongll.succotask.R;
import com.... | Java | CL | 0b3036592529286b94854e875b212fce8fba23f0da4760da0eb312d8307b5728 |
package ru.job4j.thread;
import net.jcip.annotations.GuardedBy;
import net.jcip.annotations.ThreadSafe;
import java.io.*;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.util.*;
import java.util.concurrent.*;
/**
* Class ParallelSearch реализует поиск текста в файле.
*
* @... | Java | CL | 5b5a1b49ff188dc75428ace76fe01c4be0c3fd6fcd3484d1ca1cd9e14420671f |
package pers.astlvk.acgn.dao.websitenav;
import java.util.Map;
import pers.astlvk.acgn.entity.websitenav.Website;
public interface WebsiteDao {
/**
* 分页获取website数据, param可以是map, 也可以是封装的对象。
*
* @param currPage
* @param pageSize
* @param param 可以为null,为null时需要在mybatis的映射文件中判断后再拼接sql
* @retur... | Java | CL | 2308f21c2b89212f6ba1719e536298893578f97ddacd08946180bbdb4bf05537 |
/*
* Yeti 2, NesC development in Eclipse.
* Copyright (C) 2009 ETH Zurich
*
* 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 late... | Java | CL | b14143ed4f2a28eea05f31630d740fd68ccdb38626dd07b7d31cc0cdf1916546 |
/*
* A Sinhala, Tamil and English Transliterator
*
* Copyright (c) 2010 Asankha Chamath Perera. (http://www.asankha.com). 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 Lic... | Java | CL | 089ceb94ff16d87127466358629df02e50c0b0d073b4021eb31cb797d536adfb |
import java.math.BigInteger;
import java.util.Scanner;
public class start {
static boolean flag = true;
static String filename = "", dirname = "", key = "";
static int chk = 0, ch = 0;
// static byte [] bkey;
public static void main(String[] args) {
EncDec obj = new EncDec();
Scanner chscanner = new Scanner(... | Java | CL | 6fe817b8caafbaa5225e37c8f342a3b66ceb52c65ee27ef7f181c298293974bc |
package make;
import java.util.ArrayList;
import java.util.HashSet;
/** An object containing a rule for makefile.
* @author Jason Qiu */
public class Rule {
/** My target. */
private String target;
/** My commands. */
private ArrayList<String> commandSet;
/** My prerequisites. */
private Hash... | Java | CL | 8906a294a328c503f042fb529aaa0842e12fa4a6a64a6ebf1e3aebe102aebae9 |
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.jxc.service;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.thin... | Java | CL | 03f5b0648744422eac281e3a3673918397371d72efa7c4afd9d34669a8f2f250 |
/*
* Lamblin
* Copyright 2018 Borislav Shekerov
* Licensed under Apache 2.0: https://github.com/BorislavShekerov/lamblin/blob/master/LICENSE
*/
package com.lamblin.it.client;
import com.lamblin.it.model.ResponseEntity;
import okhttp3.OkHttpClient;
import retrofit2.Call;
import retrofit2.Response;
import retrofit2... | Java | CL | b9cfb818836040e2a8c898c0ddb5af95f1fcf90a34faf5269f33278afec9a64d |
/*
* Copyright 2015-2018 The OpenZipkin Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | Java | CL | 61b8455fdb1a6b6a35f484dc3ced4812c5e373c61797bda7a4929cd9ebc918e7 |
/*
* Copyright (c) 2015-2020, www.dibo.ltd (service@dibo.ltd).
* <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>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless ... | Java | CL | bc89e31914db357258021abfa81f48c213b4422fad2632e44a3583e9d0f93923 |
// Copyright 2019 The Nomulus Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | Java | CL | f400bbe318ddc47010b4d02786eb60050c81185124c6450242870fa3ba59f521 |
package com.mbad.ninerhunt;
import java.lang.reflect.UndeclaredThrowableException;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import an... | Java | CL | 9f5b826ab5f318d79172c467fa902d026c9f05f82e94b3b57461b313fe57322a |
package com.tablecross.api.servlet;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSe... | Java | CL | b77fd750bc86b7e5666f75a2780dccbb5108d855822a209ef9125c6b84f9f474 |
package org.futuresight.clevelandrtanextbustrain;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.os.AsyncTask;
import android.os.Bundle;
import andro... | Java | CL | 2a664133209719ff3adec5fa5b52200f5492bc7ffbf7eac13e12816bd76f1e1c |
package ca.uqac.inf135.group3.tp2.crypto;
import ca.uqac.inf135.group3.tp2.model.Message;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import java.security.GeneralSecurityException;
public class AESMessage extends Message {
public static final String ALGORITHM = "AES";
public static ... | Java | CL | 18c1f279b14fb0d7bcf87a8d036d17af0638a597614985bbaa28ad0400cd714b |
package io.gridgo.connector.redis;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Optional;
import io.gridgo.connector.impl.AbstractConnector;
import io.gridgo.connector.support.annotations.ConnectorEndpoint;
import io.gridgo.connector.support.exceptions.InvalidParamException;
import io.gri... | Java | CL | 96681d6c05257df02628d77ffacc9608edeccb66dd89c47ddf6888aa75edfb0f |
package cn.shengyuan.yun.core.admin.dao;
import java.util.List;
import cn.shengyuan.basic.dao.base.BaseDao;
import cn.shengyuan.yun.core.admin.entity.MenuValue;
/**
* 菜单值持久层接口
* @Date 2014-12-30
* @author 欧志辉
* @version 1.0
*/
public interface MenuValueDao extends BaseDao<MenuValue, Long> {
/**
* 根据菜单值的名称查找... | Java | CL | c2d0a792ea8fd44b54e67272816e7ecd642a313db6f287c9f546289cd02db4ac |
package gov.nist.microanalysis.NISTMonte.Gen3;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.PrintWriter;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Set;
import j... | Java | CL | 67cf8481d6bcfc4d6b31236d3eb1c5173a1c131909b1ddfd27855b48f07b6b4e |
package py.com.sodep.mobileforms.web.controllers.scripting;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sprin... | Java | CL | 056a672efa15a3947d49218e5b7d2b090dce63a47ec5d66bd161a4b311d533e8 |
package com.android.miki.quickly.login_signup;
import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.... | Java | CL | 4fdc7f3b7c1167f5320d0364a028e89cccac8c563f93307eaa3157eb11ad42da |
package mage.cards.a;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect;
import mage.cards.CardImpl;
i... | Java | CL | f6b1db19b1c1d0f2750ead12eb99decb0e75556ae1259fd1c39ecc2ec53e776c |
package rt.intersectables;
import java.util.Iterator;
import rt.Intersectable;
import rt.Material;
import rt.Spectrum;
import rt.materials.Diffuse;
/**
* A triangle mesh. The mesh internally stores the triangles using vertex
* and index arrays. The mesh also instantiates a {@link MeshTriangle} for each triangle,
... | Java | CL | 2168565d63a8441a5a0b5b3033e50dc877a4debd661f8adee3d25aeb4ce006ff |
package com.commercetools.api.models.common;
import java.util.Arrays;
import java.util.function.Function;
import javax.annotation.Nullable;
import javax.money.*;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import io.vra... | Java | CL | 6d3a7835570ef836a9223404e4284376fd6dd2f003dd4e21783e2c3626dd713d |
// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.amazon.avod;
import android.app.Activity;
import java.util.List;
public interface MShopAmazonInstantVideo
{
public abstract vo... | Java | CL | 5455e5e9ff20b338c35f12aa8b92c38e2e61234a3753531a45b3de6d017676c4 |
package day07;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
/**
* 流
* 流是java标准的读写操作方式
* 流按功能分为:
* 输入流:
* 用来读取文件流
* 输出流:
* 用来写出文件流
*
* 流分为
* 节点流(低级流):数据明确,读写一定建立在低级流
* 上,真实负责在数据源与程序间搬运数据
* 处理流(高级流):不能独立存在(没有意义),需要建立
* 在其他流之上,对其处理,使用处理流的
* 目的在于简化读写操作
*
* java.io.FileInputStream
*... | Java | CL | 4b66c665d99bd53afe24791415df70dee8525af43b00e57861201d4df6d62665 |
package com.jukusoft.mmo.engine.shared.messages;
import com.jukusoft.vertx.serializer.SerializableObject;
import com.jukusoft.vertx.serializer.annotations.*;
import io.vertx.core.json.JsonArray;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* message which is sended from proxy ser... | Java | CL | f4ca5a3c9c5c34ef418b6679a9b298008ea4637e94b1a9affbadc9f3c2ef379e |
package test.connections.snmp;
import static org.junit.Assert.*;
import java.io.IOException;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.snmp4j.agent.mo.MOAccessImpl;
import org.snmp4j.agent.mo.MOScalar;
import org.snmp4j.smi.OID;
import org.snmp4j.smi.OctetString;
import org.s... | Java | CL | 0e29d4e1b38f19b1ee72420f4fac4cb3fda60e10737354c55ea4f48f622240b5 |
package com.transvision.trmdisconnreconn.fragments;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragm... | Java | CL | 876374c1aa91e8e1b65f0b760ae7f60a51ae49cb6e2ee8ef587ddee7ecd3eaf2 |
package com.moses.cloud.sample.controller;
import com.moses.cloud.sample.entity.User;
import com.moses.cloud.sample.feign.UserFeignClient;
import com.moses.cloud.sample.feign.UserServiceExtend;
import com.netflix.discovery.converters.Auto;
import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import c... | Java | CL | c483c00e3bd4eadab7ad4d2d72bd07374bb46aa47173c7b6655843615fb84069 |
package co.airy.core.api.communication;
import co.airy.avro.communication.Channel;
import co.airy.avro.communication.ChannelConnectionState;
import co.airy.kafka.test.KafkaTestHelper;
import co.airy.kafka.test.junit.SharedKafkaTestResource;
import co.airy.spring.core.AirySpringBootApplication;
import co.airy.spring.te... | Java | CL | 4e82b087825f965ac8f059e1245b3128fe21ee5533954025c4e3048f54f1efbe |
package pe.com.tumi.riesgo.archivo.service;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import pe.com.tumi.common.util.Constante;
import pe.com.tumi.framework.negocio.ejb.factory.EJBFactory;
import pe.com.tumi.framework.negocio.ejb.factory.E... | Java | CL | 0e84e117adaca1f1aad8623b4763ec76a650ddde738de022c2911d259d28d180 |
package com.branders.spawnermod.networking.packet;
import java.util.function.Supplier;
import com.branders.spawnermod.config.SpawnerModConfig;
import net.minecraft.network.PacketBuffer;
import net.minecraftforge.fml.network.NetworkEvent;
/**
* Config values needs to be synced from server to client
*
* @author... | Java | CL | dbe8ad281ee1cbe0998b2a49c910733405cf6326624318cabcb33c64d8f06bb2 |
//
// $Id: Piecen.java,v 1.4 2002/12/12 05:51:54 mdb Exp $
package com.samskivert.atlanti.data;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import com.threerings.presents.dobj.DSet;
/**
* A piecen is a person and a piece all rolled into one! Players can play
* a si... | Java | CL | 36c4391b927f6bbf234707e81151dea7a94c6f498e31ec09f4901369f19f46ca |
package com.vanyne.reservation.domain.config;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;
import org.springframework.data.redis.conne... | Java | CL | 71b3e370a3232712c90c34fe51a1fd7e8dbfb7bacd029ef459cf217f0ddd33fc |
package com.generic.data.services.filter;
import java.io.IOException;
import java.util.Collections;
import java.util.Enumeration;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
imp... | Java | CL | 13e80ad5aac92943cd07c1a4c7470302e37bb0b21a0da6ed498770c0bd763823 |
package modularmachines.api.modules.tools;
import modularmachines.api.modules.IModule;
import modularmachines.api.modules.ITickable;
public interface IModuleTool extends ITickable, IModule {
}
| Java | CL | 05c40742df8c9d3a98a9c38d21265ac37fd24075f4de7be613f5400a4a8230ae |
// Copyright (c) 2015-2023 Vladimir Schneider <vladimir.schneider@gmail.com> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.vladsch.md.nav.highlighter;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.colors.TextAttribut... | Java | CL | dd6c384d887e3a5a918fc0e52ba9b13f2a5e448150bfe67d46b64d91b431a514 |
package com.lib.network;
import android.annotation.SuppressLint;
import android.util.Log;
import com.lib.network.factory.NetWorkConverterFactory;
import com.lib.network.factory.NobodyConverterFactory;
import java.security.SecureRandom;
import java.security.cert.X509Certificate;
import java.util.concurrent.TimeUnit;
... | Java | CL | ae5f40d5c9f32689e671aa98b1b9240d102d63880ecfac5f5e2a17cb0c91424d |
package com.ss.week1.day1.day1_assignment;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
// Data abstraction is the process of hiding certain details and showing only essential information to the user.
// Abstraction can be achieved with either... | Java | CL | 8f883c7b2643afdb193374d36c57992d2e834c2a433ea4c40f5415296807334b |
package com.maryanto.dimas.example.controllers;
import com.maryanto.dimas.example.model.Request;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.an... | Java | CL | 9346c7bf6e5cca40d2353ea54fac4ecaded9657a3f812f98ac7f56f5aecdf47f |
package ie.cit.afd.web;
import ie.cit.afd.dao.NotificationDetailsRepository;
import ie.cit.afd.models.NotificationDetails;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import java.util.List;
i... | Java | CL | cc86560dbee717e3160cc5fa092b4745c54494a473b6e7e604375ed99981d7a0 |
package com.reporting.mocks.persistence.mongo;
import com.reporting.mocks.model.DataMarkerType;
import com.reporting.mocks.model.MarketEnv;
import com.reporting.mocks.model.PricingGroup;
import com.reporting.mocks.model.id.MarketEnvId;
import com.reporting.mocks.persistence.IMarketStore;
import java.util.Collection;
... | Java | CL | 34f4b4d1fee361f24fc137c6e86f30e0957a0d91e7f2a7932b4166ecf9ebbd7d |
package io.github.liias.monkey.ide.conf;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
import com.intellij.openapi.components.Storage;
import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetb... | Java | CL | 7fffe8f31ebd3ded2907b565b71835f9cd12b949ec63d937f3a40579b13e57a4 |
package com.onethousandprojects.appoeira.serverStuff.methods;
import android.content.Intent;
import android.graphics.Bitmap;
import android.widget.Toast;
import androidx.annotation.NonNull;
import com.onethousandprojects.appoeira.R;
import com.onethousandprojects.appoeira.commonThings.CommonMethods;
import com.oneth... | Java | CL | 89c132a57e5d94efab2d3533e9c9ce4015b7ef8e83805f52790c47d0c6edec55 |
package com.pami;
import java.lang.reflect.Method;
import android.app.Application;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.util.LruCache;
import android.view.Display;
import android.view.WindowManager;
import com.android.volley.RequestQueue... | Java | CL | 4943db373900a8540e3381c76c92c254f0ae1b8ee0dd69364335ce744740bc1e |
/*
* 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 ... | Java | CL | 99eeee5cbffc16516494c66e71311ab32ca44f727b363ca34a26dc4f7fa7b51d |
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2017 Eric Lafortune @ GuardSquare
*
* 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 F... | Java | CL | 14459f75d6dfe557274a3a5d43f287d10f393545634e7bd3cdf0eee8cefc03bd |
package com.quanroon.ysq.testtransaction;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.LocalTransactionState;
import org.apache.rocketmq.client.producer.TransactionListener;
import org.apache.rocketmq.client.producer.TransactionMQProducer;
import org.apache.... | Java | CL | 8a55218c3df2ed80d2ba66234e347a29b4f5ba0f4e6729d1ca14e88a3461bc00 |
/*
Copyright 2018 Softeam
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
di... | Java | CL | 750587672032fbb6e54c82172ea93fd9acafae232c8d9ce713ed0c76b32db751 |
package com.ntnu.wip.nabl.MVCView.Register;
import com.ntnu.wip.nabl.MVCView.IAbstractMvcView;
public interface IRegisterView extends IAbstractMvcView {
/**
* Methods which this can invoke in Listeners
*/
interface ToggleListener {
/**
* Project toggle button pressed
*/
... | Java | CL | 1ef4189f5ff72ad7b9166ede6587f2517381bdfff93422f2b92910f858c6b9f1 |
package com.imfbp.rz.util;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import... | Java | CL | 97afeede2928e3fa0e73e8a26eae837060ced17ac841738088d2dd0e7799d17b |
package com.cjwsjy.gis.util;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetSocketAddress;
import java.net.Proxy;
import java.net.URL;
import java.net.URLConnection;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import java.uti... | Java | CL | 18df9d710b2513bdfd9952b86ffd1a7d5ce5b0a6f6d7356537246572ca87b84e |
package uk.ac.soton.ecs.mobilesensors.sensor.maxsum;
import maxSumController.discrete.DiscreteVariable;
import uk.ac.soton.ecs.mobilesensors.layout.Location;
import uk.ac.soton.ecs.mobilesensors.sensor.SensorID;
import uk.ac.soton.ecs.mobilesensors.sensor.maxsum.domain.MobileSensorMove;
public interface MaxSumMovemen... | Java | CL | 11b6c51777588e91ae7ed97ba2325f8b36d64744276a439faee9435221a72a1b |
package no.sysco.middleware.workshops.kafka;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
/**
*
*/
public class IssueConsumerApp {
public static void main(... | Java | CL | 99bfb6ce15cddc28494f78c56f183c4da50994673fe222c65510fa36e7249e43 |
package com.yasinyazici.riot.request.web;
import com.yasinyazici.riot.data.exceptions.DataException;
import com.yasinyazici.riot.data.exceptions.ReplyException;
import com.yasinyazici.riot.data.exceptions.WrongRequestFormatException;
import com.yasinyazici.riot.parsers.JsonDataParser;
import com.yasinyazici.riot.reque... | Java | CL | 7b5e841522bfbd3fe1730c92a3ef81696764caacc739a7cffddbec555744c112 |
/*******************************************************************************
* Copyright 2009 Robot Media SL
*
* 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... | Java | CL | aa5e0f55a87762100f2ffa4fcc13083e6e150d4fa5478c6a43d56eeb414c8e18 |
package com.webcohesion.enunciate.modules.jaxb.util;
import com.webcohesion.enunciate.modules.jaxb.EnunciateJaxbContext;
import com.webcohesion.enunciate.modules.jaxb.model.*;
import com.webcohesion.enunciate.modules.jaxb.model.types.MapXmlType;
import com.webcohesion.enunciate.modules.jaxb.model.types.XmlClassType;
i... | Java | CL | d107945a7543c15b42a6de4129fec18cba19e1dba7a8c55f9b15a99682ebd473 |
package controller.app22a;
import app21a.domain.Product;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.validation... | Java | CL | 119e579afb64e59b7c9b6a0e8fafca8499c1ccc98a3523f7c94f3cb7a875569a |
package br.com.casadocodigo.controller;
import br.com.casadocodigo.controller.request.BookRequest;
import br.com.casadocodigo.controller.response.BookResponse;
import br.com.casadocodigo.controller.response.BookResponseDetail;
import br.com.casadocodigo.model.Book;
import br.com.casadocodigo.repository.BookRepository;... | Java | CL | 64615dc1de8279b91455e01333df155524262ef6db9eada8ea3693958aeaa556 |
package com.test.dpg.service;
import java.io.FileNotFoundException;
import java.util.List;
import com.test.dpg.models.EventDetails;
public interface EventService {
/**
* Process all events from provided log file and store them in db
*
* @param fileName
* @return All events after the operation
* @throws ... | Java | CL | ef113920ee107031a0e6b31c18272c6165910d881cb83cbb96188b5389dabdea |
package com.lachesis.mnis.core.bodysign.entity;
import java.util.Date;
/**
* 注意:每个体征可以输入正常值,也可以输入特殊值(拒测等)和补充说明(说明体温是腋温等)
* <ul>
* <li>itemName - 项目的名称,如体温</li>
* <li>itemCode - 项目的编码,如temperature</li>
* <li>itemValue - 项目的正常数字取值, 如37</li>
* <li>measureNoteName - 测量说明,如腋温,外出等。当为外出一类的说明是itemvalue为空</li>
* <li>m... | Java | CL | a26af2b0df7b71eee16c934b0a09af21652943f2aeaa79c85df50e53a393c383 |
package structures;
import java.util.ArrayList;
/**
* Encapsulates an interval tree.
*
* @author runb-cs112
*/
public class IntervalTree {
/**
* The root of the interval tree
*/
IntervalTreeNode root;
/**
* Constructs entire interval tree from set of input intervals. Constructing the tree
... | Java | CL | 977c92c1b07108b072e09681c0601eb20711793a50132da4b76d53e381d907df |
package com.capgemini.fms.controller;
import java.util.List;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.data.web.PageableDefault;
import org.springframework.http.HttpSt... | Java | CL | ce0c7410b6a566c22d666464f523d13d5eb38dff2d58f1a64e95381583aba57d |
package com.nicolasmarcosti.cursomc.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.nicolasmarcosti.cursomc.domain.Produto;
//Declaração do repositório, com JpaRepository, que por sua vez dependerá da classe Produto para o devid... | Java | CL | 980004e5f90c83d14130990e0d5c01f22d604b3070d730d4669aa951b14cd16e |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.