text stringlengths 7 995k |
|---|
package com.synnapps.carouselview;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package com.tecnowlogia.spring.sse.springsseexample.sale.coupon.data.randomizers;
import com.tecnowlogia.spring.sse.springsseexample.sale.coupon.data.StorePos;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ThreadLocalRandom;
public class R... |
package watson.db;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.TreeSet;
// ----------------------------------------------------------------------------
/**
* A spatial (3-D) database of ores of the same type.
*
* {@link OreDB} maintains a separate instance of ... |
import java.util.Scanner;
public class GectiKaldi
{
public static void main(String[] args)
{
double matematik, fizik, kimya, turkce, tarih, muzik;
Scanner giris = new Scanner(System.in);
System.out.print("Matematik notunuzu giriniz = ");
matematik = giris.nextInt();
Sy... |
package platform.win;
import com.sun.jna.Native;
import com.sun.jna.Pointer;
import com.sun.jna.platform.win32.User32;
import com.sun.jna.platform.win32.WinDef;
/**
* 开启或停用输入法的native函数
*/
public final class Imm32 {
static {
Native.register("Imm32.dll");
}
private static WinDef.HWND hwnd;
pr... |
/*
* 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.mogussoul.weixin.weixinmessagehelper;
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 Applicatio... |
/*
* Copyright Strimzi authors.
* License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
*/
package io.strimzi.api.kafka.model.template;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.strimzi.api.a... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.importer.external.metadatamapping.contributor;
import java.util.ArrayList;
import j... |
/*
* 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.atguigu.gulimall.product.dao;
import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* sku图片
*
* @author Mrguo
* @email 948485649@qq.com
* @date 2020-12-29 10:45:18
*/
@Mapper
public interf... |
package com.template.contracts;
import net.corda.core.contracts.CommandData;
import net.corda.core.contracts.Contract;
import net.corda.core.transactions.LedgerTransaction;
// ************
// * Contract *
// ************
public class OrderContract implements Contract {
// This is used to identify our contract whe... |
/*
* Copyright 2020 EPAM Systems
*
* 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... |
package net.tascalate.concurrent.delays;
import java.time.Duration;
import java.util.Iterator;
import java.util.Random;
import java.util.concurrent.CompletionStage;
@SuppressWarnings("unused")
public class NanosTest {
public static void main(String[] args) {
// Duration dd = Duration.ofMillis... |
package com.github.walterfan.util.swing;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
import javax.swing.BorderFactory;
import javax.swing.JEditorPane;
import javax.swing.JFrame;... |
package Daytime.sinconexion.cliente;
import java.io.*;
/**
* Este m�dulo contiene la l�gica de presentaci�n de un ClienteDaytime.
* @author M. L. Liu
*/
public class ClienteDaytime1 {
public static void main(String[] args) {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = n... |
/*
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Please refer to the README for information about making permanent changes. #
##########################################################################... |
import edu.princeton.cs.algs4.*;
class FrequencyCounter {
public static void main(String[] args) {
Runtime runtime = Runtime.getRuntime();
runtime.gc();
long start = runtime.freeMemory(); // 开始时的剩余内存
ST<String, Integer> st = new ST<String, Integer>();
while (!StdIn.isEmpty... |
/*
* Copyright (c) 2021-present radien GmbH. All rights reserved.
* <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>
* Unles... |
package lt.valaitis.lib.facebook.components;
import com.google.gson.Gson;
/**
* @author Tadas Valaitis
* @since 2016-11-28
*/
class GsonSerializer implements Serializer {
private final Gson gson;
GsonSerializer(Gson gson) {
this.gson = gson;
}
@Override
public <T> String serialize(T e... |
package org.apache.spark.sql.catalyst.catalog;
/**
* An in-memory (ephemeral) implementation of the system catalog.
* <p>
* This is a dummy implementation that does not require setting up external systems.
* It is intended for testing or exploration purposes only and should not be used
* in production.
* <p>
* A... |
/*
* Copyright (c) 2017 Baidu, Inc. All Rights Reserve.
*
* 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.ramesh.mypicker;
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() {
sup... |
/*
* The MIT License
*
* Copyright 2015 Adam Kowalewski.
*
* 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 (c) 2008-2012 Bird Dog Games, Inc..
*
* This file is part of Ardor3D.
*
* Ardor3D is free software: you can redistribute it and/or modify it
* under the terms of its license which may be found in the accompanying
* LICENSE file or at <http://www.ardor3d.com/LICENSE>.
*/
package com.ardor3d.mat... |
package br.com.zupacademy.stephanie.ecommerce.model.dto;
import br.com.zupacademy.stephanie.ecommerce.model.GatewayPagamento;
import br.com.zupacademy.stephanie.ecommerce.model.Produto;
import br.com.zupacademy.stephanie.ecommerce.validacao.ValorUnico;
import javax.validation.constraints.NotNull;
import javax.validat... |
/*
*
* Copyright 2001-2004 The Ant-Contrib 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 duelistmod.cards.pools.dragons;
import com.megacrit.cardcrawl.actions.AbstractGameAction.AttackEffect;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.localization.CardStri... |
package ug.co.sampletracker.app.utils.interfaces;
import ug.co.sampletracker.app.models.responses.CustomerVerificationResponse;
/**
* Created by Timothy Kasaga for Leontymo Developers on 5/6/2018.
*/
public interface ServerResponseCustomerVerificationListener {
void serverResponseError(String error);
void... |
package com.snaker.activiti.domain;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Id;
import javax.persistence.Transient;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tk.mybatis.ma... |
/*
* Copyright (C) 2019 xuexiangjys(xuexiangjys@163.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 ... |
import java.util.Scanner;
public class P16 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int N1 = Integer.parseInt(scanner.nextLine());
int N2 = Integer.parseInt(scanner.nextLine());
String operator = scanner.nextLine();
if (operator.... |
/*
* Copyright 2002-2016 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... |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 201... |
package abl.generated;
import abl.runtime.*;
import wm.WME;
import wm.WorkingMemorySet;
import wm.WMEIndex;
import wm.TrackedWorkingMemory;
import java.util.*;
import java.lang.reflect.Method;
import java.lang.reflect.Field;
import abl.learning.*;
import abl.wmes.*;
import abl.actions.*;
import abl.sensors.*;
public c... |
package org.ovirt.engine.core.common.action;
import java.util.HashMap;
import org.ovirt.engine.core.common.businessentities.ActionGroup;
public enum VdcActionType {
Unknown(0, QuotaDependency.NONE),
// Vm Commands
AddVm(1, ActionGroup.CREATE_VM, QuotaDependency.BOTH),
AddVmFromTemplate(2, ActionGroup... |
package com.hsj.hsjValidTest.controller;
import java.util.Map;
import javax.validation.Valid;
import com.hsj.hsjValidTest.vo.ResultStatus;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestBody;
import o... |
package org.droidplanner.services.android.ui.activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v7.app.ActionBarActivity;
import org.droidplanner.services.android.R;
/**
* Created by fhuya on 11/12/14.
*/
public class UsbIntentR... |
/*
* 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.learn.design.factory.factory;
/**
* <p>@Title: IntelliJ IDEA.</p>
* Description:
* Date: 2017/1/9 0009
* Time: 21:08
*
* @author Administrator
* @version 1.0
*/
public interface IFactory {
Animal newInstance();
} |
/*
* XML Type: RetrieveSharedPrincipalsAndAccessRequest
* Namespace: http://schemas.microsoft.com/crm/2007/WebServices
* Java type: com.microsoft.schemas.crm._2007.webservices.RetrieveSharedPrincipalsAndAccessRequest
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.crm._2007.webservi... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.rule.errorprone;
import java.util.regex.Pattern;
import net.sourceforge.pmd.lang.java.ast.ASTLiteral;
import net.sourceforge.pmd.lang.java.rule.AbstractJavaRule;
import net.sourceforge.pmd.pr... |
package com.siimkinks.sqlitemagic;
import android.database.Cursor;
import androidx.sqlite.db.SupportSQLiteDatabase;
final class DefaultDbDowngrader implements DbDowngrader {
@Override
public void onDowngrade(SupportSQLiteDatabase db, int oldVersion, int newVersion) {
if (SqliteMagic.LOGGING_ENABLED) {
... |
package org.minperf.universal;
/**
* An interface that can calculate multiple hash values for an object. The
* returned hash value of two distinct objects may be the same for a given
* hash function index, but as more hash functions indices are called for
* those objects, the returned value must eventually be diff... |
package org.openstreetmap.atlas.tags;
import org.openstreetmap.atlas.tags.annotations.Tag;
import org.openstreetmap.atlas.tags.annotations.TagKey;
import org.openstreetmap.atlas.tags.annotations.validation.Validators;
/**
* Tag identifying an Atlas Edge that was the remnant of way-sectioning that exceeded the maximu... |
package br.com.rafagonc.tjdata.repositories;
import br.com.rafagonc.tjdata.models.Cookie;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CookieRepository extends JpaRepository<Cookie, Long>{
} |
/*
* 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 cn.hanbell.erp.ejb;
import cn.hanbell.erp.comm.SuperEJBForERP;
import cn.hanbell.erp.entity.Crmreppalog;
import javax.ejb.Stat... |
public class Day3 {
public static void main(String[] args) throws Exception {
StringBuffer data = ReadURL.getWebData(3, "jason");
System.out.println("first answer = " + treeCounter(data, 3, 1));
System.out.println("second answer = " + (treeCounter(data, 1, 1) * treeCounter(data, 3, 1)
* treeCounter(data, 5... |
package com.sequenceiq.redbeams.api.endpoint.v4.database;
import java.util.Set;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
im... |
/*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2019 The PWM 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 ... |
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.8.6
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.eve.model;
import java.... |
/*
* Copyright 2020 Google LLC
*
* 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... |
package com.trailblazers.freewheelers.model;
public class AccountRole {
private Long role_id;
private String account_name;
private String role;
public Long getRole_id() {
return role_id;
}
public AccountRole setRole_id(Long role_id) {
this.role_id = role_id;
return t... |
/*
* Copyright 2018-2020 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... |
/*
Copyright 2015, 2018 Tremolo Security, 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 to in writ... |
package com.twu.biblioteca;
import java.io.IOException;
import java.util.Map;
import static com.twu.biblioteca.ConsoleIOFunc.clearTheConsoleContent;
public class MenuNodeForListBooks extends MenuNode {
private BookManager bookManager;
MenuNodeForListBooks(){
this.dataNeeded = "BookManager";
t... |
package com.baomidou.mybatisplus.generator.config;
import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.generator.config.converts.PostgreSqlTypeConvert;
import com.baomidou.mybatisplus.generator.config.querys.H2Query;
import com.baomidou.mybatisplus.generator.config.querys.MySqlQuery;
imp... |
package pt.up.fe.specs.clava.weaver.abstracts.joinpoints;
import org.lara.interpreter.weaver.interf.events.Stage;
import java.util.Optional;
import org.lara.interpreter.exception.AttributeException;
import java.util.Map;
import org.lara.interpreter.weaver.interf.JoinPoint;
import java.util.List;
import java.util.strea... |
package com.quootta.mdate.ui.activity;
import android.content.SharedPreferences;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;
import com.quootta.mdate.R;
import com.quootta.mdate.ba... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.servlet.dispatcher;
import static io.opentelemetry.instrumentation.api.tracer.HttpServerTracer.CONTEXT_ATTRIBUTE;
import static io.opentelemetry.javaagent.instrumentation.servlet.dis... |
package com.atguigu.gulimall.member.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.member.entity.MemberReceiveAddressEntity;
import java.util.Map;
/**
* 会员收货地址
*
* @author chenshun
* @email sunlightcs@gmail.com
* @date ... |
package com.baeldung.spring.session;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.Set;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
im... |
/**
* Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
*/
package docs.persistence;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.function.Consumer;
import akka.actor.*;
import akka.dispatch.Futures;
import com.typesafe.config.Conf... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* Project Info: http://plantuml.com
*
* If you like this project or if you find it useful, you can support us at:
* ... |
package com.iotechn.unimall.data.dto.freight;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import lombok.Data;
/**
* Created by rize on 2019/7/10.
*/
@Data
public class ShipTraceItemDTO {
@ApiField(description = "站点")
private String station;
@ApiField(description = "时间")
private String t... |
package com.santiagolizardo.jerba.managers;
import java.util.List;
import javax.jdo.PersistenceManager;
import javax.jdo.Query;
import com.santiagolizardo.jerba.model.Tag;
@SuppressWarnings("unchecked")
public class TagManager {
private PersistenceManager pm;
public TagManager(PersistenceManager pm) {
this.pm... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package com.dancoder.redash.web;
import com.dancoder.redash.api.GroupService;
import com.dancoder.redash.api.model.GroupModel;
import com.dancoder.redash.api.vo.UserVO;
import com.dancoder.redash.business.vo.UserConditionVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ster... |
package transformations.semanticsAware;
import generators.data.AbstractAsynchronousWorker;
import generators.data.sesamemodelbuilders.SesameBuilder;
import org.openrdf.model.Model;
import org.openrdf.model.Statement;
import org.openrdf.model.impl.LinkedHashModel;
import transformations.InvalidTransformation;
import... |
package coursier.paths;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import io.github.soc.directories.ProjectDirectories;
/**
* Computes Coursier's directories according to the standard
* defined by operating system Coursier is running on.
*
* @implNote If more paths e. g. for con... |
/**
* Copyright 2020 SPeCS.
*
* 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 writi... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.conformance.tests.performance.graph;
import org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase;
import org.odpi.openmetadata.conformance.workbenches.performa... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
package com.azure.search.models;
import com.azure.core.annotation.Fluent;
... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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.arcgis.mymap.JamaMatrix;
public class Maths {
/** sqrt(a^2 + b^2) without under/overflow. **/
public static double hypot(double a, double b) {
double r;
if (Math.abs(a) > Math.abs(b)) {
r = b/a;
r = Math.abs(a)* Math.sqrt(1+r*r);
} else if (b != 0) {
r =... |
package com.csse.cssebackend.service;
import java.util.List;
import com.csse.cssebackend.model.*;
public interface AccountService {
public List<Account> getAccount();
public Account addAccount(Account c) ;
} |
package com.blamejared.contenttweaker.fluids;
import com.blamejared.contenttweaker.api.fluids.IIsCotFluid;
import net.minecraft.block.FlowingFluidBlock;
import net.minecraft.fluid.FlowingFluid;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fluids.ForgeFlowingFluid;
import java.util.Objects;
f... |
package com.ithar.malik.commands.converters;
import com.ithar.malik.commands.UnitOfMeasureCommand;
import com.ithar.malik.domain.UnitOfMeasure;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
public class UnitOfMeasureToUnitOfMeasureCommandTest {
private static final String MES... |
package net.minecraft.realms;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.AnvilConverterException;
import net.minecraft.util.IProgressUpdate;
import net.minecraft.world.storage.ISaveFormat;
import net.minecraft.world.storage.SaveFormatComparator;
import ja... |
/*
* Copyright (C) 2016 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... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
package org.sunbird.user.actors;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.lang3.StringUtils;
import org.sunbird.actor.core.BaseActor... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Copyright 2019 ConsenSys AG.
*
* 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 wr... |
package android.support.v7.widget.helper;
import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.gr... |
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("ch")
@Impl... |
package class07_2019_03_01;
/**
* @author Wesley Mendes
*/
public class BombaTest {
public static void main(String[] args) {
Bomba b = new Bomba();
b.ligar(10);
}
} |
/**
* Copyright (c) 2001-2018 Mathew A. Nelson and Robocode contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* https://robocode.sourceforge.io/license/ep... |
/*
* Copyright 2017 Apereo
*
* 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 wr... |
package iot.technology.actor;
import iot.technology.actor.core.Actor;
import iot.technology.actor.message.ActorId;
/**
* @author mushuwei
*/
public interface ActorCreator {
ActorId createActorId();
Actor createActor();
} |
package jp.mynavi.azurejava.booklist.dao;
import com.microsoft.azure.spring.data.cosmosdb.repository.ReactiveCosmosRepository;
import jp.mynavi.azurejava.booklist.model.Book;
import reactor.core.publisher.Flux;
public interface BookRepository extends ReactiveCosmosRepository<Book, String> {
Flux<Book> findByTitle... |
package com.example.chatapp.Adapter;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
imp... |
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.opencv.opencv_core;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.openblas.global.openblas_nolapack.... |
/*
* (C) Copyright 2006-2009 Nuxeo SA (http://nuxeo.com/) and others.
*
* 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 re... |
package com.mypurecloud.sdk.v2.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.... |
package cn.dankefu.bean;
import org.nutz.dao.entity.annotation.*;
import java.util.Objects;
/**
* 系统权限/菜单表
* @author 蛋蛋的忧伤
* @date 2018/5/10 20:28
*/
@Table("dankefu_sys_menu")
@TableIndexes({@Index(name = "INDEX_SYS_MENU_PERMISSION", fields = {"permission"}, unique = true)})
public class Sys_menu extends BaseP... |
package com.chequer.jdbcnet.bridge.service;
import com.chequer.jdbcnet.bridge.manager.ObjectManager;
import com.google.protobuf.Empty;
import io.grpc.Status;
import io.grpc.stub.StreamObserver;
import proto.database.Database;
import proto.database.DatabaseServiceGrpc;
import java.sql.DriverManager;
import java.util.O... |
/*
* 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 ... |
/*
* 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 model;
import com.coti.tools.Rutas;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.Fi... |
package org.dbflute.erflute.editor.model.diagram_contents.element.node.table.index;
import org.dbflute.erflute.core.DisplayMessages;
import org.dbflute.erflute.editor.model.AbstractModel;
import org.dbflute.erflute.editor.model.ObjectListModel;
public class IndexSet extends AbstractModel implements ObjectListModel {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.