text
stringlengths
7
1.01M
package com.cvnchina.jms.pubsub; import org.apache.activemq.ActiveMQConnection; import org.apache.activemq.ActiveMQConnectionFactory; import javax.jms.*; /** * Created by ztianyu(ztianyu@cvnchina.com) on 2017/3/15. * project : jmsTest * package : com.cvnchina.jms.pubsub * <p> * <p> * COPYRIGHT BY CVNCHINA 2017...
package com.yufeixuan.captcha; import java.awt.*; import java.io.ByteArrayOutputStream; import java.io.OutputStream; /** * 验证码抽象类 * Created by phoenix on 2019-04-26 上午 10:08. */ public abstract class Captcha extends Randoms { protected Font font = new Font("Arial", Font.BOLD, 32); // 字体Verdana protected in...
import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.annotation.*; import java.lang.Object; import org.json.JSONObject; import org.json.JSONArray; @WebServlet("/json") // Configure the request URL for this servlet (Tomcat 7/Servlet 3.0 upwards) public class JS...
/* * Copyright (c) 2004-2022, 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 retain the above copyright notice, this * list of cond...
package cz.metacentrum.perun.controller.service; import java.util.Date; import java.util.List; import cz.metacentrum.perun.controller.model.FacilityState; import cz.metacentrum.perun.controller.model.ResourceState; import cz.metacentrum.perun.controller.model.ServiceState; import cz.metacentrum.perun.core.api.Facilit...
package org.kuali.ole.describe.keyvalue; import org.kuali.ole.deliver.bo.OleCirculationDesk; import org.kuali.ole.deliver.bo.OleDeliverRequestBo; import org.kuali.ole.describe.bo.OleLocation; import org.kuali.rice.core.api.util.ConcreteKeyValue; import org.kuali.rice.core.api.util.KeyValue; import org.kuali.rice.krad....
/* * Copyright (c) 2020 Karl Oczadly (karl@oczadly.uk) * Licensed under the MIT License */ package uk.oczadly.karl.jnano.model.block; import com.google.gson.JsonObject; import com.google.gson.annotations.Expose; import uk.oczadly.karl.jnano.internal.JNH; import uk.oczadly.karl.jnano.internal.NanoConst; import uk.o...
package com.hw.progsreader; import android.app.ListActivity; import android.content.Intent; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.ListView; import android.widget.Toast; import com.hw.progsreader.objs.Option; import com.hw.progsreader.utils.FileArrayAda...
/* * Copyright 2013-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 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.subscriptions; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import stat...
/* MazeRunnerII: An RPG Copyright (C) 2011-2012 Eric Ahnell Any questions should be directed to the author via email at: products@puttysoftware.com */ package com.puttysoftware.mazerunner3.creatures.personalities; import java.io.IOException; import java.util.ArrayList; import com.puttysoftware.fileutils.ResourceSt...
package com.artemis.trees_unlocked.mixin; import net.minecraft.block.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.world.TestableWorld; import net.minecraft.world.gen.trunk.TrunkPlacer; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongep...
/* Copyright 2021 Enjin Pte. 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 to...
package com.example.cccue.Controller; import com.example.cccue.Entity.Department; import com.example.cccue.Entity.Person; import com.example.cccue.Repository.DepartmentRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util....
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.milo.browse; import java.net.URISyntaxException; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import org.apache.camel.spi.EndpointUriFactory...
package epicsquid.roots.ritual; import epicsquid.roots.entity.ritual.EntityRitualBase; import epicsquid.roots.entity.ritual.EntityRitualWindwall; import epicsquid.roots.init.ModItems; import epicsquid.roots.ritual.conditions.ConditionItems; import epicsquid.roots.util.types.Property; import net.minecraft.init.Items; i...
package com.qa.ims.controller; public class Items_OrdersController { }
package datatools.ex1.screen.order; import io.jmix.ui.screen.LookupComponent; import io.jmix.ui.screen.StandardLookup; import io.jmix.ui.screen.UiController; import io.jmix.ui.screen.UiDescriptor; import datatools.ex1.entity.Order; @UiController("sample_Order.browse") @UiDescriptor("order-browse.xml") @LookupComponen...
package me.mrdaniel.npcs.interfaces.mixin; public interface IMixinEntityVillager { void setCareerId(final int careerId); }
package com.mauriciotogneri.jan.compiler.lexical; public class Token { public final String lexeme; public final Type type; public final int line; public final int column; public enum Type { // general SYMBOL, // IMPORT, // ANONYMOUS_FUNCTION, // // deli...
/* * 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 hyweb.jo.fun; import hyweb.jo.IJOFunction; import hyweb.jo.JOProcObject; import hyweb.jo.model.IJOField; import hywe...
package io.swagger.api; import javax.xml.bind.annotation.XmlTransient; @javax.xml.bind.annotation.XmlRootElement @javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaJerseyServerCodegen", date = "2019-01-02T19:35:10.306Z[GMT]")public class ApiResponseMessage { public static final int ERR...
/* * 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...
/* * web: org.nrg.xnat.turbine.modules.screens.PipelineScreen_details * XNAT http://www.xnat.org * Copyright (c) 2005-2017, Washington University School of Medicine and Howard Hughes Medical Institute * All Rights Reserved * * Released under the Simplified BSD. */ package org.nrg.xnat.turbine.modules.screens; ...
package com.github.dakusui.jcunit.core.reflect; import com.github.dakusui.jcunit.core.utils.Checks; import com.github.dakusui.jcunit.core.utils.Utils; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.Comparator; import java.util.List; import static java.util.Arrays.asList; public e...
/* * 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 2019 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package io.renren.modules.app.controller; import io.renren.common.utils.R; import io.renren.common.validator.ValidatorUtils; import io.renren.modules.app.service.UserService; import io.renren.modules.app.form.LoginForm; import io.renren.modules.app.utils.JwtUtils; import io.swagger.annotations.Api; import io.swagger....
package com.yonyou.weixin.mp.util.http; import com.yonyou.weixin.common.bean.result.WxError; import com.yonyou.weixin.common.exception.WxErrorException; import com.yonyou.weixin.common.util.http.RequestExecutor; import com.yonyou.weixin.common.util.http.Utf8ResponseHandler; import com.yonyou.weixin.common.util.json.Wx...
package software.amazon.cloudformation.moduledefaultversion; import software.amazon.awssdk.services.cloudformation.CloudFormationClient; import software.amazon.cloudformation.proxy.AmazonWebServicesClientProxy; import software.amazon.cloudformation.proxy.Logger; import software.amazon.cloudformation.proxy.ProgressEven...
package com.example.instagramclone; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import com.parse.LogInCallback; i...
/* * 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 ...
/* SPDX-License-Identifier: Apache-2.0 */ package org.odpi.openmetadata.adapters.repositoryservices.graphrepository.eventmapper; import org.odpi.openmetadata.frameworks.connectors.Connector; import org.odpi.openmetadata.frameworks.connectors.VirtualConnectorExtension; import org.odpi.openmetadata.frameworks.connectors...
package edu.umich.soar.gridmap2d.soar; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.Map; import java.util.Set; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import edu.umich.soar.gridmap2d.Direction; import edu.umic...
/** * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual * contributors by the @authors tag. See the copyright.txt in the * distribution for a full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * ...
package ru.job4j; /** * @author Igor Khmelevskiy (igorkkhm@gmail.com) * @version $Id$ * @since 0.1 * Класс Учитель, наследник класса Профессия */ public class Teacher extends Profession { public void teach() { } }
package smartworkflow.dwfms.urifia.fmml.miu.view; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Font; import java.util.ArrayList; import java.util.Vector; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JList; import javax.swing.JScrollPane; import javax.swing.JT...
/* * Copyright 2014 Red Hat, Inc. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public License is available at * http://www.eclipse.o...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.longbow.cache.redisson; import org.redisson.Redisson; import org.redisson.api.RedissonClient; import org.redisson.config.Config; import org.redisson.config.SingleServerConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalO...
import java.io.*; import java.util.*; /** * * @author Mrs.Peterson * @version Sept 2018 */ public class FFB_2018_K_Peterson_FinancialForensics { public static void main(String[] args) throws FileNotFoundException { Scanner sc = new Scanner(new File("K.txt")); int n = sc.nextInt(); s...
package zoo.imaginary.model; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Represents the content of between the opening a closing family tag in case of xml file. * Represents a line from the file in case of cvs file. */ public class Row { private List<Column> colum...
/** * Copyright (c) 2005-2012 https://github.com/zhangkaitao * * Licensed under the Apache License, Version 2.0 (the "License"); */ package graduation.design.colleges.schoolroom.help.cache; import org.springframework.beans.BeansException; import org.springframework.beans.factory.NoSuchBeanDefinitionException; impo...
/* Copyright (C) 2013-2020 Expedia 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...
package ttp.newrep; import java.util.List; public class Item { public int weight; public int profit; public boolean isSelected; public int itemId; public double[] profitPerWc; public Item(int profit, int weight, int itemId){ this.profit = profit; this.weight = weight; this.itemId = itemId; this.isSele...
package com.andbase.library.view.refresh; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.RectF; import android.g...
package org.onvif.ver10.recording.wsdl; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTy...
package com.awen.codebase.activity.webview; import android.view.View; import android.webkit.JsResult; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.widget.ProgressBar; /** * @ClassName: AppletWebChromeClient * @Author: AwenZeng * @CreateDate: 2020/10/22 18:00 * @Description...
/* * Copyright 2014 - 2020 Michael Rapp * * 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...
/** * Copyright (c) 2003-2017 The Apereo Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/ecl2 * * Unless requ...
import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; public class Algorithm3 { public CircleIntersectionsProgram circleIntersectionsProgram; public ArrayList<Point> allIntersections; public PriorityQueue<EventPoint> allEventPoints = new PriorityQueue<>(); public Array...
/******************************************************************************* * Copyright (c) 2019 Infostretch Corporation * * 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 r...
/* * 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 controllers; /** * Created by adrian on 02.07.17. */ public class SpecializationController { }
package com.synopsys.integration.alert.component.certificates.web; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.nio.charset.Charset; import java.security.KeyStore; import java.util.Optional; import org.apache.commons.io.FileUtils; import org.springframework.core.io.Cla...
package play.template2; import org.junit.Test; import java.util.HashMap; import java.util.Map; import static org.assertj.core.api.Assertions.assertThat; public class DefInScriptsRemoverTest { @Test public void testIt() { TemplateSourceRenderer r = new TemplateSourceRenderer( new GTTemplateRepoB...
package snippets; import io.smallrye.mutiny.Multi; import io.smallrye.mutiny.Uni; import org.junit.Test; import static org.assertj.core.api.Assertions.assertThat; public class UniNullTest { @Test public void uni() { Uni<String> uni = Uni.createFrom().item(() -> null); // tag::code[] ...
package net.thucydides.core.pages; import net.thucydides.core.webdriver.javascript.JavascriptExecutorFacade; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.openqa.selenium.*; import org.openqa.selenium.support.pagefactory.ElementLocator; impo...
package springcourse.exercises.exercise4.dao.api; import springcourse.exercises.exercise4.model.Member; import java.util.Collection; /** * @author Amit Tal * @since 3/24/14 */ public interface IMemberDao { Member createMember(Member member); boolean memberExist(String memberId); Collection<Member> ...
package benchmarks.CLEVER.multiple.Eq; public class newV { private int lib(int x) { return x % 6; } int client(int x){ x = x*5*6; if (lib(x)==0){ return 1; }else{ return 0; } } }
/* * Copyright (C) 2007 The Guava 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...
package com.pugnascotia.reactdemo.account; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import static com.pugnascotia.reactdemo.utils.State.populateModel; /** * Han...
package eBayPrep; public class _136SingleNumber { public static void main(String[] args) { System.out.println(singleNumber(new int[]{1,3,2,4,1,3,4})); } public static int singleNumber(int[] nums) { if(nums.length==1) return nums[0]; int output=nums[0]; for (int i = 1; i < nums.length; i++) { output^=...
/* * 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 John Grosh (john.a.grosh@gmail.com). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.ppdai.dockeryard.proxy.dao; import com.ppdai.atlas.model.AppDto; import com.ppdai.atlas.model.OrgDto; import com.ppdai.dockeryard.core.dto.ImageDto; import com.ppdai.dockeryard.core.exception.DockeryardBaseException; import com.ppdai.dockeryard.core.mapper.EventLogMapper; import com.ppdai.dockeryard.core.m...
package org.anddev.andengine.entity.particle; import org.anddev.andengine.engine.handler.physics.PhysicsHandler; import org.anddev.andengine.entity.sprite.Sprite; import org.anddev.andengine.opengl.texture.region.TextureRegion; import org.anddev.andengine.opengl.vertex.RectangleVertexBuffer; /** * (c) 2010 Nicolas G...
package com.ycbjie.ycandroid.container; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import com.ycbjie.ycandroid.R; public class F...
/* * 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 net.hualisheng.springBootWebDemo.model; import java.util.ArrayList; import java.util.Date; import java.util.List; public class OrderPackageRuleExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public OrderPackageRuleExample() { ...
package com.exaroton.api.ws.data; public class HeapUsage { /** * heap usage in bytes */ private final long usage; public HeapUsage(long usage) { this.usage = usage; } /** * get heap usage * @return used heap in bytes */ public long getUsage() { return ...
package de.thro.inf.prg3.a06.model; import com.google.gson.annotations.SerializedName; public class JokeResponse { @SerializedName("type") private String type; @SerializedName("value") private Joke value; public Joke getValue() { return value; } }
package com.brine.haileader.googletaskautosync.sync; import com.brine.haileader.googletaskautosync.db.TaskDb; import com.brine.haileader.googletaskautosync.domain.Task; import java.util.List; /** * Created by HaiLeader on 11/2/2016. */ public class TaskSyncLocalDatastore implements Datastore<Task> { private T...
/* * City4Age Project * Horizon 2020 * */ package eu.city4age.dashboard.api.pojo.dto; import java.util.ArrayList; /** * * */ public class DiagramMonthInterval { Integer start; Integer end; ArrayList<DiagramDataPointSet> diagramDataPointSets = new ArrayList<DiagramDataPointSet>(); public DiagramMonthInt...
package com.app.lyckan.showcity; import android.content.Intent; import android.databinding.DataBindingUtil; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Toast; import com.app.lyckan.showcity.databinding.ActivityLoginBinding; import com.app....
// ============================================================================ // // Copyright (C) 2006-2017 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...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
package ru.stqa.pft.rest.model; import java.util.Objects; public class Issue { //делаем набор атрибутов: private int id; private String subject; private String description; private String state_name; // Геттеры: public int getId() { return id; } public String getSubject(...
package me.acdean.ziqqurat; import static me.acdean.ziqqurat.Main.SIZE; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import processing.core.PConstants; import processing.core.PShape; /* ** Spike */ public class Spike extends Enemy { public static final int SPIKE = -2; // grid marker private ...
/* * Copyright (c) 2008-2016 Haulmont. * * 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...
/* * 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.common.memory; import androidx.annotation.VisibleForTesting; import com.facebook.common.internal.Preconditi...
/** * Copyright 2019 ForgeRock AS. * * 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, ...
package com.lufac.jijin.test.repository; import com.lufax.jijin.base.utils.MapUtils; import com.lufax.jijin.fundation.constant.FundSaleCode; import com.lufax.jijin.fundation.constant.TradeRecordStatus; import com.lufax.jijin.fundation.constant.TradeRecordType; import com.lufax.jijin.fundation.dto.JijinTradeRecordCount...
/* * Copyright 2010-2021 Australian Signals Directorate * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
package seedu.foodiebot.commons.util; import static java.util.Objects.requireNonNull; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Optional; import java.util.logging.Level; import java.util.logging.Logger; import com.fasterxml.jackson.annotation.JsonAutoDetect; ...
package com.kachidoki.ma.kimgpicker; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an ...
package com.sistemaprematricula.services; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.sistemaprematricula.models.user.Student; import com.sistemaprematricula.repositories.StudentRepository; ...
/* * 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...
/* * ________________________________________________________________________________________ * * Y O O R E E K A * A library for data mining, machine learning, soft computing, and mathematical analysis * ________________________________________________________________________________________ * ...
package chariot.model; public sealed interface StreamEvent extends Model { enum Type { gameStart, gameFinish, challenge, challengeCanceled, challengeDeclined } Type type(); default String id() { // --enable-preview // return switch(this) { // case GameEvent ge -> ge.game().id...
/* * Swaggy Jenkins * Jenkins API clients generated from Swagger / Open API specification * * The version of the OpenAPI document: 1.1.2-pre.0 * Contact: blah@cliffano.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edi...
package com.future.newmall.ware.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotat...
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
package pl.makary.entity; import lombok.Data; import org.hibernate.annotations.Fetch; import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.Parameter; import org.hibernate.annotations.SQLDelete; import org.springframework.data.annotation.CreatedBy; import org.springframework.data.annotat...
/* * Protocoder * A prototyping platform for Android devices * * Victor Diaz Barrales victormdb@gmail.com * * Copyright (C) 2014 Victor Diaz * Copyright (C) 2013 Motorola Mobility LLC * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated document...
package org.jboss.resteasy.test.client; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.container.test.api.RunAsClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder; import javax.ws.rs.client.ClientBuilder; impor...
package com.fenrir.filesorter.model.statement.predicate; import com.fenrir.filesorter.model.exceptions.ExpressionFormatException; import com.fenrir.filesorter.model.file.FileData; import com.fenrir.filesorter.model.statement.provider.FileNameProvider; import com.fenrir.filesorter.model.statement.provider.FileSizeProvi...
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package com.amazonaws.encryptionsdk; import static com.amazonaws.encryptionsdk.multi.MultipleProviderFactory.buildMultiProvider; import static java.util.Collections.singletonMap; import static org.junit.Assert....
package top.jfunc.common.http.component.okhttp3; import okhttp3.Request; import top.jfunc.common.http.component.AbstractHeaderHandler; import top.jfunc.common.http.request.HttpRequest; import top.jfunc.common.http.util.OkHttp3Util; import top.jfunc.common.utils.MultiValueMap; import java.io.IOException; /** * @auth...
/** * 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...