text stringlengths 7 995k |
|---|
/*
* Copyright 2019 The Bazel Authors. 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 a... |
package eu.dzhw.fdz.metadatamanagement.relatedpublicationmanagement.domain.validation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.springframework.beans.factory.annotation.Autowired;
import eu.dzhw.fdz.metadatamanagement.questionmanagement.repository.Qu... |
package frc.robot.commands.Auto;
import edu.wpi.first.wpilibj.command.InstantCommand;
import frc.robot.Robot;
/**
* Exits the robot from auton and gives the drivers control of the robot
*
* @category AUTO
* @author Bryce G.
*/
public class autoEndAuto extends InstantCommand {
public static boolean endedAut... |
/*
* Portions of this software was developed by employees of the National Institute
* of Standards and Technology (NIST), an agency of the Federal Government and is
* being made available as a public service. Pursuant to title 17 United States
* Code Section 105, works of NIST employees are not subject to copyright... |
package com.lambdasinaction.chap3;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import static java.util.Comparator.comparing;
public class Sorting {
public static void main(String...args){
// 1
List<Apple> inventory = new ArrayList<>()... |
// This is a generated file. Not intended for manual editing.
package org.logtalk.intellij.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface LogtalkMapTerm extends PsiElement {
@NotNull
LogtalkMapName getMapName();
@Nullable
LogtalkTerm getT... |
package trabalho.pkg1.bim;
import java.util.Arrays;
import java.util.Scanner;
public class Exercicio22 {
public static void main(String[] args) {
Scanner leitor = new Scanner (System.in);
double vetor [] = new double [10];
double vetor2 [] = new double [10];
double num;
... |
/**
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.volatility.cube;
import java.io.Serializable;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import org.joda.beans... |
package com.shuyu.apprecycler.chat.detail.dagger.module;
import android.support.v7.widget.RecyclerView;
import com.shuyu.apprecycler.chat.detail.dagger.ChatDetailViewOption;
import com.shuyu.apprecycler.chat.detail.view.ChatDetailBottomView;
import com.shuyu.textutillib.EmojiLayout;
import com.shuyu.textutillib.KeyBo... |
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.time.Duration;
import java.time.Instant;
public class StressTesterReflect {
private static Class testedClass = APlusB.class;
private static Class dataClass = APlusBData.class;
private static Class generator = ... |
package io.quarkus.vault.runtime.client.dto.totp;
import io.quarkus.vault.runtime.client.dto.VaultModel;
public class VaultTOTPValidateCodeBody implements VaultModel {
public VaultTOTPValidateCodeBody(String code) {
this.code = code;
}
public String code;
} |
package com.mscloudmesh.sentinel.config;
import cn.hutool.json.JSONUtil;
import com.alibaba.csp.sentinel.adapter.servlet.callback.UrlBlockHandler;
import com.alibaba.csp.sentinel.adapter.servlet.callback.WebCallbackManager;
import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.mscloudmesh.common.mode... |
/*
* ServicioEmpleado.java
*
* Created on 20 de junio de 2007, 14:01
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package com.curso.springdaohibernatejpa.servicio;
import com.curso.springdaohibernatejpa.dao.EmpleadoDao;
/**
*
* @author Administrador
... |
/*
* Copyright (c) 2007, 2021, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for a... |
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* 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... |
package com.majing.learning.elasticsearch.highapi.documentapi.getapi;
import com.majing.learning.elasticsearch.highapi.HighLevelClient;
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.get.GetRequest;
import org.elasticsearch.action.get.GetResponse;
import org.elasticsearch.client.Reque... |
package com.taotao.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.... |
package org.brapi.test.BrAPITestServer.repository.geno;
import org.brapi.test.BrAPITestServer.model.entity.geno.SampleEntity;
import org.brapi.test.BrAPITestServer.repository.core.BrAPIRepository;
public interface SampleRepository extends BrAPIRepository<SampleEntity, String> {
} |
package com.microsoft.bingads.v10.campaignmanagement;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaTy... |
/**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Aug 03 05:44:12 GMT 2018
*/
package org.mozilla.javascript.xml;
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.... |
/* Copyright (c) 2001-2018, The HSQL Development Group
* 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... |
package com.adv_1_4;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.... |
package com.akhil.placementcell.classes;
import java.util.HashMap;
import java.util.Map;
/**
* Created by Battula's on 10/26/2016.
*/
public class Activities {
private String title,content,image,date,date_post;
private int sno;
public Activities() {
}
public String getContent() {
retu... |
package org.infinispan.demo.online;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.P... |
// Copyright (c) 2019, 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.naming;
import static com.android.tools.r8.utils.DescriptorUtils.getPackageNa... |
package com.luna.order;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* @author luna
* 2021/6/4
*/
@SpringBootApplication
@EnableDubbo
public class OrderApplication {
... |
/*
* Copyright 2016-2018 Universitat Politècnica de València
* Copyright 2016-2018 Università della Calabria
* Copyright 2016-2018 Prodevelop, SL
* Copyright 2016-2018 Technische Universiteit Eindhoven
* Copyright 2016-2018 Fundación de la Comunidad Valenciana para la
* Investigación, Promoción y Estudios Comerci... |
package com.java2nb.novel.home.entity;
import io.swagger.annotations.ApiModelProperty;
import javax.annotation.Generated;
import java.util.Date;
public class HomeBook {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long id;
@ApiModelProperty(value = "小说ID")
@Generated("org.mybatis... |
package net.irext.irext_things;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.drawable.base;
import com.facebook.infer.annotation.Nullsafe;
/**
* A drawable can implement this interfa... |
package com.github.ka4ok85.wca.options;
import com.github.ka4ok85.wca.constants.Visibility;
import org.apache.commons.lang3.time.DateUtils;
import java.text.SimpleDateFormat;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeParseException;
import java.util.Dat... |
package com.saianfu.hxaf.jobqueue.network;
import android.content.Context;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Interface which you can implement if you want to provide a custom Network callback.
* Make sure you also implement ... |
/*
* Copyright (c) 2015, EMC Corporation.
* 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 conditions and the following di... |
package com.baidu.biz.IMPL;
import java.util.List;
import com.baidu.biz.SaleChanceBiz;
import com.baidu.dao.SaleChanceDao;
import com.baidu.dao.IMPL.SaleChanceDaoIMPL;
import com.baidu.struts.entity.CstCustomer;
import com.baidu.struts.entity.SalChance;
import com.baidu.struts.form.SaleChanceForm;
public class SaleC... |
/*
* 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... |
package com.thaiopensource.relaxng.pattern;
import org.relaxng.datatype.Datatype;
import org.relaxng.datatype.DatatypeBuilder;
import org.relaxng.datatype.DatatypeException;
import org.relaxng.datatype.DatatypeLibrary;
import org.relaxng.datatype.DatatypeLibraryFactory;
import com.thaiopensource.xml.util.WellKnownName... |
package logbook.gui.bean;
import java.text.SimpleDateFormat;
import logbook.annotation.Name;
import logbook.constants.AppConstants;
import logbook.dto.CreateItemDto;
/**
* 開発報告書のBean
*
*/
public class CreateItemReportBean {
/** 日付 */
@Name("日付")
private String date;
/** 開発装備 */
@Name("開発装備")... |
/*
* Copyright (C) 2020 The Baremaps 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 agre... |
/*
* Copyright 2019 Wultra 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 agreed to in... |
/*
* Copyright 2016-present Facebook, 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... |
package ru.stqa.pft.mantis.appmanager;
import org.apache.commons.net.ftp.FTPClient;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
public class FtpHelper {
private ApplicationManager app;
private FTPClient ftp;
public FtpHelper(ApplicationManager app) {
this.app... |
package com.superprofan.twoactivities;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
public class MainActivity extends AppCompatActivity {
public static final String EXTR... |
package joshie.harvest.buildings;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import joshie.harvest.HarvestFestival;
import joshie.harvest.api.HFApi;
import joshie.harvest.api.buildings.Building;
import joshie.harves... |
/*
* 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 (C) 2015 DataTorrent, 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 la... |
/*
* Copyright 2009 The Apache Software Foundation
*
* 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... |
//snippet-sourcedescription:[ListMetrics.java demonstrates how to list CloudWatch metrics.]
//snippet-keyword:[Java]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon Cloudwatch]
//snippet-service:[cloudwatch]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[2018-01-15]
//snippet-sourceauthor:[soo-aws]... |
package cn.ve.thirdgateway.api;
import cn.ve.feign.config.FeignConfiguration;
import cn.ve.feign.pojo.CommonResult;
import cn.ve.thirdgateway.pojo.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMap... |
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 fizzbuzz;
import java.util.ArrayList;
import java.util.List;
public class FizzBuzz14 {
public boolean isDivided(String isDividedNumberStr,String divideNumberStr) {
boolean result = false;
int isDividedNum = new Integer(isDividedNumberStr).intValue();
int divideNum = new Integer(div... |
/*L
* Copyright Oracle inc, SAIC-F
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-util/LICENSE.txt for details.
*/
package gov.nih.nci.ncicb.cadsr.common.util;
//Import IO related classes
import java.io.IOException;
// Necessary support classes
import java.util.P... |
package com.exactpro.th2.inframgr.k8s;
import com.exactpro.th2.inframgr.Config;
import com.exactpro.th2.inframgr.SecretsController;
import com.exactpro.th2.inframgr.errors.NotAcceptableException;
import com.exactpro.th2.inframgr.statuswatcher.ResourcePath;
import io.fabric8.kubernetes.api.model.Secret;
import io.fabri... |
package karshe.app.factpp_v1;
import android.app.ActionBar;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawa... |
package com.techreturners.exercise001;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
public class Exercise001Test {
@Test
public void checkHello() {
Exercise001 ex001 = new Exercise001();
assertEquals("Hello", ex001.c... |
/*
* 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 1998-2014 University Corporation for Atmospheric Research/Unidata
*
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on... |
/*
* 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 helvidios.cp.ch2.nonlineards.set;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
public class _11849_CD {
private static B... |
/*
* 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 br.com.senai.model;
/**
*
* @author Elisabete
*/
import java.util.Date;
public class User {
private int userid;
... |
package com.utag.phase1.dao;
import com.utag.phase1.dao.DaoService.UserDao;
import com.utag.phase1.domain.User;
import com.utag.phase1.util.FileTool;
import com.utag.phase1.util.GsonTool;
import org.springframework.stereotype.Repository;
import java.io.IOException;
import java.util.ArrayList;
@Repository
public clas... |
/*
* Copyright 2015-2020 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 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package com.zikozee.sfgpetclinic.services.springdatajpa;
import com.zikozee.sfgpetclinic.repositories.SpecialtyRepository;
import com.zikozee.sfgpetclinic.model.Speciality;
import com.zikozee.sfgpetclinic.services.SpecialtyService;
import java.util.HashSet;
import java.util.Set;
public class SpecialitySDJpaService ... |
package com.southwood.ad.dump.table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
* Created by nanzhao on 2019/2/10 10:28 PM
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdUnitTable {
private Long unitId;
private Integer unitStatus;
private ... |
package com.ibm.crypto.grep11.grpc;
import static io.grpc.MethodDescriptor.generateFullMethodName;
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.37.0)",
comments = "Source: server.proto")
public final class CryptoGrpc {
private CryptoGrpc() {}
public static final String SERVICE... |
package com.zs.letcode.array;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Random;
/**
* 数组中的第K个最大元素
* 在未排序的数组中找到第 k 个最大的元素。请注意,你需要找的是数组排序后的第 k 个最大的元素,而不是第 k 个不同的元素。
* <p>
* 示例 1:
* <p>
* 输入: [3,2,1,5,6,4] 和 k = 2
* 输出: 5
* 示例2:
* <p>
* 输入: [3,2,3,1,2,... |
package com.vaguehope.morrigan.server.boot;
import java.util.Collections;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Map.Entry;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Monitor;
public class... |
/*
* Copyright 2021 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 i... |
package ro.rasel.spring.microservices.component.eurekaclient.config.connection;
import ro.rasel.spring.microservices.common.utils.connection.SecuredConnectionConfig;
public interface RegistryServerConnectionConfig extends SecuredConnectionConfig {
} |
/**
* 多线程
* @package cn.coderoom.thread
* @author lim
* @email coderoom.cn@gmail.com
* @date 2020/1/9 11:32
*/
package cn.coderoom.thread; |
/* Copyright 2017 Miguel Gonzalez Sanchez
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
/**
* Defines interfaces and implementation classes for messaging templates.
*/
package org.springframework.messaging.core; |
package ghiceste.client.controllers;
import ghiceste.model.User;
import ghiceste.services.IServices;
import ghiceste.services.ServiceException;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Pas... |
/**
* Copyright (c) 2002-2013 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software F... |
package othello;
import java.awt.*;
class Board
{
// constants
public static final int SIZE = 8;
public static final int OFFSET_X = 20;
public static final int OFFSET_Y = 100;
public static final int SQUARE_SIZE = 70;
public static Color squareBackground = new Color(0,126,175);
p... |
package ru.mgusev.eldritchhorror.ui.fragment.pager;
import android.Manifest;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.res.Configuration;
import android.graphics.Color;
import android.net.Uri;
import android.os.Bundle;
import... |
package com.example.supermarket.sry.domain;
public class LogInfo {
private String ip;
private String url;
private String classMethod;
private Object[] args;
public LogInfo(String ip, String url, String classMethod, Object[] args) {
}
public String getIp() {
return ip;
}
p... |
package examengui;
import examendb.BordspelDAO;
import examenentity.Bordspel;
import examenentity.Product;
import examenentity.Tafel;
import examenentity.VervallenException;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
im... |
// Copyright 2015-2020 SWIM.AI 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 ... |
/*
* See the NOTICE file 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 License.
* You may obtain a copy of the License at
*
* http://www.apac... |
/*
* 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 org.example.cp.oms.spec.ext;
import io.github.dddplus.ext.IDomainExtension;
import org.example.cp.oms.spec.model.IOrderMain;
import javax.validation.constraints.NotNull;
/**
* 落库后的处理扩展点.
*/
public interface IPostPersistExt extends IDomainExtension {
void afterPersist(@NotNull IOrderMain model);
} |
package com.NoteFX;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.*;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
/**
*
* @author Bukola Jimoh
*/
public class NoteFXController {
@FXML MenuItem save;
@FXML private TextArea textArea;
@FXM... |
package com.haitang.framework.shiro.session;
import javax.servlet.http.HttpServletRequest;
import org.apache.shiro.session.Session;
import org.apache.shiro.session.mgt.SessionContext;
import org.apache.shiro.session.mgt.SessionFactory;
import org.apache.shiro.web.session.mgt.WebSessionContext;
import org.springframewo... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package android.support.v7.appcompat;
public final class R {
public static final class anim {
public static final int abc_fade_in = 0x7... |
/*
* Copyright (C) 2020 Microservice Systems, 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
*
* Unles... |
package com.mapabc.mapabcsdk.okhttp.utils;
import android.graphics.BitmapFactory;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import java.io.InputStream;
import java.lang.reflect.Field;
/**
* Created by zhy on 15/11/6.
*/
public clas... |
package domain.locationbased.foursquare;
import infrastructure.socialmedia.locationbased.foursquare.VenueDAO;
//Functional requirement 3.2
//Test case 144: Class domain.locationbased.foursquare.Venue is not allowed to use class infrastructure.socialmedia.locationbased.foursquare.VenueDAO
//Result: FALSE
public class V... |
/*
* Created by Force Porquillo on 8/8/20 1:33 AM
* FEU Institute of Technology
* Copyright (c) 2020. All rights reserved.
* Last modified 8/8/20 1:33 AM
*/
package com.force.codes.project.app.presentation_layer.views.fragments.viewpager;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import a... |
/**
* XOR, empowering Model Driven Architecture in J2EE applications
*
* Copyright (c) 2012, Dilip Dalton
*
* 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/l... |
package ru.job4j.inheritance;
/**
* Order - заказ.
*
* @author Stanislav (376825@mail.ru)
* @version $Id$
* @since 0.1
*/
public class Order {
/**
*/
private String name;
/**
* Constructor
* @param name - String
*/
public Order(String name) {
this.name = name;
}
... |
package au.org.consumerdatastandards.holder.model.banking;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Column;
import javax.persistence.Entity;
im... |
/**
* 中科方德软件有限公司<br>
* june_web_new:com.june.dao.back.system.file.FileDao.java
* 日期:2016年12月18日
*/
package com.june.dao.back.system.file;
import com.june.common.BaseDao;
import com.june.dto.back.system.file.FileDTO;
/**
* FileDao <br>
*
* @author 王俊伟 wjw.happy.love@163.com
* @blog https://www.github.com/june... |
package br.edu.model.bean;
/**
* Classe representa a tabela pagamento do banco de dados
*
*/
public class PagamentoBEAN {
private int id;
private String cpfCliente;
private double custoTotal;
private double valorRecebido;
private double valorRestante;
private String statusPagamento;
pri... |
package module1183packageJava0;
import java.lang.Integer;
public class Foo846 {
Integer int0;
public void foo0() {
new module1183packageJava0.Foo845().foo5();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 建群时的群设置
*
* @author auto create
* @since 1.0, 2016-10-26 17:43:37
*/
public class GroupSetting extends AlipayObject {
private static final long serialVersionUID = 7353354218952434674L;
/*... |
package localization.indoor.exactumlocator;
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 charts.ex1.screen.charts.config;
import io.jmix.charts.component.RadarChart;
import io.jmix.ui.data.impl.ListDataProvider;
import io.jmix.ui.data.impl.MapDataItem;
import io.jmix.ui.screen.*;
import org.springframework.beans.factory.annotation.Autowired;
@UiController("sample_PolarChart")
@UiDescriptor("polar... |
package org.hda.gaf.algorithm.evaluation.node;
import org.hda.gaf.algorithm.evaluation.direction.RelativeDirection;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* Created by marcus on 03.05.16.
*/
@Data
@NoArgsConstructor
public class Structure {
private boolean valid = true... |
package ec.com.gapatmej.views;
import ec.com.gapatmej.enums.ToolBarOptionEnum;
import ec.com.gapatmej.exceptions.ReturnException;
public class ToolBarView {
public static String generateOptions(ToolBarOptionEnum... args) {
StringBuilder strBuilder = new StringBuilder();
strBuilder = new StringBui... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.