text
stringlengths
7
995k
package kg.nurtelecom.cashbackapi.model; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @Getter @Setter @NoArgsConstructor @AllArgsConstructor public class BalanceHistoryLongModel { private Double amount; private String date; private Double i...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.query; /** * Common implementation for Item classes implementing the TaggableItem interface. * Note that this file exist in 3 copies that should be kept in sync: * * CompositeTaggableI...
package moe.pine.github.contribution.stats; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.UncheckedIOException; import java.nio.charset.StandardCharsets; import java.util.List; abstract class TestUtils { static String getContributionsHtml() { try { return IO...
package com.rest.services.restwebservices.user; import org.springframework.data.jpa.repository.JpaRepository; public interface UserRepository extends JpaRepository<User, Integer> { }
// 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.fourinone; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.io.ObjectOutputStream; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.ObjectInputStream; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.EOFExce...
package org.innovateuk.ifs.application.readonly.populator; import org.innovateuk.ifs.application.readonly.ApplicationReadOnlyData; import org.innovateuk.ifs.application.readonly.viewmodel.GenericQuestionReadOnlyViewModel; import org.innovateuk.ifs.application.resource.ApplicationResource; import org.innovateuk.ifs.app...
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme;...
/* * Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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 ...
/* * Copyright 2013-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...
/** * 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 2018 Aleksander Jagiełł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 ag...
/* * 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 org.klose.concurrency.synchronizer; import java.util.concurrent.Callable; import java.util.concurrent.ExecutionException; impo...
package chapter1.section3; import edu.princeton.cs.algs4.Queue; import edu.princeton.cs.algs4.Stack; import edu.princeton.cs.algs4.StdOut; import java.util.StringJoiner; /** * Created by Rene Argento on 8/23/16. */ // Thanks to Vivek Bhojawala (https://github.com/VBhojawala) for mentioning that the exercise should...
/* * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by...
package lt.brilingas.guestregistry.controller.controllers; import lt.brilingas.guestregistry.data.dto.event.EventDTO; import lt.brilingas.guestregistry.service.api.IEventService; import lt.brilingas.guestregistry.service.api.ResourceNotFoundException; import lt.brilingas.guestregistry.service.api.FieldNotValidExceptio...
/* * ModelCC, under ModelCC Shared Software License, www.modelcc.org. Luis Quesada Torres. */ package test.languages.arithmeticcalculator2.expressions; import test.languages.arithmeticcalculator2.Expression2; import org.modelcc.*; /** * @author elezeta */ @Prefix("\\(") @Suffix("\\)") public class Parenthesized...
package seedu.address.storage; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.good.Good; import seedu.address.model.good.GoodName; import seedu.address.model.good.GoodQ...
/** * The MIT License * Copyright (c) 2014 Benoit Lacelle * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
package com.herokuapp.komorowskidev.portfolio.aspect; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Before; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; /** * klasa aspectowa, loguje wejścia na podstrony * * @author Krzys...
package play.runsupport.classloader; import java.io.IOException; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.URL; import java.util.Collections; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashSet; import java.util.List; import java...
package com.utsavstha.futsalbook; import android.app.SearchManager; import android.content.Context; import android.content.res.Configuration; import android.support.design.widget.NavigationView; import android.os.Bundle; import android.support.v4.view.GravityCompat; import android.support.v4.view.ViewPager; import and...
package adnyey.i2itian; import com.google.firebase.database.IgnoreExtraProperties; import java.io.Serializable; import java.util.List; /** * Created by Mahajan-PC on 30-04-2017. */ @IgnoreExtraProperties public class Packer implements Serializable { public String pro_title; public String pro_abstract; ...
package ca.quickheaven.ocjp.practice.test.free; import java.io.IOException; import java.nio.file.Files; import java.nio.file.OpenOption; import java.nio.file.Paths; import java.nio.file.StandardOpenOption; public class Question11 { public static void main(String[] args) throws IOException { // Which of t...
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
package com.atguigu.gmall.pms.mapper; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import static org.junit.jupiter.api.Assertions.*; @SpringBootTest class CategoryMapperTest { @Autowired private...
/* * License: source-license.txt * If this code is used independently, copy the license here. */ package wombat.gui.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.Action; import wombat.gui.frames.MainFrame; import wombat.gui.icons.IconManager; /** * Rest the ...
package com.tcwong.pengms.filter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; i...
package home.core; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.Flushable; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.StringWriter; import java.lang.management.ManagementFactory; import java.lang.reflect.Array; import j...
package thelm.jaopca.materials; import java.util.Collection; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.TreeSet; import java.util.stream.Collectors; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import n...
package ghiceste.server; import ghiceste.model.*; import ghiceste.persistence.repository.AttendingRepository; import ghiceste.persistence.repository.GameRepository; import ghiceste.persistence.repository.UserRepository; import ghiceste.services.IObserver; import ghiceste.services.IServices; import ghiceste.services.Se...
//,temp,UsageNetworkOfferingDaoImpl.java,56,81,temp,UsageStorageDaoImpl.java,117,144 //,3 public class xxx { @Override public void update(UsageNetworkOfferingVO usage) { TransactionLegacy txn = TransactionLegacy.open(TransactionLegacy.USAGE_DB); try { txn.start(); if (usa...
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
package view.vis_elements; import java.util.ResourceBundle; import interpreter.CommandTreeInterpreter; import javafx.scene.layout.VBox; import view.menus.HistoryMenu; import view.menus.PenMenu; import view.menus.TurtleAvatarMenu; import view.menus.UserCommandsMenu; public class ControlPanelLeft extends VBox { priva...
package org.lastmilehealth.collect.android.cases.impl; import org.lastmilehealth.collect.android.cases.Case; import org.lastmilehealth.collect.android.cases.CaseCollection; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; /** * Created by Anton Donchev on 05.05.2017. */ public cl...
/** * Copyright 2016-2017 Symphony Integrations - Symphony 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package org.opencb.opencga.analysis.file; import org.opencb.commons.datastore.core.Query; import org.opencb.commons.datastore.core.QueryOptions; import org.opencb.opencga.analysis.tools.OpenCgaTool; import org.opencb.opencga.catalog.db.api.DBAdaptor; import org.opencb.opencga.catalog.db.api.FileDBAdaptor; import org.o...
package com.jiean.common.utils; import java.io.PrintWriter; import java.io.StringWriter; import org.apache.commons.lang3.exception.ExceptionUtils; /** * 错误信息处理类。 * * @author george */ public class ExceptionUtil { /** * 获取exception的详细错误信息。 */ public static String getExceptionMessage(Throwable e)...
package com.spatial4j.core.shape; import com.spatial4j.core.context.SpatialContext; import com.spatial4j.core.distance.AbstractDistanceCalculator; import com.spatial4j.core.distance.DistanceCalculator; /** Ameliorates some random tests cases in which shapes barely tough or barely not * touch. */ class RoundingDistCa...
/* * Copyright (c) 2016, 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.or...
package com.yunpuvip.pms.generator.engine.config; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import java.io.Serializable; /** * <p> * 菜单表 * </p> * * @author stylefeng * @since 2017-07-11 */ public class...
/* * Copyright (C) 2011 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 agree...
/* * 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 2014 - 2020 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 nerd.tuxmobil.fahrplan.congress.changes; import android.content.Context; import android.graphics.Paint; import android.support.annotation.ColorInt; import android.support.v4.content.ContextCompat; import android.view.View; import android.widget.TextView; import java.util.List; import nerd.tuxmobil.fahrplan.c...
import DataStructure.LinkedList.LinkedList;; /** ** Queue Implementation * * @param <T> * @author Javier Paez,Ken Morel */ public class Queue<T> { private LinkedList<T> queue; public Queue() { queue = new LinkedList<T>(); } /** ** Inserts the specified element into this queue if it...
package com.xclib.mvvm; import android.arch.lifecycle.ViewModel; import android.arch.lifecycle.ViewModelProvider; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import java.util.HashMap; import java.util.Map; import javax.inject.Inject; import javax.inject.Provider; /** */ p...
/******************************************************************************* * Copyright 2013 Andreas Oehlke * * 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 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 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 "license" fil...
package info.elyasi.java.javafx_stimulsoft_maven_mysql; import com.stimulsoft.base.exception.StiException; import com.stimulsoft.base.exception.StiExceptionProvider; import com.stimulsoft.base.localization.StiLocalization; import com.stimulsoft.base.serializing.StiDeserializationException; import com.stimulsoft.flex.S...
/** * 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 robocode; import robocode.naval.NavalRules; import java.io.Serializable; /** * @author Thales B.V. / Colin Heppener (Naval Robocode contributor) * Created this class to reduce the amount of duplicate code, the serialization classes are still in their original classes */ public abstract class Projectile im...
package com.inventory.manager.service.utils.readOnlyConnection; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; @Configuration @EnableAspectJAutoProxy public class ReadOnlyConfigurati...
package razerdp.demo.fragment.other; import android.view.View; import android.widget.Button; import razerdp.basepopup.BasePopupWindow; import razerdp.basepopup.R; import razerdp.demo.popup.MenuPopup; /** * Created by 大灯泡 on 2016/1/22. * menu */ public class MenuPopupFrag extends SimpleBaseFrag { private Butto...
package io.mhl.po; import java.util.Date; public class Administrator { private Integer administratorId; private String username; private String realName; private String email; private String encryptedPassword; private Byte status; private Date createTime; private String avatarUr...
package com.larky2k.irc.items.ingots; import com.larky2k.irc.IRCGlobal; import com.larky2k.irc.Main; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class copperIngot extends Item { public copperIngot(String name, CreativeTabs tab) { this.setUnlocalizedName(name); this.se...
package mastodon4j.internal; import mastodon4j.api.TrendResource; import mastodon4j.domain.Service; import mastodon4j.entity.Trend; import mastodon4j.entity.share.Response; import net.socialhub.http.HttpMediaType; import net.socialhub.http.HttpRequestBuilder; import static mastodon4j.internal._InternalUtility.proceed...
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.javaagent.instrumentation.jaxrsclient.v2_0; import javax.ws.rs.core.Feature; import javax.ws.rs.core.FeatureContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class ClientTracingFeature...
/** * Copyright 2013 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 ...
/* * Copyright 2013-2014 eBay 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 applicable l...
/** * MIT License * * Copyright (c) 2017 Quavo * Copyright (c) 2017 Jordan Abraham * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
package com.coolweather.android.gson; /** * 作者:陈俊伟 on 2018/4/22 0022 21:07 * <p> * 作用:xxx */ public class AQI { public AQICity city; public class AQICity { public String aqi; public String pm25; } }
package grafioschtrader.reportviews.transaction; import grafioschtrader.GlobalConstants; import grafioschtrader.common.DataHelper; import grafioschtrader.entities.Transaction; import grafioschtrader.reportviews.securityaccount.SecurityPositionSummary; /** * Contains the gain/loss of a single transaction. For every T...
package de.eimantas.eimantasbackend.entities; import io.swagger.annotations.ApiModel; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import lombok.ToString; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import java.math....
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package net.dynamicdungeon.fileutils; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.util.Enumeration; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import java...
package tp.pr5.mv.instrucciones.operacionesBinarias; import tp.pr5.mv.instrucciones.*; import tp.pr5.mv.instrucciones.excepciones.InstructionExecutionException; import tp.pr5.mv.instrucciones.excepciones.StackOperandException; import tp.pr5.mv.modulos.Memory; import tp.pr5.mv.modulos.OperandStack; import tp.pr5.mv.mod...
package com.ibenben.domain.weishop; import java.io.Serializable; public class AdminUserWithBLOBs extends AdminUser implements Serializable { private String actionList; private String navList; private String todolist; private static final long serialVersionUID = 1L; public String getActionList(...
/* * Copyright (c) 2008, Harald Kuhr * 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 com.egzosn.pay.fuiou.api; import com.alibaba.fastjson.JSONObject; import com.egzosn.pay.common.api.BasePayService; import com.egzosn.pay.common.bean.*; import com.egzosn.pay.common.exception.PayErrorException; import com.egzosn.pay.common.http.HttpConfigStorage; import com.egzosn.pay.common.http.UriVariables; i...
package eu.bcvsolutions.idm.acc.service.impl; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import java.time.ZonedDateTime; import java.util.Ar...
/** * Copyright (C) 2010-2012 eBusiness Information, Excilys 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 ...
package com.lgwork.util; import java.net.URLEncoder; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang3.StringUtils; import com.google.common.net.HttpHeaders; import com.google.common.net.MediaType; /** * * http响应头 * * @author irays * */ public class HttpRespHeaderUtils { /** ...
package com.mobile.countme.framework; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.mobile.countme.implementation.views.introduction_pages.*; /** * Created by Kristian on 11/09/2015. */ public class Introduction...
/* * MIT License * * Copyright (c) 2017-2018 nuls.io * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
/** * Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lic...
/* * Copyright 2017 Sam Hume. * * 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 i...
package com.jiuzhang.flashsale; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import java.util.Date; import com.jiuzhang.flashsale.service.impl.RocketMQServiceImpl; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot....
package com.aishang.app.data.model; /** * Created by song on 2016/2/23. */ public class JMemberProfileBasicEditParam { private String memberAccount; private String cookie; private String imei; private float googleLat; private float googleLng; private Data data; public String getMemberAccount() { r...
/* * Copyright 2002-2012 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...
/** * @(#)ClientInput.java * * Copyright: Copyright (c) 2003 Carnegie Mellon University * * */ import java.io.BufferedReader; import java.io.InputStreamReader; /** * This class represents a client input component which is responsible for getting user input and * sending appropriate command events. These com...
package com.danielstone.materialaboutlibrarydemo; import android.content.Context; import android.net.Uri; import android.os.Bundle; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.material.snackbar.Snackbar; import androidx.core.content.ContextCompat; import android.u...
package com.vaadin.tests.components.grid; import java.util.stream.Collectors; import com.vaadin.annotations.Widgetset; import com.vaadin.server.VaadinRequest; import com.vaadin.tests.components.AbstractTestUIWithLog; import com.vaadin.tests.data.bean.Person; import com.vaadin.tests.data.bean.Sex; import com.vaadin.ui...
package com.dataBytes.dao; import java.util.List; import java.util.Set; import com.dataBytes.dto.Employee; public interface EmployeeDAO { public boolean isExist(Long id); public Employee getById(Long id); public List<Employee> getByName(String name, int firstResult, int maxResults); public List<Employee> get(S...
/* * 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 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package com.google.javascript.clutz; import static com.google.javascript.clutz.DeclarationGeneratorTests.JS_NO_EXTERNS; import static com.google.javascript.clutz.DeclarationGeneratorTests.TS_SOURCES; import static org.junit.Assert.fail; import com.google.common.base.Charsets; import com.google.common.base.Joiner; imp...
/* * Autopsy Forensic Browser * * Copyright 2015-16 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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:/...
package com.huangkun.duskweather; 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 vo...
/* * 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 com.learn.gen; import com.learn.common.security.annotation.EnableLearnFeignClients; import org.springframework.boot.SpringApplication; import org.springframework.cloud.client.SpringCloudApplication; import com.learn.common.security.annotation.EnableCustomConfig; import com.learn.common.swagger.annotation.Enabl...
/* * 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 2013-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright (c) Microsoft Corporation * * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including without limitation * ...
/* * Copyright 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://www.apache.org/licenses/LICENSE-2.0 * * or in ...
package com.vladsch.flexmark.ext.admonition; import com.vladsch.flexmark.parser.Parser; import com.vladsch.flexmark.util.sequence.BasedSequence; import com.vladsch.flexmark.util.sequence.mappers.SpecialLeadInHandler; import org.junit.Test; import java.util.Collections; import java.util.List; import static org.junit....
package com.ajjpj.amapper.classes.duplicateidentity; import com.ajjpj.amapper.javabean.annotation.DeferredProperty; /** * @author arno */ public class ChildA { private ParentA parent; private String name; @DeferredProperty public ParentA getParent () { return parent; } public void ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...