text stringlengths 7 995k |
|---|
/*
* 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... |
package main;
import modelo.Agenda;
import presentacion.controlador.Controlador;
import presentacion.vista.Vista;
public class Main
{
public static void main(String[] args)
{
Vista vista = new Vista();
Agenda modelo = new Agenda();
Controlador controlador = new Controlador(vista, modelo);
controlador.in... |
/*
* Copyright (C) 2018 Google 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 ... |
package kikaha.urouting.api;
public interface ExceptionHandler<E extends Throwable> {
Response handle( E exception );
} |
/*
* Copyright 2021 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
package com.iluwatar.visitor;
/**
*
* Soldier
*
*/
public class Soldier extends Unit {
public Soldier(Unit... children) {
super(children);
}
@Override
public void accept(UnitVisitor visitor) {
visitor.visitSoldier(this);
super.accept(visitor);
}
@Override
public String toString() {
return "soldi... |
/*
* Copyright (c) 2013-2014. Urban Airship and Contributors
*/
package com.urbanairship.api.push.parse.notification.wns;
import com.urbanairship.api.push.model.notification.wns.WNSToastData;
import com.urbanairship.api.push.parse.*;
import com.urbanairship.api.common.parse.*;
import com.google.common.base.Optiona... |
package org.wrkr.clb.repo.project.imprt.jira;
import org.springframework.stereotype.Repository;
import org.wrkr.clb.model.project.imprt.jira.ImportedJiraTaskMeta;
import org.wrkr.clb.model.project.task.Task;
import org.wrkr.clb.repo.JDBCBaseMainRepo;
@Repository
public class ImportedJiraTaskRepo extends JDBCBaseMain... |
package com.sunrise.study.encryption;
/**
* @author huangzihua
* @date 2021-12-08
*/
public class Demo {
public static void main(String[] args) {
}
} |
File createJar() throws IOException {
byte[] dummy_data = new byte[10];
File f = new File("a b.jar");
OutputStream out = new FileOutputStream(f);
try {
JarOutputStream jar = new JarOutputStream(out);
jar.putNextEntry(new ZipEntry("dummy.class"));
jar.w... |
package manifold.api.type;
import javax.lang.model.element.TypeElement;
import javax.tools.JavaFileObject;
import manifold.internal.javac.IssueReporter;
import manifold.internal.javac.TypeProcessor;
/**
* Implementors of this interface can examine and rewrite the Java AST during compilation.
*/
public interface ITy... |
package com.techm.transport.repository;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.techm.transport.entity.JourneyType;
@Repository
public interface JourneyTypeRepository extends CrudRepository<JourneyType, Long>{
L... |
package com.t3c.anchel.client.wsclient.services.dashboard;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.UUID;
import javax.ws.rs.core.Media... |
package io.phoos.event;
import io.phoos.player.Player;
/**
* @author evanwht1@gmail.com
*/
public class GameEvent {
private final Event type;
private final Player by;
private final Player on;
private GameEvent(final Builder b) {
this.type = b.type;
this.by = b.by;
this.on = b.on;
}
public static Buil... |
package com.example.demo.dao;
import com.example.demo.model.Course;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface CourseMapper {
int deleteByPrimaryKey(Integer id);
int insert(Course record);
int insertSelective(... |
package com.testing.pageObjects.pages;
import org.openqa.selenium.By;
import net.thucydides.core.annotations.DefaultUrl;
@DefaultUrl("/buttons")
public class ButtonsPage extends ElementsPage {
// Locators ----------------------------------------------------------------------------------------------------------
p... |
package bio.terra.stairway.queue;
/**
* An instance of this class, serialized with the name "type" must be included in all QueueMessages.
* That lets all message classes be easily serialized/deserialized POJOs without inheritance. This
* class must remain constant across other changes to the message format.
*/
cla... |
package com.examples.threads;
public class DeadSimulator {
public static void main(String[] args) {
Dead d = new Dead();
for (int i = 0; i < 10; i++) {
Runnable r1 = () -> {
d.func1();
};
Thread t1 = new Thread(r1, "Run 1");
Runnable r2 = () -> {
d.func2();
};
Thread t2 = new Th... |
package com.mattLearn.model;
import java.util.Date;
/**
* @author Matt
* @date 2021/1/20 16:52
*/
public class Comment {
private int id;
private int userId;
private int entityId;
private int entityType;
private String content;
private Date createdDate;
private int status;
public in... |
package com.firebase.androidchat;
import android.app.Activity;
import android.os.Bundle;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
} |
package com.retriable.wvjsb;
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 Android dev... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.sql.expression.function.scalar.math;
import o... |
package exercises;
import ipp.Color;
import ipp.Location;
import ipp.SnapApp;
import ipp.Sprite;
import javafx.scene.input.KeyCode;
public class PolygonDraw extends SnapApp {
@Override
public void start() {
Sprite sprite1 = addSprite("sprite1");
Sprite sprite2 = addSprite("sprite2");
Sprite sprite3 =... |
/*
* Copyright 1999-2019 Seata.io Group.
*
* 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... |
/**
* Copyright 2005-2019 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php
*
* Unless required by a... |
/*
* 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 ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: az_inference.proto
package com.intel.analytics.zoo.grpc.generated.azinference;
public interface PredictionOrBuilder extends
// @@protoc_insertion_point(interface_extends:azinference.Prediction)
com.google.protobuf.MessageOrBuilder {
/**... |
/*
* 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 2017-2022 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... |
/*
* Copyright 2012-2017 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 us.grahn.trojanow.logic;
import us.grahn.trojanow.data.Audience;
import us.grahn.trojanow.data.User;
/**
* A data manager for audiences. Handles CRUD operations with the server.
*
* @us.grahn.class AudienceManager
* @us.grahn.component AudienceManager
* @us.grahn.tier Logic
*/
public class Audi... |
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 审核内容风险结果
*
* @author auto create
* @since 1.0, 2022-04-13 14:02:25
*/
public class ContentRiskResult extends Alipa... |
/**
* 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 2017 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... |
/*
* 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... |
/*
* Copyright 2016. SHENQINCI(沈钦赐)<dev@blxt.me>
*
* 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 applicabl... |
/*
ArrayUtil exposes a set of helper methods for working with
ReadableArray (by React Native), Object[], and JSONArray.
MIT License
Copyright (c) 2020 Marc Mendiola
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... |
package com.crazy.demo.http.request;
import com.hjq.http.config.IRequestApi;
/**
* author : NG_crazy
* time : 2019/12/07
* desc : 用户注册
*/
public final class RegisterApi implements IRequestApi {
@Override
public String getApi() {
return "user/register";
}
/** 手机号 */
priva... |
package com.alibaba.excel.metadata.data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
/**
* formula
*
* @author Jiaju Zhuang
*/
@Getter
@Setter
@EqualsAndHashCode
public class FormulaData {
/**
* formula
*/
private String formulaValue;
@Override
public Fo... |
/*
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/*
* Copyright (c) 2012. JSpringBot. All Rights Reserved.
*
* See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The JSpringBot licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in complianc... |
package com.fabiogaiera.autowired.bean.field;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class AppConfig {
@Bean
public Company getCompany() {
Company company = new Company();
company.setCompName("ABCD... |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... |
package com.bennyhuo.kotlin.deepcopy.sample;
public class Main {
//Cause 'no source files' error if there are no java source files.
//Weird.
} |
package javaalgorithm.temp2;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class Temp1 {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(Syst... |
/*
* DISCLAIMER
*
* Copyright 2016 ArangoDB GmbH, Cologne, Germany
*
* 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 req... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.nuklear;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static or... |
/*
* Copyright (c) 2019, salesforce.com, inc.
* All rights reserved.
* Licensed under the BSD 3-Clause license.
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
*/
package com.force.i18n;
import java.util.Set;
import java.util.stream.Collectors;
im... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.ipmessaging.v1.service;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.twilio.Twilio;
import com.twilio.converter.DateConverter;
import com.twilio.converter.Promo... |
package st.sql.mapping;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/** フィールドに対してマッピングソースとなるデータベースのカラム名を指定する */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface DBColumn... |
package com.ruoyi.project.pms.productinfoReation.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class StringBigDecimalMapVo {
private String value1;
private BigDecimal value2;
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.storage.blob.options;
import com.azure.core.annotation.Fluent;
import com.azure.storage.blob.models.PublicAccessType;
import java.util.Map;
/**
* Extended options that may be passed when creating a Blo... |
package com.coolweather.sgy.coolweather.gson;
import com.google.gson.annotations.SerializedName;
/**
* Created by sgy on 2017/5/10.
*/
public class AQI {
public AQICity city;
public class AQICity {
@SerializedName("aqi")
public String aqi;
@SerializedName("pm25")
public ... |
package com.liefery.android.verticalstepperview;
import static ohos.agp.components.ComponentContainer.LayoutConfig.MATCH_CONTENT;
import static ohos.agp.components.ComponentContainer.LayoutConfig.MATCH_PARENT;
import ohos.agp.components.AttrSet;
import ohos.agp.components.Component;
import ohos.agp.components.Componen... |
/*
* Copyright (c) 2008-2021, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
package com.github.charlemaznable.qylogin.spring;
import com.github.charlemaznable.core.spring.ComplexComponentScan;
import com.github.charlemaznable.core.spring.ComplexImport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springf... |
/*
* 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 ... |
/*
* (c) Copyright 2017 EntIT Software LLC, a Micro Focus company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available at
* http://www.apache.org/licenses/LICE... |
/**package com.csye6225.demo;
import com.csye6225.demo.repositories.UserRepository;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.tes... |
package org.infinispan.query.dsl.embedded;
import static org.infinispan.query.dsl.Expression.max;
import static org.infinispan.query.dsl.Expression.param;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNotNull;
import static org.testng.AssertJUnit.assertTrue;
import java... |
package io.opensphere.mantle.data;
/**
* A contract to detect column types in a data source.
*/
public interface ColumnTypeDetector
{
/**
* Adds the supplied detector instance to the set of available detectors.
*
* @param detector the detector to add.
*/
void addSpecialColumnDetector(Spec... |
/*
* 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 controller;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import javax.servlet.ServletExcepti... |
package com.smarttable.utils;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Rect;
import android.util.LruCache;
import com.smarttable.core.Tabl... |
package io.quarkus.devtools.codestarts.core.reader;
import io.quarkus.devtools.codestarts.CodestartException;
import io.quarkus.devtools.codestarts.CodestartResource.Source;
import io.quarkus.qute.Engine;
import io.quarkus.qute.Expression;
import io.quarkus.qute.ResultMapper;
import io.quarkus.qute.Results;
import io.... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: POGOProtos.Rpc.proto
package POGOProtos.Rpc;
/**
* Protobuf type {@code POGOProtos.Rpc.FriendshipLevelDataProto}
*/
public final class FriendshipLevelDataProto extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_inserti... |
/*
* 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... |
/*
* Copyright 2018, Stefan Uebe
*
* 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, publish, dist... |
package org.apache.spark.sql;
public class DatasetHolder$ implements scala.Serializable {
/**
* Static reference to the singleton instance of this Scala object.
*/
public static final DatasetHolder$ MODULE$ = null;
public DatasetHolder$ () { throw new RuntimeException(); }
} |
/**
* FINCLOUD_APACHE_NO_VERSION
*/
package com.fincloud.vpc.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The VpcList model.
*/
public class VpcList {
/**
* VPC 번호.
*/
@JsonProperty(value = "vpcNo")
private String vpcNo;
/**
* VPC 이름.
*/
@JsonProper... |
package com.bdth.rure.demo.rpc.service;
import com.bdth.rure.demo.dao.mapper.DemoUserMapper;
import com.bdth.rure.demo.dao.modle.DemoUser;
import com.bdth.rure.demo.rpc.api.DemoUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.L... |
package com.matchers;
import com.utils.DataUtils;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
public class DiaSemanaMatcher extends TypeSafeMatcher<Date> {
private Integer diaSemana;
public DiaSemanaMatcher(Inte... |
import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
// write your code here
Scanner in=new Scanner(new File("input.txt"));
long m=in.nextLong();
in.close();
int i=0;
BufferedWriter writer = new Buffe... |
package miniprogram.server.utils;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class PropertiesUtil {
//获取获取配置文件中的全局变量信息,以后期方便维护修改
public static String getValue(String key){
Properties prop = new Properties();
InputStream in = PropertiesUtil.clas... |
/*
* Apache License
*
* Copyright (c) 2019 halower (halower@foxmail.com).
*
* <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>
* https://www.apache.org/licenses/LICENSE-2.0
... |
/*
* 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 unitTest;
import net.adaptor.GameMsgHandler;
import net.model.GameMessage;
/**
*
* @author Liming Liu
*
*/
public class NaiveMsgHandler implements GameMsgHandler {
private GameMessage rcvdMsg;
@Override
public void handleMsg(GameMessage msg) {
// TODO Auto-generated method stub
System.out.printl... |
package model;
public class SonPlaceHolder extends Son implements Subject {
public void notifyObservers() {
// TODO Auto-generated method stub
}
} |
/*
* Copyright sablintolya@gmail.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 applicable law or agree... |
/*
* $Id$
*/
/*
Copyright (c) 2000-2014 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
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... |
// Copyright 2019 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
package com.p2pgate.lib.rest.validation.constraint;
import com.p2pgate.lib.rest.validation.Sum;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
/**
*
* Created by Олег on 15.10.2016.
*/
public class SumConstraint implements ConstraintValidator<Sum, Float> {
p... |
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
* ... |
/*
* 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
* distribut... |
package pl.java.scalatech.spring_camel.ws;
// @WebService
public interface PingService {
// @WebMethod /@WebParam(name = "ping")
public String ping(String ping);
} |
/*
* 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 mainlibrary;
import java.awt.Color;
import javax.swing.JOptionPane;
/**
*
* @author bikash
*/
public class DeleteBook exte... |
package graduationdesign.muguihai.com.v023.slidemenu;
import android.graphics.Color;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.CycleInterpolator;
import android.widget.ArrayA... |
package com.example.tflite_server;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute ... |
// CS 143, Win 2015 ms rs
// p3 Assassin
//
// AssinNode.java Instructor-provided support class.
// You must not modify this code to work with your own linked list class!
/** Each AssassinNode object represents a single node in a linked list
for a game of Assassin. */
public class AssassinNode {
public Strin... |
/*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.stubbing.answers;
import org.assertj.core.api.Assertions;
import org.junit.Test;
import org.mockito.exceptions.base.MockitoException;
import org.mockito.exceptions.misusi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
/*
* Copyright (c) 2020 Contributors to the Quarkus StartStop project
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the Lic... |
package org.kujas.kuja.examples.webfluxtest1.filter;
import org.kujas.kuja.core.common.util.diag.SimpleLoggerTracker;
import org.kujas.kuja.core.common.util.diag.SimpleTracker;
import org.kujas.kuja.core.service.component.reactive.AbstractReactiveBusinessComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFacto... |
/*
* Copyright 2013-2014 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 it.blackwhitestudio.xenia.service;
import org.bson.types.ObjectId;
import org.springframework.stereotype.Service;
import it.blackwhitestudio.xenia.domain.Place;
import it.blackwhitestudio.xenia.domain.data.mongodb.PlacesRepository;
import lombok.AllArgsConstructor;
import reactor.core.publisher.Mono;
import r... |
/*
* Copyright (c) 2002-2008 LWJGL Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... |
package com.lzc.broadcasttest2;
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.*;
/**
* Instrumentation test, which will execute on an Andro... |
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
package ${package}.plugin.test;
import org.testng.annotations.Test;
public class PluginTest {
@Test
public void test() {
}
} |
package com.huobi.service.huobi.parser.account;
import java.util.List;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.huobi.model.account.AccountAssetValuationResult;
import com.huobi.service.huobi.parser.HuobiModelParser;
public class AccountAssetValuationResultParser im... |
package gov.usgs.cida.pubs.dao.intfc;
import gov.usgs.cida.pubs.domain.mp.MpPublication;
public interface IMpPublicationDao extends IMpDao<MpPublication> {
/**
* Get the next Prod ID from the database
* @return the next prodId
*/
Integer getNewProdId();
/**
* Lock a publication by the username.
* @par... |
/**
* Copyright © 2015 Christian Wulf, Nelson Tavares de Sousa (http://teetime-framework.github.io)
*
* 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/licens... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.