text stringlengths 7 995k |
|---|
package com.platform.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import com.platform.dao.AdPositionDao;
import com.platform.entity.AdPositionEntity;
import com.platform.service.AdPositionServi... |
/*
* 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.codeaone.codefactory.generator.core;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
... |
/**
* Copyright 2014 Cenobit Technologies Inc. http://cenobit.es/
*
* 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 require... |
package org.competition.leetcode.array;
import java.util.*;
import static java.util.Arrays.sort;
import static java.util.function.Function.identity;
public class FindMissingNumber {
public List<Integer> findDisappearedNumbers(int[] nums) {
List<Integer> missed = new ArrayList<>();
Map<Integer, I... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Genesis.UI;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
... |
import java.util.*;
public class Cadenas {
public static void main(String[] args)
{
Scanner reader = new Scanner(System.in);
System.out.print("Cadena 01: ");
String cadena01 = reader.nextLine();
System.out.print("\nCadena 02: ");
String cadena02 = reader.nextLine();
System.out.print("\nCadena 03: ");
... |
package org.apache.lucene.analysis.ngram;
/*
* 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 Licens... |
package net.glowstone.net.handler.play.player;
import com.flowpowered.network.MessageHandler;
import net.glowstone.EventFactory;
import net.glowstone.GlowServer;
import net.glowstone.constants.AttackDamage;
import net.glowstone.entity.GlowEntity;
import net.glowstone.entity.GlowLivingEntity;
import net.glowstone.entit... |
package cn.georgeyang.hashever;
import android.app.Fragment;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import online.magicbox.lib.PluginFragment;
import online.magicbox.lib.Slice;
/**
* Created by george.yan... |
/*
* Copyright 2009 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... |
package org.endeavourhealth.transform.common;
// Common strings used by multiple transforms.
public class CommonStrings {
public final static String ENCOUNTER_EMERGENCY_TREATMENT = "Emergency Treatment";
public final static String ENCOUNTER_EMERGENCY_END = "Emergency Conclusion";
} |
package com.example.androiddemo.jjcommon.utils;
import android.app.Activity;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
public class ActivityManager {
public static final ActivityManager shared = new ActivityManager();
private static HashSet<Activity> activities = new HashSe... |
package me.rexlmanu.mobselector.listeners;
import me.rexlmanu.mobselector.MobSelector;
import me.rexlmanu.mobselector.mob.defaults.MobSelectorServer;
import org.bukkit.entity.Entity;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityCombustEvent;
import org.bu... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Soal1;
import java.util.Scanner;
public class datatype{
public static void main (String[] args){
int k, i;
... |
/*
* 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... |
/**
* Copyright © 2013-2021 The OpenNTF Domino API Team
*
* 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.example.user.rssfeed;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Androi... |
package com.skeqi.mes.pojo.qh;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* 车间表
*/
@ApiModel(value="com-skeqi-pojo-qh-CMesPlantT")
public class CMesPlantT implements Serializable {
/**
* 车间id
*/... |
package net.myegotrip.egotrip;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import org.w3c.dom.Text;
import net.myegotrip.egotrip.map.Placemark;
import net.myegotrip.egotrip.map.RoutePoint;
import net.myegotrip.egotrip.map.Trip;
import net.myegotrip.egotrip.metadata.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.cloudtea;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import com.facebook.reac... |
package com.github.skapral.poetryclub.db.operation;
import com.github.skapral.poetryclub.core.scalar.Scalar;
import com.github.skapral.poetryclub.core.time.SystemTime;
import com.github.skapral.poetryclub.core.time.SystimeAbstractedOutByProperty;
import com.github.skapral.poetryclub.db.access.DbaPoetryClub;
import ja... |
/*
* 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.razerdp.huobi.analysis.ui.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Space;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.recyclerview.widget.RecyclerView;
import com.razerdp.huobi.an... |
package cn.ma.cei.langs.cpp.processor;
import cn.ma.cei.generator.Variable;
import cn.ma.cei.generator.builder.IJsonCheckerBuilder;
public class CppJsonCheckerBuilder implements IJsonCheckerBuilder {
@Override
public void defineJsonChecker(Variable jsonChecker) {
}
@Override
public void setNotEq... |
package com.lanyou.test.recyclerview;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v4.content.ContextCompat;
import android.support.v7... |
// 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 android.support.v4.media.session;
import android.os.Bundle;
import android.support.v4.media.MediaMetadataCompat;
import java.util.List;
// Refere... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package com.braintreepayments.demo.test;
import com.braintreepayments.demo.test.utilities.TestHelper;
import org.junit.Before;
import org.junit.Test;
import static com.braintreepayments.demo.test.utilities.CardNumber.VISA;
import static com.braintreepayments.AutomatorAction.click;
import static com.braintreepayments... |
/**
* Copyright The Apache Software Foundation
*
* 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 org.fisher.weixin.menu;
import org.fisher.weixin.CommonsConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
... |
package com.java110.utils.util;
/**
* 常量定义管理类
* Created by wuxw on 2017/3/14.
*/
public class ConstantUtil {
/**
* 能力平台请求时的授权码
*/
public static final String SAOP_SRC_SYS_SIGN="SrcSysSign";
/**
* 能力平台源组织ID
*/
public static final String SAOP_SRC_ORG_ID="SrcOrgID";
/**
... |
/*
* Copyright (C) 2007 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 app... |
/*
* Minecraft Forge
* Copyright (c) 2016-2018.
*
* This library 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 Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it... |
package info.bfly.archer.urlmapping.controller;
import info.bfly.archer.common.controller.EntityQuery;
import info.bfly.archer.urlmapping.model.UrlMapping;
import info.bfly.core.annotations.Log;
import info.bfly.core.annotations.ScopeType;
import org.slf4j.Logger;
import org.springframework.context.annotation.Scope;
i... |
package cn.bugstack.springframework.test;
import java.lang.reflect.Field;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/**
* 示例(演示spring解决原理):
* 解决循坏依赖的思路:对象实例化后即放入缓存中, 属性注入时直接从缓存中取,而不是递归调用getBean方法
*/
public class CircleTest {
private final static Map<String, Object> singletonObjects ... |
package com.example.android.system.runtimepermissions.location;
import android.location.Location;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
... |
/*
* Conditions Of Use
*
* This software was developed by employees of the National Institute of
* Standards and Technology (NIST), an agency of the Federal Government.
* Pursuant to title 15 Untied States Code Section 105, works of NIST
* employees are not subject to copyright protection in the United States
* and are... |
package com.nuchwezi.dnaphistrion;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
/**
* @author Nemesis Fixx
*
*/
public class DBHelper extends SQLiteOpenHelper {
public static final String DATABASE_NAME = "d... |
package aquality.appium.mobile.template.cucumber.stepdefinitions;
import aquality.appium.mobile.screens.screenfactory.IScreenFactory;
import aquality.appium.mobile.template.screens.Alert;
import io.cucumber.java.en.Then;
import javax.inject.Inject;
import static org.testng.Assert.assertEquals;
import static org.test... |
package com.laegler.openbanking.model;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonValue;
import org.springframework.validation.annotation.Validated;
import javax.validation.Valid;
import javax.validation.constraints.*;
import com.fasterxml.jackson.ann... |
package com.innovatube.hackernew.ui.newshome;
import com.innovatube.hackernew.consts.Consts;
import com.innovatube.hackernew.data.DataManager;
import com.innovatube.hackernew.ui.base.BasePresenter;
import com.innovatube.hackernew.utils.InnovatubeUtils;
import java.util.List;
import javax.inject.Inject;
import io.re... |
/*
* ElementArrayParameter.java July 2009
*
* Copyright (C) 2009, Niall Gallagher <niallg@users.sf.net>
*
* 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/... |
/*
* (C) Copyright IBM Corp. 2017,2019
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.server.test;
import static org.testng.AssertJUnit.assertEquals;
import java.util.Arrays;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.ws.rs.client.... |
package dk.vetterlain;
import dk.vetterlain.rest.Controller;
import io.javalin.Javalin;
import io.javalin.http.ContentType;
import org.slf4j.impl.SimpleLogger;
import static io.javalin.apibuilder.ApiBuilder.*;
public class Application {
private final static int PORT = 7000;
private final static String LOG_LE... |
/*
* Copyright (c) 2020 by Andrew Charneski.
*
* The author licenses this file to you 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
*
* Unl... |
package com.SIMRacingApps.SIMPluginCallbacks.MSPEC;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Map.Entry;
import java.util.logging.Level;
import com.SIMRacingApps.Car;
import com.SIMRacingApps.Data;
import com.SIMRacingApps.SIMPlugin;
import com.SIMRacingApps.SIMPlugin... |
package de.nubenum.app.plugin.logaggregator.core;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.function.Predicate;
import de.nubenum.app.plugin.logaggregator.core.layers.entries.IEntryLog;
import de.nubenum.app.plugin.logaggregator.core.model.ReferenceOffset;
import de.nubenum.app.plugin.log... |
package com.derf.fabric.tutorial.item;
import com.derf.fabric.tutorial.Loader;
import net.minecraft.item.Item;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;
public final class ModItems {
public static Item EXAMPLE_ITEM = new ModItemExample(new Item.Settings().group(Loader.ITEM... |
package bg.sofia.uni.fmi.mjt.christmas;
import java.util.Random;
public enum Gift {
BIKE("Bicycle", 50), CAR("Car", 10),
DOLL("Barbie doll", 6), PUZZLE("Puzzle", 15);
private final String type;
private final int craftTime;
private static Gift[] gifts = Gift.values();
private static Random giftRand = n... |
package cgeo.geocaching.connector.ox;
import cgeo.geocaching.Geocache;
import cgeo.geocaching.files.GPX10Parser;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.jdt.annotation.NonNull;
public class OXGPXParser extends GPX10Parser {
private final boolean isDetailed;
public OXGPXParser(int li... |
package co.sys.concept.patterns.things.agent.actors.useragents.guide;
import co.sys.concept.patterns.things.agent.Agent;
public class Guide extends Agent {
} |
/*
* ====================================================================
* 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 license... |
/*
* Copyright @ 2015 Atlassian Pty 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 applicable law or ag... |
package org.jazzcommunity.development.library.file;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.stream.Stream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public final class FileResolver {
private static final Logger logger = LoggerFactory.getLogg... |
//package io.github.cd871127.hodgepodge.mybatis.multidatasource;
//
//import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
//
//public class MultiDataSource extends AbstractRoutingDataSource {
// @Override
// protected Object determineCurrentLookupKey() {
// return MultiDataSourceMa... |
package com.thinkaurelius.titan.graphdb.types.vertices;
import com.google.common.base.Preconditions;
import com.google.common.base.Predicate;
import com.google.common.collect.*;
import com.thinkaurelius.titan.core.TitanEdge;
import com.thinkaurelius.titan.core.TitanProperty;
import com.thinkaurelius.titan.core.TitanVe... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* 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
* "Lic... |
package cn.jimmie.learn.butterknife_processor;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.TypeSpec;
import java.util.ArrayList;
import java.util.List;
import javax.lang.model.element.Modifier;
import javafx.uti... |
package com.ctrip.xpipe.redis.console.model;
import com.ctrip.xpipe.endpoint.HostPort;
import com.ctrip.xpipe.utils.StringUtil;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import org.springframework.util.CollectionUtils;
import java.util.List;
import java.util.Objects;
/**
* @aut... |
package model;
/**
* Created by pedroguimaraes on 9/27/16.
*/
public abstract class IntValue extends Value<Integer> {
public IntValue(int line) {
super(line);
}
public abstract Integer value();
} |
/**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... |
/*
* 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 io.jenkins.plugins;
import io.jenkins.plugins.models.*;
import org.apache.commons.lang3.StringUtils;
import org.glassfish.jersey.test.JerseyTest;
import org.glassfish.jersey.test.jetty.JettyTestContainerFactory;
import org.glassfish.jersey.test.spi.TestContainerException;
import org.glassfish.jersey.test.spi.T... |
package pxf.toolkit.basic.util;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import pxf.toolkit.basic.exception.IOFlowException;
/**
* @aut... |
package com.github.cataclysmuprising.springdatajpatutorial.exception;
import java.util.Set;
import javax.validation.ConstraintViolation;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class ValidationFailedException extends RuntimeException {
private static final long se... |
/*
* Copyright (c) 1998-2021 John Caron and University Corporation for Atmospheric Research/Unidata
* See LICENSE for license information.
*/
package ucar.ui.grib;
import ucar.nc2.grib.grib2.table.WmoTemplateTables;
import ucar.nc2.grib.grib2.table.WmoTemplateTables.TemplateTable;
import ucar.ui.widget.BAMutil;
im... |
/**
* 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 The GWT Project 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... |
/*
* Copyright (c) 2016, Christoph Engelbert (aka noctarius) and
* contributors. 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/license... |
package ie.gmit.sw.ai;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
/***
* fourGrams method for loading the textfile
* into a map for later use in the simulated annealing
* process and scoring
... |
package com.nefu.freebox.activity;
import android.Manifest;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Coun... |
package g0901_1000.s0920_number_of_music_playlists;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertThat;
import org.junit.jupiter.api.Test;
class SolutionTest {
@Test
void numMusicPlaylists() {
assertThat(new Solution().numMusicPlaylists(3, 3, 1), equa... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builde... |
package org.adorsys.adpharma.server.rest;
import java.util.HashSet;
import java.util.Set;
import java.util.List;
import javax.inject.Inject;
import org.adorsys.adpharma.server.jpa.RoleNamePermissionNameAssoc;
import org.adorsys.adpharma.server.repo.RoleNamePermissionNameAssocRepository;
public class RoleNamePermissi... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.recoveryservices.siterecovery.v2018_01_10;
impor... |
package aQute.bnd.url;
import static java.nio.charset.StandardCharsets.UTF_8;
import java.net.HttpURLConnection;
import java.net.URLConnection;
import java.util.Map;
import javax.net.ssl.HttpsURLConnection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import aQute.lib.base64.Base64;
import aQute.lib.co... |
// 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.liyangbin.cartrofit.carproperty;
import android.car.CarNotConnectedException;
import android.car.hardware.CarPropertyValue;
import com.liyangbin.cartrofit.Cartrofit;
import com.liyangbin.cartrofit.Key;
import com.liyangbin.cartrofit.annotation.Process;
import com.liyangbin.cartrofit.flow.Flow;
import com.... |
/*
* Copyright (c) 2012, 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 ... |
/*
* Copyright 2012-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 ap... |
package com.mysynergis.soe.util;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import java.util.Map.Entry;
import com.esri.arcgis.server.SOIHelper;
import com.mysynergis.soe.log.impl.Log;
/**
* SOE/SOI specific helper util
*
* @author h.fleischer
* @since 08.01.2019
*
*/
public class S... |
package hu.bme.mit.spaceship;
/**
* A simple spaceship with two proton torpedo stores and four lasers
*/
public class GT4500 implements SpaceShip {
private TorpedoStore primaryTorpedoStore;
private TorpedoStore secondaryTorpedoStore;
private boolean wasPrimaryFiredLast = false;
public GT4500(TorpedoStore pr... |
package uk.cloudengine.demo.collectionTreeModel;
import static com.google.common.base.Preconditions.checkState;
import static uk.cloudengine.swing.UIConstants.GAP;
import info.clearthought.layout.TableLayout;
import javax.swing.DefaultListModel;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swin... |
package net.minecraft.world.level.block;
import javax.annotation.Nullable;
import net.minecraft.core.BlockPosition;
import net.minecraft.core.EnumDirection;
import net.minecraft.world.item.context.BlockActionContext;
import net.minecraft.world.level.GeneratorAccess;
import net.minecraft.world.level.IBlockAccess;
impor... |
package il.org.spartan.spartanizer.engine;
import static fluent.ly.azzert.containsString;
import static fluent.ly.azzert.is;
import static fluent.ly.azzert.nullValue;
import static il.org.spartan.spartanizer.ast.navigate.GuessedContext.BLOCK_LOOK_ALIKE;
import static il.org.spartan.spartanizer.ast.navigate.GuessedCont... |
/*
* 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")... |
package com.fs.app.recsys.etl.model;
import java.io.Serializable;
public class RelationModel implements Serializable{
/**
*
*/
private static final long serialVersionUID = 3698664106664606403L;
private long id;
private String sponsorid;
private String relation;
private String itemid;
private Str... |
package org.hisp.dhis.dxf2.events.relationship;
/*
* Copyright (c) 2004-2018, University of Oslo
* 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... |
/* 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... |
package im.dino.dbview.exampleapp;
import com.activeandroid.query.Delete;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import java.util.Calendar;
import im.dino.dbview.exampleapp.models.Article;
import im.dino.dbview.exampleapp.mo... |
package me.rocyang.cloud.eurekastart.security;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter... |
package is.restaurante;
import java.util.ArrayList;
public class Menu {
private ArrayList<Plato> listaPlatos;
} |
/*
* Copyright (C) 2015 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 app... |
package junit.tutorial.employee.model;
import junit.tutorial.employee.exception.DuplicatedNationalIdException;
import junit.tutorial.employee.exception.UnfairSalaryException;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
@Data
public class Company {
private Em... |
/**
* The MIT License
*
* Copyright (C) 2018 Asterios Raptis
*
* 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, c... |
package com.arui.mall.core.cache;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.JSONPObject;
import com.arui.mall.core.constant.RedisConstant;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.Signature;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotat... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018 Yegor Bugayenko
*
* 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
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.