text stringlengths 7 1.01M |
|---|
/*
* Copyright 2019 Red Hat, Inc. and/or its affiliates.
*
* 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 guru.springframework.petclinic.services;
import guru.springframework.petclinic.model.Owner;
import java.util.List;
import java.util.Set;
public interface OwnerService extends CrudService<Owner, Long>{
Owner findByLastName(String lastName);
List<Owner> findAllByLastNameLike(String lastName);
}
|
/*
* $Id$
*
* SARL is an general-purpose agent programming language.
* More details on http://www.sarl.io
*
* Copyright (C) 2014-2020 the original authors 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 ma... |
/*
* Copyright DataStax, 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 wri... |
import java.util.ArrayList;
/**
* <p>Represents a xiangqi king chess piece.</p>
* <p>Dictates how a xiangqi king can move.</p>
*
* @author Nobel Zhou
* @version 1.0, 12/5/20
*/
public class XiangqiKingPiece extends CenterPiece implements CanSingleStraightMove, CanPalaceMove, CanFaceKingMove {
//region CONST... |
/*
* 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 ru.sergo.todoapp.todoback.interfaces;
import ru.sergo.todoapp.todoback.dto.Response;
import ru.sergo.todoapp.todoback.entity.Task;
import java.util.List;
public interface TasksService {
Response<Task> addUserTask(Task taskInfo);
Response<List<Task>> getSelfTasks();
Response<List<Task>> getAllTask... |
/*
* 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 fr.insee.pogues.transforms;
public interface DDIToPDF extends Transformer{}
|
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.12 at 09:... |
/*
* Copyright 2010 Proofpoint, 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 agree... |
/*
* This file was automatically generated by EvoSuite
* Sat Dec 19 11:52:45 GMT 2015
*/
package com.soops.CEN4010.JMCA.JParser;
import static org.junit.Assert.*;
import org.junit.Test;
import com.soops.CEN4010.JMCA.JParser.JavaParser;
import com.soops.CEN4010.JMCA.JParser.Node;
import com.soops.CEN4010.JMCA.JPars... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* 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 agre... |
package com.ineunet.knife.upload;
/**
*
* @author hilbert.wang@hotmail.com
* Created on 2015年3月8日
*/
public enum StoreType {
/**
* 分散保存在各自业务表中
*/
db_selfTable,
/**
* 统一保存在knife_image_view表中
*/
db_DBImageView,
/**
* 不存数据库,存webapp目录下
*/
dir_webapp
}
|
package cn.ff.burning.security;
import cn.ff.burning.entity.SysRole;
import cn.ff.burning.entity.SysUser;
import cn.ff.burning.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.... |
package com.graphql_java_generator.plugin.language.impl;
import java.util.List;
import com.graphql_java_generator.plugin.language.AppliedDirective;
import com.graphql_java_generator.plugin.language.EnumValue;
import lombok.Builder;
import lombok.Data;
/**
* Implementation of the {@link EnumValue} interface.
*
*... |
// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.android.tools.r8.ir.optimize.string;
import static com.android.tools.r8.utils.codeinspector.Ma... |
/*
* 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.hibicode.beerstore.model;
import java.math.BigDecimal;
import java.util.Objects;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.validation.constraints.D... |
package org.learn.nacos;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springfram... |
package system.gui.event;
import system.gui.HALGUI;
import util.control.Button;
import util.control.CustomizableGamepad;
import util.math.units.HALTimeUnit;
import util.misc.Timer;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
/**
* A singleton class that generates all gamepad events. Cu... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri May 22 12:33:06 GMT 2020
*/
package com.google.gson;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
impo... |
/*
* Copyright (C) 2017 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.bond;
import com.opengamma.strata.product.LegalEntityId;
import com.opengamma.strata.product.Security;
import com.opengamma.strata.product.Securi... |
package cn.tju.xiaoyin.common.response;
/**
* @author yinck
* @version 1.0
* @date 2021-01-05 00:59
*/
public enum ResponseCode {
SUCCESS(20000, "success"), ERROR(20001, "error"),
/**
* 3005:"密码不正确!"
*/
PASS_NOT_CORRECT(3005,"密码不正确!请重新尝试!"),
/**
* 3006:"算数异常"
*/
ARITHMETI... |
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.cas.models;
import com.aliyun.tea.*;
public class QueryDatabaseRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
// app_ids
@NameInMap("app_ids")
public ... |
/*
* Copyright 2016-2020 Crown Copyright
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package com.solarexsoft.solarexnumberprogressbar;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.support.annotation.Nullable;
import android.util.Attribute... |
package zmaster587.advancedRocketry.integration.jei.electrolyser;
import mezz.jei.api.helpers.IJeiHelpers;
import zmaster587.libVulpes.interfaces.IRecipe;
import zmaster587.libVulpes.recipe.RecipesMachine;
import java.util.LinkedList;
import java.util.List;
public class ElectrolyzerRecipeMaker {
public static List... |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.wso2.integrationstudio.ds.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.ResourceLocator;
import or... |
package com.jeffmony.livesdk.tools;
/**
* Created by jeffmony.
*/
import android.util.Log;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.net.UnknownHostException;
public class LogTools {
protected static final String TAG = "RESLog";
private static boolean enab... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.kharysh.ostap;
/**
* Created by Ostap Kharysh on 28.11.2016.
*/
public class Weekends extends TypeOfPass {
Weekends(PassMain passMain) {
super(passMain);
}
@Override
public String getDescription() {
return "For WEEKEND";
}
@Override
public int num_of_lift() {... |
package test.dependent;
import static org.testng.Assert.fail;
import org.testng.annotations.Test;
@Test(groups = "group1")
public class C1 {
public void failingTest() {
fail("always fails");
}
}
|
/*
* 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 2006-2018 WebPKI.org (http://webpki.org).
*
* 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... |
/**
* 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 org.smartframework.cloud.starter.core.support.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.s... |
/*
*Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
*WSO2 Inc. 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/LI... |
/*********************************************************************************
* *
* The MIT License (MIT) *
* ... |
package io.resys.thena.docdb.spi.sql;
/*-
* #%L
* thena-docdb-pgsql
* %%
* Copyright (C) 2021 Copyright 2021 ReSys OÜ
* %%
* 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
*
* h... |
/**
* 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
* distribu... |
package com.example.orderservice.service.Impl;
import java.util.ArrayList;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframewo... |
/*
* Below is the copyright agreement for IMCJava.
*
* Copyright (c) 2010-2018, Laboratório de Sistemas e Tecnologia Subaquática
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - R... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.design;
public final class R {
public static final class anim {
public static final int abc_fade_in... |
package org.apache.camel.itest.jmh.generated;
import org.apache.camel.itest.jmh.DefaultUuidGeneratorTest.BenchmarkState;
public class DefaultUuidGeneratorTest_BenchmarkState_jmhType_B1 extends org.apache.camel.itest.jmh.DefaultUuidGeneratorTest.BenchmarkState {
boolean p000, p001, p002, p003, p004, p005, p006, p007... |
package org.nutz.aop;
import org.nutz.lang.reflect.ReflectTool;
/**
* 一个默认的类定义实现
*
* @author Wendal(wendal1985@gmail.com)
*/
public class DefaultClassDefiner implements ClassDefiner {
public static String debugDir;
private static ClassDefiner me = new DefaultClassDefiner();
public s... |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* 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 agre... |
package act.sys.meta;
import act.asm.Type;
import act.util.AsmTypes;
public class ReturnTypeInfo {
private Type type;
private Type componentType;
public ReturnTypeInfo() {
this(Type.VOID_TYPE);
}
private ReturnTypeInfo(Type type) {
this.type = null == type ? Type.VOID_TYPE : type... |
/*******************************************************************************
* (c) Copyright 2017 Hewlett Packard Enterprise Development LP 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 ... |
/*
* Copyright 2016 James F. Bowring and CIRDLES.org.
*
* 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... |
/*
* 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.datapath.moldova.loader.mtender.containers;
import lombok.Data;
@Data
public class Identifier {
private String scheme;
private String id;
private String legalName;
}
|
/*
* Copyright (c) 2016-2017, Abel Briggs
* Copyright (c) 2017, Kronos <https://github.com/KronosDesign>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source co... |
package cn.tanziquan.produce.cole.web.ddtalk;
import cn.tanziquan.produce.cole.configure.properties.DdtalkEnvProperties;
import cn.tanziquan.produce.cole.util.DingTalkEncryptException;
import cn.tanziquan.produce.cole.util.DingTalkEncryptor;
import cn.tanziquan.produce.cole.web.ddtalk.vo.Encrypt;
import com.alibaba.fa... |
/*
* 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 org.chen.proxy;
import org.chen.annotation.RemoteService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionReg... |
/*******************************************************************************
* Copyright (c) 2013
* Institute of Computer Aided Automation, Automation Systems Group, TU Wien.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... |
package org.libj.xquery.namespace;
import java.util.LinkedList;
import java.util.List;
public class RootNamespace extends DictNamespace {
public void register(String name, Symbol s) {
if (name.indexOf(':') != -1) {
throw new RuntimeException("Not Implemented!");
}
else {
... |
/**
* Copyright Google 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 by applicable law ... |
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
*
* The Apereo Foundation licenses this file to you under the Educational
* Community License, Version 2.0 (the ... |
/*
* Java
*
* Copyright 2014-2022 MicroEJ Corp. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be found with this software.
*/
package com.microej.tool.dependencydiscoverer.writers;
import java.io.PrintStream;
/**
* A dependency writer that will save the result in a .... |
package org.openmrs.module.initializer.api;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.core.StringStartsWith.startsWith;
import static org.hamcrest.text.IsEmptyString.isEmptyOrNullString;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.openmrs.LocationAt... |
/*
Copyright 1996-2008 Ariba, 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... |
package org.checkerframework.framework.util.element;
import com.sun.tools.javac.code.Attribute;
import com.sun.tools.javac.code.Attribute.TypeCompound;
import com.sun.tools.javac.code.Symbol;
import com.sun.tools.javac.code.TargetType;
import org.checkerframework.framework.type.AnnotatedTypeMirror;
import org.checker... |
/* Generated By:JJTree: Do not edit this line. NCName.java Version 6.0 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=true,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.brentcroft.util.xpath.ast;
import com.brentcroft.util.xpath.gob.Gob;
i... |
package net.novaviper.zeroquest.common.talent;
import net.minecraft.util.BlockPos;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
import net.novaviper.zeroquest.common.api.interfaces.ITalent;
import net.novaviper.zeroquest.common.entity.EntityZertumEntity;
import net.novaviper.zeroquest.... |
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
package com.dianwuyou.util;
/**
* Created by hebowei on 16/6/9.
*/
public class Constants {
public static final boolean DEBUG = false;
public static final String UPLOAD_FILE_STORE_LOCATION = "/opt/tomcat/webapps/dwy_website/src/main/webapp/static/img/upload/";
//"D:/Code/Java/CreativeCrowd/src/m... |
package com.bdxh.order.enums;
/**
* @Description: 订单支付状态枚举类
* @Author: Kang
* @Date: 2019/6/18 14:24
*/
public enum OrderPayStatusEnum {
NO_PAY(new Byte("1"), "未支付"),
PAYING(new Byte("2"), "支付中"),
PAY_SUCCESS(new Byte("3"), "支付成功"),
PAY_FAIL(new Byte("4"), "支付失败"),
PAY_CLOSE(new Byte("5"), "支付... |
package com.duanxuehan.single_source_path_bfs;
import com.duanxuehan.end_basics_class03.Graph;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedList;
import java.util.Queue;
public class SingleSourcePath {
private Graph G;
private int s;
private boolean[] visited;
pr... |
/**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package androidx.loader;
public final class R {
private R() {}
public static final class attr {
private attr() {}
... |
package com.marshalchen.common.demoofui.recyclerviewstickyheaders;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.suppor... |
package entrance;
import gl.util.Directory;
import gl.util.config.ConfigResolver;
import java.nio.file.Path;
public class EntranceHome {
private final Directory directory;
public EntranceHome(ConfigResolver configResolver) {
final String home = configResolver.resolveOptional("entrance.hom... |
package org.nem.nis.controller.requests;
import org.hamcrest.MatcherAssert;
import org.hamcrest.core.IsEqual;
import org.junit.*;
import org.nem.core.model.*;
import org.nem.core.model.primitive.*;
import org.nem.core.serialization.Deserializer;
import org.nem.core.test.*;
import org.nem.core.time.TimeInstant;
import ... |
/**
* 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... |
/**
* 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 StreamSets Inc.
*
* Licensed under 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 Lice... |
/*
* Copyright 2018 New Vector 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 agreed ... |
package com.llnqdx.cms.base.modules.sys.entity;
import com.llnqdx.cms.common.persistence.TreeEntity;
import org.hibernate.validator.constraints.Length;
/**
* 区域Entity
*
* @author Idea
* @version 2013-05-15
*/
public class Area extends TreeEntity<Area> {
private static final long serialVersionUID = 1L;
/... |
package co.com.sofka.certificacion.mystore.userinterfaces;
import net.serenitybdd.screenplay.targets.Target;
public class MyStoreAccount {
private MyStoreAccount() {
throw new IllegalStateException("Class the register of the users");
}
public static final Target EMAIL_ADDRESS_CREATE = Target.the("Text a... |
package com.coolweather.android.gson;
import com.google.gson.annotations.SerializedName;
/**
* "now":{
* "tmp":"29",
* "cond":{
* "txt":"阵雨"
* }
* }
*/
public class Now {
@SerializedName("temp")
public String temperature;
@SerializedName("cond")
public More more;
publi... |
package org.nutz.ioc.impl;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Properties;
import org.nutz.lang.Lang;
import org.nutz.lang.Strings;
import org.nutz.lang.ut... |
package com.hedera.services.ledger.accounts;
/*-
*
* Hedera Services Node
*
* Copyright (C) 2018 - 2021 Hedera Hashgraph, 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
*... |
package org.hl7.fhir.convertors.conv40_50.resources40_50;
import org.hl7.fhir.convertors.context.ConversionContext40_50;
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.general40_50.Identifier40_50;
import org.hl7.fhir.convertors.conv40_50.datatypes40_50.primitive40_50.Canonical40_50;
import org.hl7.fhir.conve... |
package Application.UserInterface.Pages.IssuedPage;
import Application.Entities.Librarian;
import javax.swing.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class LibrarianSearchForm extends JPanel {
private Librarian librarian;
private JPanel librarianPa... |
package icfpc2021.actions;
import icfpc2021.model.Figure;
import icfpc2021.model.Vertex;
import icfpc2021.viz.State;
import static icfpc2021.ConvexHullKt.convexHull;
import static icfpc2021.actions.AutoCenterAction.figureCenter;
import static icfpc2021.geom.PCAKt.principalComponents;
public class AutoRotateAction im... |
/*
* Copyright © 2021 pengjianqiang
* All rights reserved.
* 项目名称:微博开放平台API-JAVA SDK
* 项目描述:基于微博开放平台官网的weibo4j-oauth2-beta3.1.1包及新版接口做二次开发
* 项目地址:https://github.com/qqxadyy/weibo-openapi-4java
* 许可证信息:见下文
*
* ======================================================================
*
* The MIT License
... |
package net.masonliu.gridviewpager;
import android.view.View;
import android.widget.AdapterView;
import android.widget.BaseAdapter;
import java.util.List;
public abstract class GridViewPagerDataAdapter<T> {
public List listAll;
public int rowInOnePage;
public int columnInOnePage;
public... |
package com.planet_ink.coffee_mud.Abilities.Prayers;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
impor... |
/*
* Copyright 1999-2011 Alibaba Group Holding 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 b... |
//==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Vojtech Forejt <vojtech.forejt@cs.ox.ac.uk> (University of Oxford)
//
//------------------------------------------------------------------------------
//
// This file is part of PRISM.
//
// P... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses ... |
package com.luojilab.component.componentlib.router;
import android.os.Bundle;
import com.luojilab.component.componentlib.exceptions.ParamException;
/**
* <p><b>Package:</b> com.luojilab.component.componentlib.di.route </p>
* <p><b>Project:</b> DDComponentForAndroid </p>
* <p><b>Classname:</b> ISyringe </p>
* <p>... |
// Targeted by JavaCPP version 1.5.3: DO NOT EDIT THIS FILE
package org.bytedeco.arrow;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.arrow.global.arrow.*;
@Name("arrow::NumericScalar<arr... |
package com.thoughtworks.bootcamp.user.repository;
import java.util.Optional;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.thoughtworks.bootcamp.user.model.User;
@Repository
public interface UserRepository extends JpaRepository<User, Lon... |
package frontend;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.scene.Scene;
import javafx.scene.control.ListView;
import javafx.scene.paint.Color;
public class VariableStates extends Window {
private ObservableList<String> variableStates = FXCollections.observabl... |
package br.com.starcode.validacaoenum;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.List;
/**
* http://pt.stackoverflow.com/questions/22184/valida%C3%A7%C3%A3o-de-objeto-de-neg%C3%B3cio-evitando-reduzindo-uso-de-ifs-e-elses
*/
public class FuncionarioTest {
@Test
public ... |
/*
* Copyright 2012-2017 CodeLibs Project and the 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 required by ap... |
/*
* Copyright (c) 2015, Nordic Semiconductor
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.