text stringlengths 7 995k |
|---|
package org.dcsa.core.models.combined;
import lombok.Data;
import org.dcsa.core.model.ForeignKey;
import org.dcsa.core.models.Address;
import org.springframework.data.annotation.Transient;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;
@D... |
package swt6.osgi.soundboard;
import javafx.scene.control.CheckBox;
import javafx.scene.image.ImageView;
import javafx.scene.layout.HBox;
import org.osgi.service.event.Event;
import org.osgi.service.event.EventHandler;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import swt6.osgi.soundboard.pad.Pad;
import... |
/*
* Copyright 2014 Apigee 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 ... |
/*
* 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... |
package com.codecool.quest.logic.items;
import com.codecool.quest.logic.Cell;
import com.codecool.quest.logic.actors.Player;
public abstract class Consumable extends Item{
public Consumable(Cell cell) {
super(cell);
}
public abstract void use(Player player);
@Override
public void picked... |
package org.ayo.view.imageview.gif;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Drawable.Callback;
import android.support.annotation.NonNull;
import android.view.View;
import java.lang.ref.WeakReference;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* {@link Callback} which a... |
package org.visallo.web.clientapi;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
public class UserNameAndPasswordVisalloApi extends FormLoginVisalloApi {
private final String username;
private final String password;
public UserNameAndPasswordVisalloApi(String basePath, String u... |
/**
* Mobility First - Global Name Resolution Service (GNS)
* Copyright (C) 2013 University of Massachusetts - Emmanuel Cecchet.
* Contact: cecchet@cs.umass.edu
*
* 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... |
/*
* Copyright (C) 2019-2021 HERE Europe 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
*
* Unless required by applicable law... |
package info.hypocrisy.model;
/**
* Created by Hypocrisy on 2016/4/13.
*/
public class HardwareParameters {
private String federationName;
private String federateName;
private String time;
private String message;
public String getFederationName() {
return federationName;
}
public... |
package meandni.com.baseutils.utils;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.Application;
import android.app.Application.ActivityLifecycleCallbacks;
import android.content.Context;
import android.content.res.Resources;
import android.o... |
package modules;
import com.squareup.okhttp.OkHttpClient;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.Response;
import play.Logger;
import play.api.libs.Codecs;
import static util.SysParCom.SHOPPING_URL;
/**
* 应用启动时调用
* Created by howen on 16/3/21.
*/
public class AppOnStart {
public AppOnS... |
package org.dataalgorithms.chap03.mapreduce;
import java.io.IOException;
import java.util.Map;
import java.util.SortedMap;
import java.util.TreeMap;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.NullWritable;
import ... |
/*
* Copyright 2018-2018 adorsys GmbH & Co KG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package oops.polymorphism;
public class MainClass {
public static void main(String[] args) {
Dog d = new Dog();
Pet p = d;
Animal a = d;
d.walk();
p.walk();
// greetings("Good Morning",5);
}
public static void greetings() {
System.out.println("Hi, there");
}
public static void greeti... |
/*
* Copyright (c) 2015, 2019, 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 ... |
package com.leonardo.curso.boot.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/cargos")
public class CargoController {
@GetMapping("/cadastrar")... |
/*
* Copyright 2016-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* FactSet SCIM API
* FactSet's SCIM API implementation.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.factset.sdk.ProcuretoPa... |
/*
MIT License
Copyright(c) 2020 Futurewei Cloud
Permission is hereby granted,
free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge... |
package com.mygdx.game.action;
import com.mygdx.game.actor.BaseActor;
import com.mygdx.game.map.MapLocal;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Administrator on 2017/3/29.
*/
public class ActionManager implements GamepadKey {
private ActionManager(){init();}
private static ActionMan... |
/**
* 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 [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... |
// Copyright (C) 2017 The Android Open Source Project
//
// 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 ... |
package com.twolattes.json.map;
import java.util.Map;
import org.junit.Test;
import com.twolattes.json.Entity;
import com.twolattes.json.Json;
import com.twolattes.json.Json.Number;
import com.twolattes.json.TwoLattes;
import com.twolattes.json.Value;
import com.twolattes.json.types.JsonType;
public class ValidMapK... |
package org.apereo.cas.authentication;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.io.Serializable;
/**
* Describes a credential provided for authentication. Implementations should expect instances of this type to be
* stored for periods of time equal to the length of the SSO session or longe... |
package biz.paluch.logging.gelf.log4j2;
import static org.assertj.core.api.Assertions.assertThat;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.MarkerManager;
import org.apache.logging.log4j.ThreadContext;
import org.apache.logging.log4j.core.Logge... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) annotate safe
package o;
import android.text.TextUtils;
import java.util.zip.CRC32;
// Referenced classes of package o:
// jz
public class kb
{
public kb()
{
//... |
package br.com.alura.agenda.preferences;
import android.content.Context;
import android.content.SharedPreferences;
public class AlunoPreferences {
private static final String ALUNOS_PREFERENCES = "br.com.alura.agenda.preferences.AlunoPreferences";
private static final String VERSAO_DO_DADO = "versao_do_dado";... |
/*
* Copyright (c) 2005-2022 Xceptance Software Technologies GmbH
*
* 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 requir... |
/*
* 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.db117.example.leetcode.solution1;
/**
* 153. 寻找旋转排序数组中的最小值
* 假设按照升序排序的数组在预先未知的某个点上进行了旋转。
* <p>
* ( 例如,数组 [0,1,2,4,5,6,7] 可能变为 [4,5,6,7,0,1,2] )。
* <p>
* 请找出其中最小的元素。
* <p>
* 你可以假设数组中不存在重复元素。
* <p>
* 示例 1:
* <p>
* 输入: [3,4,5,1,2]
* 输出: 1
* 示例 2:
* <p>
* 输入: [4,5,6,7,0,1,2]
* 输出: 0
* <p>
* ... |
/*
* Copyright 2021 Collate
* 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,... |
/*
* 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.zw.platform.util;
import com.google.common.collect.ImmutableList;
import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util... |
package wine;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.http.Consts;
import org.apache.http.HttpEntit... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package expo.modules.permissions;
public final class R {
private R() {}
public static final class anim {
private anim(... |
package com.lightning.crawler.msgstore;
public class MStoreConfig {
private int webid;
private int languageType;
private String timestamp;
public int getWebid() {
return webid;
}
public void setWebid(int webid) {
this.webid = webid;
}
public int getLanguageType() {
return languageType;
}
publi... |
package com.stebars.createirrigation.registration;
import com.simibubi.create.Create;
import com.simibubi.create.foundation.data.CreateRegistrate;
import com.simibubi.create.repack.registrate.util.entry.TileEntityEntry;
import com.stebars.createirrigation.CreateIrrigation;
import com.stebars.createirrigation.tiles.Spr... |
package org.apache.archiva.repository.content;
/*
* 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 Apac... |
package br.inf.ufg.mddsm.controller.img;
import java.io.Serializable;
import org.codehaus.janino.Parser.ParseException;
import org.codehaus.janino.Scanner.ScanException;
import org.codehaus.janino.ScriptEvaluator;
import br.inf.ufg.mddsm.controller.img.Call;
import dsk.impl.EExecutionUnitImpl;
public class Executi... |
/*
* Copyright 2019 Daniel Felix Ferber
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package org.apereo.cas.configuration.model.support.hazelcast;
import org.apereo.cas.configuration.model.support.hazelcast.discovery.HazelcastDiscoveryProperties;
import org.apereo.cas.configuration.support.RequiredProperty;
import org.apereo.cas.configuration.support.RequiresModule;
import lombok.Getter;
import lombo... |
/**
*
*/
package com.nalin.activemq;
import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.Destination;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.MessageConsumer;
import javax.jms.Session;
import javax.jms.TextMessage;
import org.apache.activemq.ActiveMQC... |
/*
* 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 android.rsa.androidlearn;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... |
/*
* Copyright 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package br.com.caelum.spring.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import br.com.caelum.spring.modelo.Produto;
public class ProdutosEmBanco implements Produtos {
private final C... |
package com.ms.view.dialog.loading.util;
import android.view.View;
import android.view.ViewGroup;
/**
* @Author: AriesHoo on 2018/7/19 9:47
* @E-Mail: AriesHoo@126.com
* Function: 查找View工具类
* Description:
* 1、2018-2-24 10:10:55 新增查找某个id的目标View
*/
public class FindViewUtil {
/**
* 获取某个ViewGroup内某个类型且某个... |
/*
* Leibniz Bioactives Cloud
* Copyright 2017 Leibniz-Institut f. Pflanzenbiochemie
*
* 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 © 2014 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package net.jimblackler.usejson;
import java.math.BigInteger;
public class NumberUtils {
public static Object toBestObject(BigInteger bigInteger) {
if (bigInteger.compareTo(BigInteger.valueOf(Byte.MIN_VALUE)) >= 0
&& bigInteger.compareTo(BigInteger.valueOf(Byte.MAX_VALUE)) <= 0) {
return bigIntege... |
package ca.uhn.fhir.model.dstu2;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.model.api.TemporalPrecisionEnum;
import ca.uhn.fhir.model.dstu2.composite.AddressDt;
import ca.uhn.fhir.model.dstu2.composite.HumanNameDt;
import ca.uhn.fhir.model.dstu2.composite.IdentifierDt;
import ca.uhn.fhir.model.dstu2.re... |
/*
* Copyright © 2021 the original author or authors.
*
* Licensed under the The MIT License (MIT) (the "License");
* You may obtain a copy of the License at
*
* https://mit-license.org/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated ... |
package tmt.tcs.ecs;
import static javacsw.util.config.JItems.jset;
import csw.util.config.BooleanKey;
import csw.util.config.Choice;
import csw.util.config.ChoiceKey;
import csw.util.config.Choices;
import csw.util.config.Configurations.ConfigKey;
import csw.util.config.DoubleItem;
import csw.util.config.DoubleKey;
... |
/*
* 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 2016-2021 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.mz.jarboot.constant;
/**
* @author majianzheng
*/
@SuppressWarnings("all")
public class CommonConst {
public static final String WORKSPACE_HOME= "workspace.home";
public static final String JARBOOT_HOME= "jarboot.home";
public static final String PORT_KEY = "server.port";
public static ... |
package org.jresearch.maven.mng6877;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.SOURCE)
@Target({
ElementType.TYPE, ElementType.M... |
/*
* 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 precious_rule_system.rules.db.lookup;
import android.content.Context;
import precious_rule_system.rules.db.lookup.table.TableLookupData;
import io.realm.Realm;
import io.realm.RealmQuery;
import io.realm.RealmResults;
/**
* Created by christopher on 14.08.16.
*/
public class LookupDataManager {
publ... |
package com.ratz.validation.constraintsvalidation;
import com.ratz.validation.NotEmptyList;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import java.util.List;
public class NotEmptyListValidator implements ConstraintValidator<NotEmptyList, List> {
@Override
... |
package com.hipay.fullservice.core.requests.info;
import android.os.Bundle;
import com.hipay.fullservice.core.mapper.AbstractMapper;
import com.hipay.fullservice.core.requests.AbstractRequest;
import com.hipay.fullservice.core.serialization.AbstractSerializationMapper;
import com.hipay.fullservice.core.serialization.... |
package fnn.smirl.cardgame.object.core.interfacing;
import android.graphics.Paint;
import fnn.smirl.cardgame.object.core.enums.TextStyle;
public interface Text
{
public void setText(String text);
public void setReferenceText(String text);
public void setTextSize(float size);
public void setTextPaint(Paint paint);
... |
/*
* This is a ColdFusion QueryBean object, including meta data.
*/
package test.wsdl.query;
import java.io.Serializable;
/**
* Representation of a ColdFusion qeury object for web services.
*/
public class QueryBean implements Serializable
{
public void setColumnList(String[] column_list)
{
this.c... |
package org.iglooproject.test.config.bootstrap.spring.environment;
import org.iglooproject.test.config.bootstrap.spring.util.AbstractSpringBoostrapSimpleTest;
import org.springframework.test.context.TestPropertySource;
@TestPropertySource(properties = {
"IGLOO_BOOTSTRAP_LOCATIONS=classpath:test-bootstrap.properties... |
package com.sciatta.algo.stack.leetcode;
import java.util.Stack;
/**
* Created by Rain on 2021/12/22<br>
* All Rights Reserved(C) 2017 - 2021 SCIATTA <br> <p/>
* 给定 n 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 1 。
* <p>
* 求在该柱状图中,能够勾勒出来的矩形的最大面积。
* <p/>
* 链接:https://leetcode-cn.com/problems/largest-rectangle-in-histog... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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... |
package lab5_serenity;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.support.ui.ExpectedCondition;
import org.openqa.selenium.support.ui.Wait;
import org.openqa.selenium.support.ui.WebDriverWait;
/**
* Search Google exa... |
/*
* 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.jsonplaceholder.tests.steps;
import com.jsonplaceholder.tests.models.PutUpdatePostRequestAndResponseModel;
import io.restassured.RestAssured;
import io.restassured.http.ContentType;
import io.restassured.response.Response;
import org.apache.http.HttpStatus;
/**
* Created by @Boki on Jan, 2020
*/
public ... |
/*
* Copyright 2017 Workiva
* 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... |
/*
* 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 under t... |
package com.birkhoff.cloud.user.feign;
import com.birkhoff.cloud.config.FeignConfiguration;
import com.birkhoff.cloud.user.entity.User;
import feign.RequestLine;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.aws.greengrass.shadowmanager.sync.model;
import com.aws.greengrass.logging.api.Logger;
import com.aws.greengrass.logging.impl.LogManager;
import com.aws.greengrass.shadowmanager.exception.In... |
/*
* phone-home-client
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.phonehome;
import com.google.gson.Gson;
import com.synopsys.integration.... |
/*
* Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved.
*
* 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 Y... |
/*
* 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")... |
/*
* Copyright 2016-2021 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.tekfoods.features.myorder.presentation;
/**
* Created by Pratishruti on 30-10-2017.
*/
public class TekfoodsJava {
// private MyOrderListAdapter myOrderListAdapter;
// private Context context;
//
// public void initAdapter(){
// myOrderListAdapter=MyOrderListAdapter(context, new MyOrderL... |
/*******************************************************************************
* Copyright 2009-2016 Amazon Services. 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 Licens... |
/*
* Copyright 2016 MovingBlocks
*
* 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 mage.cards.d;
import java.util.UUID;
import mage.MageInt;
import mage.ObjectColor;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.Effect;
import m... |
package me.yyong.modules.quartz.utils;
import lombok.extern.slf4j.Slf4j;
import me.yyong.utils.SpringContextHolder;
import org.apache.commons.lang3.StringUtils;
import org.springframework.util.ReflectionUtils;
import java.lang.reflect.Method;
import java.util.concurrent.Callable;
/**
* 执行定时任务
* @author /
*/
@Slf4j... |
/*
* Copyright 2013-2018 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.qianshanding.sample.java.mxbean;
import java.lang.management.ManagementFactory;
/**
* 通过MXBean获取当前系统的pid
* Created by fish on 2017/3/15.
*/
public class ProcessPidSample {
public static void main(String[] args) {
String name = ManagementFactory.getRuntimeMXBean().getName();
String[]... |
package cn.shallowan.spring.boot.shiro.entity;
import lombok.Data;
/**
* @author ShallowAn
*/
@Data
public class User {
private String username;
private String password;
private String role;
private String permission;
} |
package com.qianliyan;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.AlexanderZaytsev.RNI18n.RNI18nPackage;
import net.no_mad.tts.TextToSpeechPackage;
import com.tanguyantoine.react.MusicControl;
import com.github.wumke.RNExitApp.RNExitAppPackage;
import org.vosie.reactnative.... |
package com.antoniotari.audiosister.models;
import android.graphics.Bitmap;
public class Song {
private String artist;
private String album;
private String title;
private String artUrl;
private Bitmap art;
public Song(String artist, String album, String title, String artUrl) {
this.ar... |
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
package com.google.android.gms.common.api.internal;
import com.google.android.gms.common.annotation.KeepForSdk;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.api.Result;
import com.google.android.gms.common.api.Status;
@KeepForSdk
public class StatusPendingResult exten... |
package com.fcd.glasgow_cycling;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.app.Application;
import android.content.Intent;
import android.util.Log;
import com.activeandroid.ActiveAndroid;
import com.activeandroid.query.Delete;
import com.activeandroid.query.Select;
import... |
package com.alibaba.json.bvt.parser;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.fastjson.JSON;
public class JSONLexerTest_13 extends TestCase {
public void test_e() throws Exception {
Assert.assertTrue(123e3D == JSON.parseObject("{\"vo\":{\"type\":123e3}}", A.class).ge... |
package module1160packageJava0;
import java.lang.Integer;
public class Foo36 {
Integer int0;
Integer int1;
Integer int2;
public void foo0() {
new module1160packageJava0.Foo35().foo9();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2()... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.type;
import java.io.Serializable;
import java.util.Comparat... |
// DO NOT EDIT THIS CLASS, AUTOMATICALLY GENERATED BY io.deephaven.engine.table.impl.by.typed.TypedHasherFactory
// Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
//
package io.deephaven.engine.table.impl.by.typed.staticopenagg.gen;
import static io.deephaven.util.compare.LongComparisons.eq;
import io... |
/*
* Copyright 2009 Cedric Priscal
*
* 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 i... |
package net.ravendb.client.documents.commands;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.ObjectMapper;
import net.ravendb.client.Constants;
import net.ravendb.client.documents.operations.timeSeries.AbstractTimeSeriesRange;
import net.ravendb.client.documents.operations.time... |
/*
* Copyright 2002-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.