text stringlengths 7 995k |
|---|
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 javax.xml.datatype.XMLGregorian... |
/*
* 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 (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.model.cds;
/**
* Constant strings for value requirement/property names for use with the ISDA pricing functions.
*
* @author Martin Trave... |
/**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.interestrate.inflation.provider;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import... |
package com.vc.hard;
import java.util.*;
class DataStreamAsDisjointIntervals {
TreeMap<Integer, int[]> treeMap;
/** Initialize your data structure here. */
public DataStreamAsDisjointIntervals() {
this.treeMap = new TreeMap<>();
}
public void addNum(int val) {
if(treeMap.contain... |
/*
* Copyright 2014-2019 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 (C) 2016 - 2018 ExoMedia 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 applic... |
package com.net;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.Socket;
public class DonneesConnexion {
private Reception in;
private Emission out;
private Socket socket;
private boolean connectionReussi;
public DonneesConnexion(String servAddr, int port) {
Boolean reussi ... |
/**
* 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.content.crosswalk;
import java.io.FileNotFoundException;
import java.io.IOException... |
package com.leone.security.core.social.weixin.connect;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.converter.StringHttpMessageConv... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
// Template Source: IBaseEntityCollectionRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------... |
package com.coolweather.android;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import androidx.appcompat.app.AppCompatActivity;
import butterknife.ButterKnife;
public class MainActivity extends AppCompatActivity {
... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.roots.impl;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.ApiS... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.vanilla.network.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxm... |
package spring.boot.kafka.example;
public class Vote {
private String name;
public Vote(String name) {
this.name = name;
}
public Vote() {
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
} |
package org.tio.ext.model;
public enum MPartition {
ALL_CONNECT,
BSID_CONNECT,
GROUP_CONNECT,
ID_CONNECT
} |
package liquibase.sqlgenerator.core;
public abstract class CreateIndexGeneratorTest {
// @Test
// public void execute_singleColumnDefaultSchema() throws Exception {
// new DatabaseTestTemplate().testOnAvailableDatabases(
// new SqlStatementDatabaseTest(null, new CreateIndexStatement(INDEX_N... |
package com.shangbaishuyao.gmall.mapper;
import com.shangbaishuyao.gmall.bean.KeywordStats;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* Author: 上白书妖
* Date: 2021/3/1
* Desc: 关键词统计Mapper
*/
public interface KeywordStatsMapper {
@Select... |
package de.dytanic.cloudnet.ext.bridge.player.executor;
import com.google.common.base.Preconditions;
import de.dytanic.cloudnet.common.document.gson.JsonDocument;
import de.dytanic.cloudnet.driver.CloudNetDriver;
import de.dytanic.cloudnet.ext.bridge.BridgeConstants;
import org.jetbrains.annotations.NotNull;
import j... |
package de.rgzm.alligator.utils.zip;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchi... |
package si.ijs.slner;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
import si.ijs.slner.tei.PosDefs;
import si.ijs.slner.tei.Token;
import cc.mallet.pipe.Pipe;
import cc.mallet.types.Instance;
import cc.mallet.types.LabelAlphabet;
import cc.mallet.types.LabelSequence;
import cc.ma... |
hiiiiii |
/*
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.compositesw.services.system.admin.archive;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for archiveOptions.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType nam... |
package com.swaiotos.launcher.kidsmode.home.model;
import java.util.List;
public class HomePageData {
private int recommendId;
private String backgroundImage;
private String recommendTitle;
private long timestamp;
private List<SubRecommendsBean> subRecommends;
public ... |
/*
* API v1
* FormAPI is a service that helps you fill out and sign PDF templates.
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package io.formapi;
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
* distribut... |
/*
* Part of the Realistic Ore Veins Mod by AlcatrazEscapee
* Work under Copyright. See the project LICENSE.md for details.
*/
package com.alcatrazescapee.oreveins.command;
import java.util.concurrent.CompletableFuture;
import javax.annotation.ParametersAreNonnullByDefault;
import net.minecraft.command.ISuggestio... |
/*
* UnionIntersectionTest.java
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2015-2018 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
/*
* Copyright 2013 Guidewire Software, Inc.
*/
package gw.internal.gosu.ir.compiler.bytecode.statement;
import gw.internal.gosu.ir.compiler.bytecode.AbstractBytecodeCompiler;
import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeContext;
import gw.internal.gosu.ir.compiler.bytecode.IRBytecodeCompiler;
import gw.l... |
package org.influxdb.dto;
import static org.assertj.core.api.Assertions.assertThat;
import org.testng.annotations.Test;
/**
* Test for the Query DTO.
*
* @author jord [at] moz.com
*
*/
public class QueryTest {
/**
* Test that equals does what it is supposed to do.
*/
@Test
public void testEqualsAndHashC... |
/*
* 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 xyz.morecraft.dev.neural.mlp.genetic;
import lombok.AllArgsConstructor;
import lombok.Data;
import xyz.morecraft.dev.neural.ActivationFunction;
import xyz.morecraft.dev.neural.mlp.neural.NeuronLayer;
import java.util.function.Function;
@Data
@AllArgsConstructor
public class Genome {
private int inputCou... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package stallone.api.coordinates;
import stallone.api.doubles.IDoubleArray;
/**
*
* @author noe
*/
public interface IPCA extends IParametrizedCoordinateTransform
{
/**
* Returns the mean vector of the data
... |
package gen;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Random;
import layer.ActivationLayer;
import layer.Layer;
import util.ListHelper;
public class ActivationGen extends Gen {
public ActivationGen() {
... |
/*
* Copyright 2017 StreamSets 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... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.commands.shooting;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.w... |
package com.sgp;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class EeeActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCr... |
package osgi.enroute.polymer.demo.application;
import org.osgi.service.component.annotations.Component;
import osgi.enroute.configurer.api.RequireConfigurerExtender;
import osgi.enroute.polymer.app.webresource.capabilities.RequirePolymerAppWebresource;
import osgi.enroute.polymer.iron.webresource.capabilities.Require... |
/*
* Copyright 2002-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... |
/*
* Copyright (C) 2011 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 cn.org.aris.enterprise.chap1.main;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import cn.org.aris.enterprise.chap1.service.GreetingMessageService;
public class MainClass {
public static void main(String[] args) {
ClassPathXmlApplicationContext context = new ClassPathXmlAppl... |
/*
* Copyright (c) 2016. Enterprise Architecture Group, EACG
*
* SPDX-License-Identifier: MIT
*
*/
package de.eacg.ecs.client;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class DependencyBuilderTest {
@Test
public void build_returns_valid_Dependency() {
Dependenc... |
package org.lealone.examples.h2webconsole.service;
public class TableInfo {
int id;
String name;
String columns;
public TableInfo(int id, String name, String columns) {
super();
this.id = id;
this.name = name;
this.columns = columns;
}
public int getId() {
... |
/*
* This file is part of Empty3.
*
* Empty3 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Empty3 is... |
/*
* 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... |
package io.hypersistence.optimizer.config;
import io.hypersistence.optimizer.HypersistenceOptimizer;
import io.hypersistence.optimizer.core.config.JpaConfig;
import io.hypersistence.optimizer.core.event.Event;
import io.hypersistence.optimizer.core.event.ListEventHandler;
import io.hypersistence.optimizer.hibernate.ev... |
package nttu.edu.activities;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStre... |
/*
* 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... |
/*
* This file is part of "lunisolar-magma".
*
* (C) Copyright 2014-2019 Lunisolar (http://lunisolar.eu/).
*
* 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.o... |
/*
* Copyright 2010-2013 Luca Garulli (l.garulli--at--orientechnologies.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
*
* Un... |
package com.advancedaddons.items;
import net.minecraft.enchantment.Enchantment;
import com.advancedswords.items.ItemEnchantmentUpgrade;
/** Enchantment upgrade with only a tier 1 version */
public class ItemSingleUpgrade extends ItemUpgrade {
public ItemSingleUpgrade(Enchantment enchant) {
super(enchant, true);... |
package uk.gov.hmcts.reform.sscscorbackend.thirdparty.coh.api;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CohConversations {
private CohConversation conversation;
public CohConversations(@JsonProperty(value = "online_hearing")CohConversation conversation) {
this.conversation =... |
/*
* 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 2016 Immutables Authors and 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... |
/*
* Copyright (c) 2002-2021 Gargoyle Software 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
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
* Copyright (c) 2008-2015 Maxifier Ltd. All Rights Reserved.
*/
package com.maxifier.mongo;
import com.google.gson.internal.$Gson$Types;
import com.google.gson.reflect.TypeToken;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.lang.reflect.ParameterizedType;
/**
* Special value w... |
/*
* Copyright 2002-2013 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 ch.fhnw.cpib.checks;
import ch.fhnw.cpib.checks.types.ICodeType;
import java.util.List;
import java.util.Map;
public class FunctionSignature extends ProcedureSignature {
public ICodeType returnType;
public FunctionSignature(List<VariableSignature> globalImports, List<VariableSignature> args, Map<Str... |
package com.ducetech.app.controller;
import com.alibaba.fastjson.JSON;
import com.ducetech.app.model.Department;
import com.ducetech.app.model.Role;
import com.ducetech.app.model.User;
import com.ducetech.app.service.DepartmentService;
import com.ducetech.app.service.RoleService;
import com.ducetech.app.service.UserS... |
package com.majunbao.widget.square;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;
/**
* author : Majunbao
* github : https://github.com/MaJunBaox
* time : 2018/10/18
* desc : 正方形的 FrameLayout
*/
public final class SquareFrameLayout extends Fr... |
package com.enjin.sdk.model.service.platform;
import lombok.Getter;
import lombok.ToString;
/**
* Will contain settings for the sdk notification driver.
*
* @author Evan Lindsay
* @see SdkDetails
*/
@ToString
@Getter
public class SdkOptions {
/**
* The cluster to use.
*
* @return the cluster
... |
package game.items;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Vector;
import lombok.Getter;
/**
* Singleton managing all available items of the game. Items are
* <ul>
* <li>Suspects</li>
* <li>Rooms</li>
* <li>Weapons</li>
* </ul>
*
* @author Markus Heinr... |
package com.johnsnowlabs.nlp.annotators.parser.typdep.io;
import com.johnsnowlabs.nlp.annotators.parser.typdep.ConllData;
import com.johnsnowlabs.nlp.annotators.parser.typdep.DependencyInstance;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader... |
/*
* Copyright 1997-2016 Optimatika
*
* 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... |
// HTMLParser Library $Name: v1_6_20060319 $ - A java-based parser for HTML
// http://sourceforge.org/projects/htmlparser
// Copyright (C) 2004 Somik Raha
//
// Revision Control Information
//
// $Source: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/CompositeTagScannerTest.java,v $
// $Author: ... |
package net.minestom.server.entity;
/**
* Code autogenerated, do not edit!
*/
@SuppressWarnings("unused")
interface EntityTypeConstants {
EntityType AREA_EFFECT_CLOUD = EntityTypeImpl.get("minecraft:area_effect_cloud");
EntityType ARMOR_STAND = EntityTypeImpl.get("minecraft:armor_stand");
EntityType AR... |
package com.itheima.zhbj52.fragment;
import java.util.ArrayList;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.BaseAdapter;
import android.widget.ListView;
import android.widget.TextView;
import... |
package com.cflint.plugins.core;
import com.cflint.BugList;
import com.cflint.plugins.CFLintScannerAdapter;
import com.cflint.plugins.Context;
import cfml.parsing.cfscript.script.CFAbortStatement;
import cfml.parsing.cfscript.script.CFScriptStatement;
import ro.fortsoft.pf4j.Extension;
@Extension
public class AbortC... |
/*******************************************************************************
* Copyright (c) 2010 Haifeng Li
*
* 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... |
public interface Conta {
void depositar(double valor);
void sacar(double valor);
double getSaldo();
} |
/*
* 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.onion.dataRequests;
public class ScoreRequest implements Request{
@Override
public String makeRequest(String teamNumber, int clientID) {
return "ScoreRequest: " + teamNumber;
}
} |
package mekanism.client.jei;
import java.util.ArrayList;
import java.util.List;
import mekanism.api.providers.IBlockProvider;
import mekanism.api.recipes.MekanismRecipe;
import mekanism.api.recipes.RotaryRecipe;
import mekanism.common.Mekanism;
import mekanism.common.recipe.MekanismRecipeType;
import mekanism.common.r... |
package com.xiaoju.framework.service;
import com.fasterxml.jackson.databind.JsonNode;
import com.xiaoju.framework.entity.persistent.CaseBackup;
import java.util.List;
/**
* 备份接口
*
* @author didi
* @date 2020/11/5
*/
public interface CaseBackupService {
/**
* 插入备份记录,比较内容后插入
*
* @param caseBac... |
/*
* 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 concurrency;
import static com.thinkinjava.util.Print.*;
public class BasicThreads {
public static void main(String[] args) {
Thread t = new Thread(new LiftOff());
t.start();
println("waiting for lift off");
// println("====");
}
} |
package helpers;
import com.itextpdf.text.Document;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Phrase;
import com.itextpdf.text.pdf.PdfPTable;
import com.itextpdf.text.pdf.PdfWriter;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.control... |
/**
* 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 ... |
/*
* Class : Alien1
* Creation: Jan 19, 2015
* Author : Constantin MASSON
*
*/
package com.spaceinvaders.models;
import com.spaceinvaders.behaviors.MoveLivingDefaultAlien;
import com.spaceinvaders.behaviors.ShootLaser;
import java.awt.Point;
import javax.swing.ImageIcon;
/**
* <h1>Alien1</h1>
... |
package com.photatos.dalin.mlkit.md.java.model;
public class FriendlyMessage {
private String text;
private String username;
public FriendlyMessage() {
}
public FriendlyMessage(String text, String username) {
this.text = text;
this.username = username;
}
public String getText() {
return text;
}
publ... |
package tech.ibit.mybatis.sqlbuilder.sql.support;
import tech.ibit.mybatis.sqlbuilder.Table;
import java.util.List;
/**
* 插入表Support
*
* @author iBit程序猿
* @version 2.0
*/
public interface InsertTableSupport<T> {
/**
* `INSERT INTO table1 t1` 语句, t1表示"表别名"
*
* @param table 表对象
* @return ... |
/*
* Copyright 2019 The caver-java 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 or agr... |
package org.springframework.web.servlet.tags.form;
import org.junit.Test;
import org.springframework.mock.web.test.MockBodyContent;
import org.springframework.mock.web.test.MockPageContext;
import org.springframework.tests.sample.beans.TestBean;
import org.springframework.validation.BeanPropertyBindingResult;
import o... |
package com.jdc.hello;
import static javax.persistence.EnumType.STRING;
import static javax.persistence.FetchType.LAZY;
import static javax.persistence.TemporalType.DATE;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
i... |
package com.ph.cathttp;
import java.io.IOException;
import java.io.OutputStream;
/**
* 作者:潘浩
* 项目:CatHttp
* 时间:17-10-29 下午9:23
*/
public abstract class RequestBody {
/**
* body的类型
*
* @return
*/
abstract String contentType();
/**
* 将内容写出去
*
* @param ous
*/
... |
package de.kaleidox.botstats.javacord;
import java.util.List;
import de.kaleidox.botstats.endpoints.Scope;
import de.kaleidox.botstats.model.JsonFactory;
import com.fasterxml.jackson.databind.node.ArrayNode;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.Object... |
package site.petrumugurel.connect4;
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() {
... |
package com.akx2.skifreeze.android;
import android.os.Bundle;
import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.akx2.skifreeze.SkiFreeze;
public class AndroidLauncher extends AndroidApplication {
@Override
protected voi... |
package com.netty.client.android.dao;
// THIS CODE IS GENERATED BY greenDAO, DO NOT EDIT. Enable "keep" sections if you want to edit.
/**
* Entity mapped to table t_device.
*/
public class Device {
private Long id;
private String appKey;
private String deviceId;
private String imei;
private Str... |
package org.tiaa.rawmaterial;
public enum RawMaterialRegistry {
BOLTS,MACHINE;
} |
/*
* Copyright 2003 - 2018 The eFaps 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 applicable law or ... |
package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import javax.inject.Inject;
import org.ovirt.engine.core.bll.attestationbroker.AttestThread;
import org.ovirt.engine.... |
package the.bhushan.api;
import the.bhushan.service.user.ServiceResult;
import the.bhushan.service.user.UserWebService;
public class Login {
public String doLogin(String user, String pass) {
UserWebService ws = new UserWebService();
// Do the login
ServiceResult result = ws.getUserService().login(user, pass);... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package org.hisp.dhis.web.ohie.common.domain.soap;
/*
* Copyright (c) 2004-2016, 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 ret... |
/*
* 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 ai.datagym.application.labelTask.models.viewModels;
import ai.datagym.application.labelConfiguration.models.viewModels.LabelConfigurationViewModel;
import ai.datagym.application.labelIteration.models.viewModels.LabelIterationViewModel;
import ai.datagym.application.media.models.viewModels.MediaViewModel;
impor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.