text stringlengths 7 995k |
|---|
package com.github.ibole.infrastructure.security.jwt;
import com.google.common.collect.Lists;
import java.util.List;
/*********************************************************************************************.
*
*
* <p>Copyright 2016, iBole Inc. All rights reserved.
*
* <p></p>
**************************... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.systemtest;
import io.fabric8.kubernetes.api.model.Container;
import io.fabric8.kubernetes.api.model.EnvVar;
import io.strimzi.api.kafka.model.EntityOperatorJvmO... |
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
/*
* 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.
*/
import static org.testng.Assert.*;
import org.testng.annotations.Test;
/**
*
* @author swadnerkar
*/
public class PlacingParenthes... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.thinkaurelius.titan.diskstorage.cassandra.astyanax;
import com.google.common.base.Preconditions;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableMap;
import com.netflix.astyanax.AstyanaxContext;
import com.netflix.astyanax.Cluster;
import com.netflix.astyanax.ColumnListMut... |
package ai.harmony.ravel.compiler;
/**
* Created by gcampagn on 1/20/17.
*/
public class CompileError {
public enum Severity {
INFO,
ERROR,
WARNING,
FATAL,
}
private final SourceLocation location;
private final Severity severity;
private final String message;
... |
/*
* 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package at.tuwien.ldlab.statspace.sparql;
import java.io.File;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging... |
package org.apache.sftp.protocol;
public interface Request<T, S extends Response<S>> extends PacketData<T> {
public Class<S> expectedResponseType();
} |
package uk.gov.hmcts.ccd.domain.service.aggregated;
import com.fasterxml.jackson.databind.JsonNode;
import java.util.List;
import java.util.Map;
import org.assertj.core.util.Lists;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.mockito.I... |
/*
* Copyright 2020, Yahoo Inc.
* Licensed under the terms of the Apache License, Version 2.0.
* See the LICENSE file associated with the project for terms.
*/
package com.yahoo.bullet.rest.common;
import org.springframework.http.HttpStatus;
/**
* This enum encapsulates the various metrics and statuses that v... |
/*
* Copyright (c) 2018, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
package jp.gr.java_conf.daisy.ajax_mutator.mutatable;
import org.mozilla.javascript.ast.AstNode;
public class DOMCloning extends Mutatable {
private final AstNode targetNode;
public DOMCloning(AstNode node, AstNode targetNode) {
super(node);
this.targetNode = targetNode;
}
public Ast... |
package factionConfiguration;
public class ForPopulationBuilding extends Patron{
private int population;
public ForPopulationBuilding(int hp, int age, String description, int sightRange, int cost, int population) {
super(hp, age, description, hp, sightRange, cost);
this.population = population;
}
public ... |
package org.monarchinitiative.svart;
/**
* Position with a confidence level expressed using a {@link ConfidenceInterval}.
*
* @author Jules Jacobsen <j.jacobsen@qmul.ac.uk>
* @author Daniel Danis <daniel.danis@jax.org>
*/
public interface Position extends Comparable<Position> {
/**
* Creates a new {@lin... |
package org.knowm.xchange.utils.nonce;
import java.util.concurrent.atomic.AtomicLong;
import si.mazi.rescu.SynchronizedValueFactory;
public class AtomicLongIncrementalTime2013NonceFactory implements SynchronizedValueFactory<Long> {
private static final long START_MILLIS =
1356998400000L; // Jan 1st, 2013 in ... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distribute... |
package io.shrtr.lambda;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Optional;
import io.shrtr.server.Persister;
import io.shrtr.server.PersisterFactory;
public... |
package uk.ac.ebi.ep.comparisonservice.model;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
* @author joseph
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Molecule {
private List<Compound> cofactor... |
package com.lts.core.constant;
/**
* @author Robert HG (254963746@qq.com) on 5/11/15.
*/
public interface EcTopic {
// 工作线程变化
String WORK_THREAD_CHANGE = "WORK_THREAD_CHANGE";
// 节点启用
String NODE_ENABLE = "NODE_ENABLE";
// 节点禁用
String NODE_DISABLE = "NODE_DISABLE";
// 没有可用的JobTracker了
... |
package tetrismina.client.ui.game;
public enum Block {
T(3, 2, new byte[][] { { 1, 1, 1 }, { 0, 1, 0 } }), L(2, 3, new byte[][] {
{ 1, 0 }, { 1, 0 }, { 1, 1 } }), I(1, 4, new byte[][] { { 1 },
{ 1 }, { 1 }, { 1 } }), TIAN(2, 2, new byte[][] { { 1, 1 },
{ 1, 1 } }), AL(2, 3, new byte[][] { { 0, 1 }, { 0, 1 },... |
/**
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose eith... |
package building.types.specific;
import static building.types.abstractions.SuperType.DATA_TYPE;
import static building.types.abstractions.SuperType.VAL_HOLDER_TYPE;
import static building.types.specific.BuilderType.OPEN_BLOCK;
import static building.types.specific.DynamicType.NAME;
import static building.types.specifi... |
package com.riiablo.ai;
import com.artemis.ComponentMapper;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.InputEvent;
import com.badlogic.gdx.scenes.scene2d.utils.ClickListener;
import com.badlogic.gdx.utils.IntSet;
imp... |
/*
* Zorbage: an algebraic data hierarchy for use in numeric processing.
*
* Copyright (c) 2016-2021 Barry DeZonia 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 so... |
package com.freddy.kulachat.model.user;
import com.freddy.kulachat.contract.user.CompleteInfoContract;
import com.freddy.kulachat.contract.user.LoginContract;
import com.freddy.kulachat.entity.User;
import com.freddy.kulachat.model.BaseModel;
import com.freddy.kulachat.net.config.NetworkConfig;
import com.freddy.kulac... |
package com.flightbooking.ws.FlightBookingService.BookingTicket;
import java.sql.Connection;
import org.camunda.bpm.engine.delegate.DelegateExecution;
import org.camunda.bpm.engine.delegate.JavaDelegate;
import com.flightbooking.beans.Booking;
import com.flightbooking.beans.Flight;
import com.flightbooking.conn.Conn... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package fr.adrienbrault.idea.symfony2plugin.stubs.indexes;
import com.intellij.openapi.vfs.VfsUtil;
import com.intellij.psi.PsiFile;
import com.intellij.util.indexing.*;
import com.intellij.util.io.DataExternalizer;
import com.intellij.util.io.EnumeratorStringDescriptor;
import com.intellij.util.io.KeyDescriptor;
impo... |
/*
Here is how the messages will be encrypted: First, they will be translated into their ASCII values. Then, each ASCII value will be split into four integer parts. Finally, the middle two values of each section of four will be switched with the adjacent ones. So, the word <dirt> is encrypted in this way:
1) Transla... |
package me.ele.jarch.athena.sql;
import com.github.mpjct.jmpjct.mysql.proto.Handshake;
public class CmdHandshakeFake extends OnePacketCommand {
public Handshake handshake;
private final long connectionId;
public CmdHandshakeFake(long connectionId) {
super(new byte[0]);
this.connectionId ... |
package com.spring.aspect;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
/**
* @创建人 lixiangnan
* @创建时间 2020/1/6
* @描述
*/
@Aspect
public class AspectJTest {
@Pointcut("execution(* *.test(..))")
public void test(){}
@Before("test()")
public void beforeTest(){
System.out.... |
/**
* This class is generated by jOOQ
*/
package jdblender.jooq.db.information_schema.tables;
import javax.annotation.Generated;
import jdblender.jooq.db.information_schema.InformationSchema;
import jdblender.jooq.db.information_schema.tables.records.FunctionAliasesRecord;
import org.jooq.Field;
import org.jooq.S... |
/*
* 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.nexuslink.alphrye.api;
import com.nexuslink.alphrye.model.HeWeatherModel;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
* @author yuanrui
* @date 2019/5/15
*/
public interface HeWeatherApiService {
@GET("/s6/weather/now/")
Call<HeWeatherModel> nowWeather(@... |
package org.beigesoft.uml.factory.awt;
import java.awt.Graphics2D;
import java.awt.Image;
import org.beigesoft.graphic.pojo.Joint2D;
import org.beigesoft.graphic.pojo.SettingsDraw;
import org.beigesoft.graphic.service.ISrvDraw;
import org.beigesoft.uml.app.model.SettingsGraphicUml;
import org.beigesoft.uml.assembly.A... |
package com.linklab.emmanuelogunjirin.besi_c;
// Imports
import android.Manifest;
import android.annotation.SuppressLint;
import android.app.ActivityManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.cont... |
package com.guoli.guolimall.member.controller;
import java.util.Arrays;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.an... |
package com.sx4.bot.events.youtube;
import com.sx4.bot.entities.youtube.YouTubeChannel;
import com.sx4.bot.entities.youtube.YouTubeVideo;
public class YouTubeUpdateEvent extends YouTubeEvent {
private final YouTubeVideo video;
public YouTubeUpdateEvent(YouTubeChannel channel, YouTubeVideo video) {
super(channe... |
/*
* (C) Copyright IBM Corp. 2021.
*
* 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 w... |
package ru.stqa.pft.addressbook.lessons_54.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
public class HelperBase {
protected WebDriver driver;
public HelperBase(WebDriver driv... |
licensed apache software foundation asf contributor license agreements notice file distributed work additional copyright ownership asf licenses file apache license version license file compliance license copy license http apache org licenses license required applicable law agreed writing software distributed license di... |
/*
* 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 n... |
package com.alibaba.alink.params.shared.clustering;
import org.apache.flink.ml.api.misc.param.ParamInfo;
import org.apache.flink.ml.api.misc.param.ParamInfoFactory;
import org.apache.flink.ml.api.misc.param.WithParams;
public interface HasDistanceThreshold<T> extends WithParams<T> {
ParamInfo <Double> DISTANCE_THRE... |
/*
*
* Copyright 2019 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 ag... |
package com.atguigu.gmall.pms.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gmall.pms.entity.CategoryEntity;
import com.atguigu.core.bean.PageVo;
import com.atguigu.core.bean.QueryCondition;
import java.util.List;
/**
* 商品三级分类
*
* @author zhangjialing
* @email zjl@atgui... |
/**
* Copyright 2013 Canada Health Infoway, 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 applicab... |
package com.coderpath.sampletodo;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public vo... |
/**
* $RCSfile$
* $Revision: 128 $
* $Date: 2004-10-25 20:42:00 -0300 (Mon, 25 Oct 2004) $
*
* Copyright (C) 2004-2008 Jive Software. 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 co... |
package fr.cg44.plugin.socle.datacontroller;
import java.util.Map;
import java.util.TreeSet;
import java.util.regex.Pattern;
import javax.servlet.http.HttpServletRequest;
import org.apache.log4j.Logger;
import com.jalios.jcms.BasicDataController;
import com.jalios.jcms.Category;
import com.jalios.jcms.Channel;
impo... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package net.wisedragoon.morecolor.block;
import net.minecraft.world.level.storage.loot.LootContext;
import net.minecraft.world.level.material.Material;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.StairBlock... |
package org.hl7.fhir.r5.model.codesystems;
/*
* #%L
* org.hl7.fhir.r5
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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
*
* h... |
package com.switchfully.api.testbuilders;
import com.switchfully.domain.user.builders.AddressBuilder;
import com.switchfully.service.address.AddressDto;
import com.switchfully.service.address.AddressDtoBuilder;
import static com.switchfully.service.address.AddressDtoBuilder.addressDtoBuilder;
public class TestAddres... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.VehSearchItem;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.eco.mycar.veh.multiterminal.batchquery response.
*... |
/*
* Copyright 2011 Corpuslinguistic working group Humboldt University Berlin.
*
* 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
*
*... |
/*
* Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.nc2.internal.dataset.transform.vertical;
import ucar.nc2.AttributeContainer;
import ucar.nc2.NetcdfFile;
import ucar.nc2.dataset.*;
import ucar.nc2.Dimension;
i... |
/*
* 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.lisb.defname.internal;
import com.lisb.defname.DefineNames;
@DefineNames(withStaticField = true)
public class TestSource2 {
private static final String STATIC_FIELD = "static_field";
} |
/**
*
* MapInterpreter.java
* Written by: Megan (Em) Powers
*
* Acts to read in an external text file and utilize certain characters as markers for object placement.
*
*/
package GameObject;
import java.awt.*;
import java.awt.image.ImageObserver;
import java.io.BufferedReader;
import java.io.IOException;
impor... |
package com.ink_steel.inksteel.fragments;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widge... |
// *******************************************************************
// Inherit11.java By: Aiman Hanna (C) 1993 - 2017
// This program illustrates the subject of inheritance and
// access rights. This program is almost identical to
// Inherit10.java, however it works. What is the difference?
//
// Key Points:
// ... |
package com.sdl.selenium.bootstrap.button;
import com.sdl.selenium.InputData;
import com.sdl.selenium.TestBase;
import com.sdl.selenium.bootstrap.form.Form;
import com.sdl.selenium.bootstrap.form.SelectPicker;
import com.sdl.selenium.bootstrap.form.UneditableInput;
import org.openqa.selenium.Dimension;
import org.open... |
package de.uniulm.omi.cloudiator.lance.lca.container.environment;
import com.google.common.net.InetAddresses;
import de.uniulm.omi.cloudiator.lance.lca.container.ComponentInstanceId;
import java.net.InetAddress;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.slf4j.Logger;
import... |
package com.atguigu.gulimall.member.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 会员收货地址
*
* @author rnzhiw
* @email rnzhiw@qq.com
* @date 2021-09-12 13:09:46
*/
@D... |
/*
* Copyright 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
// Generated by camel-yaml-dsl-maven-plugin - do NOT edit this file!
package org.apache.camel.dsl.yaml.deserializers;
import java.lang.Override;
import java.lang.String;
import org.apache.camel.dsl.yaml.common.YamlDeserializerResolver;
import org.snakeyaml.engine.v2.api.ConstructNode;
import org.snakeyaml.engine.v2.no... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/**
* Licensed 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 m... |
package cx.rain.mc.forgemod.sinocraft.item;
import cx.rain.mc.forgemod.sinocraft.utility.ProtectedHelper;
import net.minecraft.item.SpawnEggItem;
import net.minecraft.nbt.CompoundNBT;
import net.minecraft.block.DispenserBlock;
import net.minecraft.dispenser.DefaultDispenseItemBehavior;
import net.minecraft.dispenser.... |
/*
* Copyright 2020 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 by appli... |
package com.kms.katalon.core.context.internal;
import java.io.File;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Stack;
import org.apac... |
/*
* Copyright 2011-2021 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... |
/*******************************************************************************
* Copyright 2017 Chris Deter, Arne Salveter, Sven Marquardt
*
* 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 Licens... |
/*
* Copyright (c) 2006-2011 Rogério Liesenfeld
* This file is subject to the terms of the MIT license (see LICENSE.txt).
*/
package mockit.coverage.reporting.pathCoverage;
import java.io.*;
import java.util.*;
import mockit.coverage.paths.*;
final class PathCoverageFormatter
{
private final PrintWriter output... |
package Medium;
import java.util.*;
public class HW1 {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
char[] str = sc.nextLine().toCharArray();
// System.out.println(str);
Set<Character> pat = new HashSet<>();
Set<Character> pp = new HashSet<... |
/**
* Copyright 2010 Newcastle University
*
* http://research.ncl.ac.uk/smart/
*
* 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... |
package memoizrlabs.com.a20.util8.util5.util1;
public class Ut12 {
class Foo {
public void printHey() {
System.out.println("hey");
}
}
class Foo2 {
public void printHey() {
System.out.println("hey");
}
}
class Foo3 {
public void printH... |
package com.shiveenpandita.blog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Controller
@RequestMapping(path = "/api/... |
/*
* 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 n... |
/*
Copyright 2014-2016 Intel Corporation
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, s... |
package ca.jvsh.audicy;
import java.util.Comparator;
import android.graphics.PointF;
public class PointCompare implements Comparator<PointF>
{
public int compare(final PointF a, final PointF b)
{
if (a.x < b.x)
{
return -1;
}
else if (a.x > b.x)
{
return 1;
}
else
{
return 0;
}
}
} |
package ee.pri.kaju.xmltools;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Wri... |
/*
* 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 controller.worker;
import com.jfoenix.controls.JFXTextField;
import javafx.fxml.FXML;
public class WorkerPeCeController {
@FXML
private JFXTextField wId;
@FXML
private JFXTextField wDate;
@FXML
private JFXTextField wName;
@FXML
private JFXTextField wUnit;
@FXML
priva... |
/*
* Phylontal - a tool for phylogenetic alignment of ontologies
* Copyright 2009-2011 Peter E. Midford
*
* This file is part of Phylontal.
*
* Phylontal is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Fou... |
// This is a mutant program.
// Author : ysma
package main;
import java.util.Enumeration;
import javax.swing.tree.DefaultMutableTreeNode;
public class Main
{
public static void main( java.lang.String[] args )
{
javax.swing.tree.DefaultMutableTreeNode tree = new javax.swing.tree.DefaultMutableTree... |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
package com.eprosima.fastrpc.idl.tree;
import com.eprosima.idl.parser.tree.Operation;
import com.eprosima.idl.parser.tree.Annotation;
import java.util.ArrayList;
import org.antlr.v4.runtime.Token;
public class Interface extends com.eprosima.idl.parser.tree.Interface
{
public Interface(String scopeFile, boolean i... |
package com.platform.aix.config;
import javax.sql.DataSource;
/**
* @ClassName ServiceBeanConfig
* @Description 业务Bean获取 供线程方法调用
* @Author yanl
* @Date 2020/8/31 8:54
* @Version 1.0
**/
public class ServiceBeanConfig {
public static DataSource dataSource = null;
} |
/*
* Copyright (c) 2009-2019 jMonkeyEngine
* 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... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.anjia.unidbgserver.service;
import com.anjia.unidbgserver.config.UnidbgProperties;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot... |
package com.ninja.webtech.activities;
import android.Manifest;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationM... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
// Template Source: IBaseEntityWithReferenceRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------... |
package com.github.DNAProject.common;
import com.alibaba.fastjson.JSON;
import com.github.DNAProject.crypto.SignatureScheme;
import com.github.DNAProject.sdk.exception.SDKException;
import com.github.DNAProject.sdk.wallet.*;
import java.util.Base64;
import java.util.HashMap;
import java.util.Map;
public class Walle... |
/*******************************************************************************
* Copyright (c) 2013, Daniel Murphy
* 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 ... |
package tech.sutd.pickupgame.data.ui.your_activity;
import androidx.room.Database;
import androidx.room.RoomDatabase;
import tech.sutd.pickupgame.models.ui.YourActivity;
@Database(entities = {YourActivity.class}, version = 1, exportSchema = false)
public abstract class YourDatabase extends RoomDatabase {
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.