text stringlengths 7 995k |
|---|
/*
* Camel EndpointConfiguration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.twilio;
import org.apache.camel.spi.ApiMethod;
import org.apache.camel.spi.ApiParam;
import org.apache.camel.spi.ApiParams;
import org.apache.camel.spi.Configurer;
import org.apache.camel.spi.UriParam... |
package com.google.api.ads.adwords.jaxws.v201601.rm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for UserListLogicalRule.Operator.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <si... |
/*
* 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 com.redislabs.lettusearch.output;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import com.redislabs.lettusearch.search.Document;
import com.redislabs.lettusearch.search.SearchResults;
import io.lettuce.core.LettuceStrings;
import io.lettuce.core.codec.RedisCodec;
import io.l... |
/*
* Copyright 2012 DTO Solutions, Inc. (http://dtosolutions.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright (C) 2014-2016 LinkedIn Corp. 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 appl... |
package com.adsdk.sdk.video;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
public class AspectRatioImageViewWidth extends ImageView {
public AspectRatioImageViewWidth(Context context) {
super(context);
}
public AspectRatioImageViewWidth(Context context, Attr... |
package com.cyc.cycjava.cycl.rdf;
import static com.cyc.cycjava.cycl.utilities_macros.note_funcall_helper_function;
import static com.cyc.tool.subl.jrtl.nativeCode.subLisp.Characters.CHAR_hash;
import static com.cyc.tool.subl.jrtl.nativeCode.subLisp.Characters.CHAR_slash;
import static com.cyc.tool.subl.jrtl.nativeCo... |
/*
* Copyright © 2013-2019 camunda services GmbH and various authors (info@camunda.com)
*
* 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... |
module fpc.cookie {
requires static lombok;
requires java.desktop;
exports net.femtoparsec.cookie;
opens net.femtoparsec.cookie to com.fasterxml.jackson.databind;
} |
package com.qingtian.easy._234;
import com.qingtian.pojo.ListNode;
import java.util.LinkedList;
/**
* @Author mcrwayfun
* @Description
* @Date Created in 2018/05/31
*/
public class Solution {
public boolean isPalindrome(ListNode head) {
LinkedList temp = new LinkedList();
ListNode cur = hea... |
/*
* The MIT License
* Copyright © 2014-2019 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy... |
/*
* Copyright 1999-2018 Alibaba Group Holding Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package dk.lockfuglsang.xrayhunter.command;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.e... |
package io.github.rcarlosdasilva.weixin.model.request.media;
import io.github.rcarlosdasilva.weixin.common.ApiAddress;
import io.github.rcarlosdasilva.weixin.model.request.base.BasicWeixinRequest;
/**
* 获取素材文件请求模型
*
* @author <a href="mailto:rcarlosdasilva@qq.com">Dean Zhao</a>
*/
public class MediaGetTemporaryR... |
package tuffy.util;
import java.io.BufferedWriter;
import java.io.PrintWriter;
import java.lang.management.ManagementFactory;
import java.util.HashSet;
/**
* Container for global configuration parameters.
*/
public class Config {
public static PrintWriter sampleLog = null;
public static String samplerWriterPath... |
package top.didasoft.app.pure;
public class PureApp {
public static void main(String args[]) {
System.out.println(System.currentTimeMillis());
}
} |
package de.lise.mongomigration.repository;
import com.mongodb.client.MongoCollection;
import com.mongodb.client.MongoDatabase;
import com.mongodb.client.model.IndexOptions;
import de.lise.mongomigration.dao.LockDAO;
import org.bson.Document;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springfra... |
package com.shamo.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shamo.common.utils.PageUtils;
import com.shamo.gulimall.product.entity.CategoryEntity;
import com.shamo.gulimall.product.vo.CategoryLevel2VO;
import java.util.List;
import java.util.Map;
/**
* 商品三级分类
... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.net.ssl;
import com.intellij.CommonBundle;
import com.intellij.icons.AllIcons;
import com.intellij.ide.IdeBundle;
import com.intellij.openapi.diagnostic... |
package frc.robot;
public class ThrottleLookup {
// LowGearRamp
public static double[][] correctionTable1 = {
{.02, .25, .500, .75, 1.00},
{.000, .15, .35, .6, 1.00}};
// HighGearRamp
public static double[][] correctionTable2 = {
{.02, .25, .50, .75, 1.0},
... |
package module0732.a;
import javax.rmi.ssl.*;
import java.awt.datatransfer.*;
import java.beans.beancontext.*;
/**
* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut
* labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolo... |
// Targeted by JavaCPP version 1.5: DO NOT EDIT THIS FILE
package org.bytedeco.systems.windows;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.systems.global.windows.*;
@Opaque @Properties(inherit = org.bytedeco.systems.presets.windows.class)
... |
/*
* Copyright 2015 Smart Society Services B.V.
*
* 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
*/
package org.opensmartgridplatform.adapte... |
package com.kingwin.utils;
import androidx.appcompat.app.AppCompatActivity;
import android.Manifest;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import java.io.File;
public class MainActivity extends AppCompatActivity {
@Override
pr... |
package com.avijitmondal.together.user;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
@SpringBootApplication
@EnableDiscoveryClient
public class UserApplication {
public... |
package ca.uhn.fhir.validation;
import static org.junit.Assert.*;
import org.junit.Test;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.validation.FhirValidator;
public class ValidatorInstantiatorTest {
@Test
public void testValidator() {
FhirContext ctx = new FhirContext();
Fh... |
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package main.java;
import java.util.ArrayList;
import java.util.List;
public class RadixSort8 {
public static int getSignificant(final int num, int position) {
if (position < 1) {
throw new IllegalArgumentException();
}
final int divisor = (int) Math.pow(10, position - 1);
return (num / divisor) % 10;... |
package com.ipersonal.config.security.service;
import java.util.Optional;
import org.springframework.security.core.context.SecurityContextHolder;
import com.ipersonal.model.Usuario;
public class Session {
public static boolean Autenticado() {
return Optional.ofNullable(SecurityContextHolder.getContext().getAu... |
package pokemon.pokemon;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Image;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.JPanel;
public class StatInterface extends JPanel{
/**
*
*/
private static final long s... |
package cn.lcy.lookfor.service;
import cn.lcy.lookfor.dao.UserRepository;
import cn.lcy.lookfor.model.User;
import cn.lcy.lookfor.neo4j.dao.PostForwardRepository;
import cn.lcy.lookfor.neo4j.dao.UserNodeRepository;
import cn.lcy.lookfor.neo4j.model.PostForward;
import cn.lcy.lookfor.neo4j.model.UserNode;
import org.sp... |
package org.broadband_forum.obbaa.netconf.mn.fwk.server.model.support.yang.validation.model;
import static org.broadband_forum.obbaa.netconf.mn.fwk.server.model.util.ValidationConstants.FANS_VALIDATION_TEST_NS;
import static org.broadband_forum.obbaa.netconf.mn.fwk.server.model.util.ValidationConstants.FANS_VALIDATION... |
package com.spldeolin.allison1875.inspector.processor;
import java.io.File;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.Set;
import org.apache.commons.lang3.StringUtils;
import com.google.common.collect.Lists;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com... |
package com.cms.entities.admin;
import java.util.Date;
/**
* Created by Evan on 2016/4/3.
*/
public class CommentInfo {
private Integer id;
private String content;
private UserInfo orgUser;
private UserInfo repUser;
private ProductInfo productInfo;
private Date creatTime;
public In... |
/**
* Copyright 2016 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
/* file: DistributedStep2MasterInputId.java */
/*******************************************************************************
* Copyright 2014-2021 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 ... |
package hvqzao.rewrite;
import java.awt.Color;
import java.awt.Graphics;
import javax.swing.plaf.basic.BasicSplitPaneDivider;
import javax.swing.plaf.basic.BasicSplitPaneUI;
class GlyphSplitPaneUI extends BasicSplitPaneUI {
private final Color ORANGE_COLOR = new Color(255, 102, 51);
private final Color backg... |
/*
* 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.rookie.rabbit.modular;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class RabbitModularApplicationTests {
@Test
void contextLoads() {
}
} |
/*
* Copyright (C) 2013 Manuel Peinado
* Modifications Copyright 2015 Fred Grott(GrottWorkShop)
*
* 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... |
package org.jabref.model.database;
import java.nio.file.Path;
import java.util.Arrays;
import java.util.Collections;
import org.jabref.model.entry.BibEntry;
import org.jabref.model.entry.types.IEEETranEntryType;
import org.jabref.model.metadata.MetaData;
import org.jabref.preferences.FilePreferences;
import org.juni... |
package mage.cards.n;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.keyword.LifelinkAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
/**
*
* @author North
*/
public final class NipGwyllion extends CardImpl {
... |
package goahead.testclasses;
import java.io.Reader;
public class LocalVarReuse {
public static void main(String[] args) {
{
String test = "foo";
System.out.println(test);
}
{
String[] test = { "bar" };
System.out.println(test[0]);
}
... |
/*L
* Copyright (c) 2006 SAIC, SAIC-F.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/rembrandt/LICENSE.txt for details.
*/
package gov.nih.nci.rembrandt.domain;
/**
* @version 1.0
* @created 18-Nov-2005 01:56:36 PM
*/
/**
* caIntegrator License
*
* Copyright ... |
package com.sunmi.sunmiauto.testutils;
/**
* Created by zhengjin on 2016/8/23.
*
* Include the utils for String handle.
*/
public final class StringUtils {
@SuppressWarnings("unused")
public static boolean isBlank(String str) {
return (str == null || str.trim().length() == 0);
}
public st... |
// Aria Pahlavan on March 16 2018
public class SelectionSort implements Sort {
@Override
public <T> T[] on(Comparable[] a) {
for (int i = 0; i < a.length; i++) {
int min = i;
for (int j = i + 1; j < a.length; j++)
if (less(a[j], a[min])) min = j;
sw... |
/*
* 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 com.ricex.cartracker.data.validation;
public class EntityValidationException extends Exception {
private static final long serialVersionUID = 1L;
public EntityValidationException(String message) {
super(message);
}
public EntityValidationException(String message, Throwable parent) {
super(message... |
/**
* Copyright (C) 2011-2012 Turn, Inc.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable ... |
package com.example.company;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("please enter the number: ");
X x = new X(scanner.nextInt());
x.x();
}
} |
/**
* 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 com.yesong.ghoststory.homepage;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import com.yesong.ghoststory.bean.AuditResponse;
import com.yesong.ghoststory.bean.ContentList;
import com.yesong.ghoststory.db.DbContentList;
import com.yesong.ghoststory.d... |
package org.strategoxt.lang;
import java.util.regex.Pattern;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.core.VarScope;
import org.strategoxt.HybridInterpreter;
/**
* A base class for Java-based libraries of dynamically loaded strategies.
*
* When included in JAR files, the strat... |
package com.proyecto.flowmanagement.backend.persistence.repository;
import com.proyecto.flowmanagement.backend.persistence.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.... |
package com.google.android.gms.internal.ads;
final /* synthetic */ class zzaxd {
static final /* synthetic */ int[] zzakf;
/* JADX WARNING: Can't wrap try/catch for region: R(16:0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|16) */
/* JADX WARNING: Code restructure failed: missing block: B:17:?, code lost:
re... |
package uk.co.victoriajanedavis.vimeo_api_test.util;
import io.reactivex.disposables.Disposable;
public class RxUtil {
public static void dispose(Disposable disposable) {
if (disposable != null && !disposable.isDisposed()) {
disposable.dispose();
}
}
} |
package com.matez.wildnature.world.gen.biomes.biomes;
import com.matez.wildnature.blocks.config.ConfigSettings;
import com.matez.wildnature.world.gen.biomes.setup.WNBiome;
import com.matez.wildnature.world.gen.biomes.setup.WNBiomeBuilder;
import com.matez.wildnature.world.gen.biomes.setup.WNBiomeFeatures;
import net.m... |
package com.jzhangdeveloper.newsapi.models;
import com.jzhangdeveloper.newsapi.exceptions.*;
import lombok.Getter;
@Getter
public class ResError {
private String status;
private String code;
private String message;
private int statusCode;
public ResError setStatusCode (int statusCode) {
t... |
package com.crossoverjie.concurrent;
import com.crossoverjie.concurrent.communication.Notify;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.AbstractSet;
import java.util.Iterator;
import java.util.Set;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap... |
/*
* Copyright 2019 Zhenjie Yan
*
* 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... |
//
// ========================================================================
// Copyright (c) 1995-2017 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the ter... |
package com.hustack.sample.web.rest.errors;
import com.hustack.sample.JhipsterMonolithicSampleApp;
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.spri... |
package com.agu.admin.system.controller;
import com.agu.common.utils.ResultVoUtil;
import com.agu.common.vo.ResultVo;
import com.agu.module.system.domain.ActionLog;
import com.agu.module.system.service.IActionLogService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.fac... |
package io.ebeaninternal.api;
import io.ebean.EbeanServer;
import io.ebean.bean.BeanCollection;
import io.ebean.bean.EntityBean;
import io.ebean.util.StringHelper;
import io.ebeaninternal.server.core.OrmQueryRequest;
import io.ebeaninternal.server.deploy.BeanDescriptor;
import io.ebeaninternal.server.deploy.BeanProper... |
package net.minecraft.block;
import com.google.common.collect.Maps;
import net.canarymod.api.world.blocks.CanaryBlock;
import net.canarymod.hook.world.IgnitionHook;
import net.canarymod.hook.world.IgnitionHook.IgnitionCause;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
im... |
package com.limpid.project.tool.gen.mapper;
import java.util.List;
import com.limpid.project.tool.gen.domain.GenTable;
/**
* 业务 数据层
*
* @author littlebayo
*/
public interface GenTableMapper
{
/**
* 查询业务列表
*
* @param genTable 业务信息
* @return 业务集合
*/
public List<GenTable> selectGen... |
/**
* <p>Title : springboot集成tomcat</p>
* <p>Description :
*
* 1、springboot利用 spring 的 SPI 的机制加载 EmbeddedServletContainerAutoConfiguration 该配置类,
* 将 TomcatEmbeddedServletContainerFactory 加载到 spring 容器中
* 2、对 tomcat 容器进行配置的动作,由 BeanFactoryPostProcessor 完成,spring boot 内置了多种 EmbeddedServletContainerCustomizer,由 Ser... |
/*
* Copyright (c) 2015. hp.weber GmbH & Co secucard KG (www.secucard.com)
* 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 ... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2022, by David Gilbert and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.html
... |
/*
* MIT License
*
* Copyright (c) 2022 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, cop... |
/*
* MIT License
*
* Copyright (c) 2018 Ido Fang Bentov
*
* 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, ... |
package events;
public class ControllerLinkEvent
{
} |
/*
* This file is part of igloo, licensed under the MIT License.
*
* Copyright (c) 2018 KyoriPowered
*
* 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 wi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
/*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.github.dockerjava.core.exec;
import com.github.dockerjava.api.command.UpdateSwarmCmd;
import com.github.dockerjava.core.DockerClientConfig;
import com.github.dockerjava.core.MediaType;
import com.github.dockerjava.core.WebTarget;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Updat... |
package org.coderinfo.pf.common.service;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* redis操作Service
* Created by macro on 2020/3/3.
*/
public interface RedisService {
/**
* 保存属性
*/
void set(String key, Object value, long time);
/**
* 保存属性
*/
void s... |
package com.github.arielcarrera.quarkus.spring.data.jpa.deployment.test.repositories;
import org.springframework.data.repository.Repository;
import com.github.arielcarrera.quarkus.spring.data.jpa.deployment.test.model.OrderDto;
import com.github.arielcarrera.quarkus.spring.data.jpa.deployment.test.model.OrderEntity;
... |
package org.jruby.runtime.profile;
import org.jruby.internal.runtime.methods.DynamicMethod;
/**
* A dynamic method + it's invocation name holder for profiling purposes.
*/
public class ProfiledMethod {
final String name;
final DynamicMethod method;
public ProfiledMethod(String name, DynamicMethod ... |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.matchers;
import org.hamcrest.Description;
import org.mockito.ArgumentMatcher;
import java.io.Serializable;
public class Same extends ArgumentMatcher<Object> implement... |
package com.hackerrank.java.introduction;
import java.util.Scanner;
public class StdInStdOut {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
System.out.println(a);
... |
/*
* Copyright 2017 Smart Society Services B.V.
*
* 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
*/
package org.opensmartgridplatform.cucumb... |
package com.string;
import java.util.ArrayList;
import java.util.Arrays;
public class TranslateNums {
public static void main(String[] args) {
TranslateNums translateNums = new TranslateNums();
System.out.println(translateNums.translateNum(12258));
System.out.println(translateNums.transla... |
/*
* Copyright (c) 2017 Uber Technologies, Inc.
*
* 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, me... |
package net.minecraft.world.storage;
import java.util.concurrent.Callable;
import net.minecraft.crash.CrashReportCategory;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.server.MinecraftServer;
import net.minecraft.util.BlockPos;
import net.minecraft.world.EnumDifficulty;
import net.minecraft.world.Game... |
/*
* 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 ... |
/*
* Copyright (c) 2007-2017 Xplenty, Inc. All Rights Reserved.
*
* Project and contact information: http://www.cascading.org/
*
* This file is part of the Cascading project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... |
package cloudchen.com.sunshine;
import android.content.Intent;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.CursorLoader;
import android.support.v4.content.Loader;... |
/*
* 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 ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2019 Adrian Reimer
*
* 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 t... |
package piotr.javaCourse.addressBook.appmanager;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import piotr.javaCourse.addressBo... |
package com.paws_place_32483;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName() ... |
/****************************************************************
* 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... |
/**
* 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 se.claremont.taf.performance.gui.guiProfiles;
import javax.swing.*;
public class TafTable extends JTable {
public TafTable(Object[][] data,String[] columnNames){
super(data, columnNames);
}
} |
package com.infdot.sql.common.constraint;
import java.util.List;
public class FieldConstraint extends AbstractConstraint {
private String left;
private String right;
public FieldConstraint(String left, String right) {
this.left = left;
this.right = right;
}
@Override
public void toSql(StringBuilder b)... |
package net.whg.minigames.framework.utilities;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.EntityType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener;
import org.bukkit.event.player.Play... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.