text
stringlengths
7
995k
/* * 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 io.github.wendergalan.hrworker.repositories; import io.github.wendergalan.hrworker.entities.Worker; import org.springframework.data.jpa.repository.JpaRepository; public interface WorkerRepository extends JpaRepository<Worker, Long> { }
package org.xbib.netty.http.client.test.retry; import org.junit.jupiter.api.Test; import org.xbib.netty.http.client.api.BackOff; import org.xbib.netty.http.client.retry.ExponentialBackOff; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; /** * ...
/* * Copyright (c) 2020 Nike, 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 ...
/* * 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 ...
// Targeted by JavaCPP version 1.5.2-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.tensorflow; import org.bytedeco.tensorflow.Allocator; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.tensorflow.global.tensorflow.*; /** Transforms a sca...
package implementations.dm_kernel; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.ServerSocketChannel; import java.time.Duration; import java.util.Arrays; import java.util.HashMap; import java.util.Map; i...
/* * Copyright 2015-2018 _floragunn_ GmbH * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package br.com.rangood.pdv.rangoodpdvproductservice.controller.updateProductClass; import br.com.rangood.pdv.rangoodpdvproductservice.controller.RestErrorHandler; import br.com.rangood.pdv.rangoodpdvproductservice.controller.ValidationErrorHandler; import br.com.rangood.pdv.rangoodpdvproductservice.model.ProductClass;...
import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; import edu.princeton.cs.algs4.Edge; import edu.princeton.cs.algs4.EdgeWeightedGraph; import java.util.ArrayList; public class CSVReader { private static final String REGEX = "(,(?=\\S)|:)"; /** * Initializes all the data to b...
package general.common; import akka.Done; import akka.actor.ActorSystem; import akka.stream.Materializer; import akka.stream.javadsl.Sink; import akka.stream.javadsl.Source; import akka.util.ByteString; import com.diffplug.common.base.Errors; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson...
/* * 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 u...
/* * Copyright 2015 Vitaly Litvak (vitavaque@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 appl...
package ru.job4j.simplearray; /** * класс RoleStore. Хранит Role. * * @author Dmitriy Balandin (d89086362742@yandex.ru) * @version $Id$ * @since 14.05.2018 */ public class RoleStore<Role extends Base> extends AbstractStore<Role> { public RoleStore(int size) { super(size); } }
package com.company.project.entity; import com.company.project.entity.BaseEntity; import com.baomidou.mybatisplus.annotation.*; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; import lombok.Data; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; /** * 会员钱包 * ...
package com.rbkmoney.payout.manager.handler; import com.rbkmoney.damsel.base.InvalidRequest; import com.rbkmoney.payout.manager.*; import com.rbkmoney.payout.manager.domain.tables.pojos.CashFlowPosting; import com.rbkmoney.payout.manager.exception.*; import com.rbkmoney.payout.manager.service.CashFlowPostingService; i...
package com.icecondor.nest.service; import java.util.Date; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.BatteryManager; import android.util.Log; import com.icecondor.nest.Constants; public class BatteryReceiver extends BroadcastReceiver {...
package Aula_29_Iteracoes; import java.util.stream.Collectors; import java.util.stream.Stream; public class IteracoesEx { public static void main(String[] args) { String[] nomes = {"Joao", "Maria", "Carlos", "Ana", "Mateus"}; imprimirNomesFiltrados(nomes); imprimirTodosOsNomes(nomes); ...
/* * 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 hbSongPlayer.repository; import hbSongPlayer.entity.People; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface PeopleRepository extends JpaRep...
/* * File: IssuesScanner.java * Generated from: issues-1_0.dtd * Date: 13. September 2004 18:53 * * @author tim * @version generated by NetBeans XML module */ package org.netbeans.modules.tasklist.bugs.issues; import java.net.MalformedURLException; import java.net.URL; /** * * This is ...
package org.openstreetmap.atlas.geography.atlas.raw.slicing; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Optional; import java.util.Set; import java.util.stream.Co...
package io.odpf.firehose.filter.json; import io.odpf.firehose.config.FilterConfig; import io.odpf.firehose.message.Message; import io.odpf.firehose.consumer.TestBookingLogKey; import io.odpf.firehose.consumer.TestBookingLogMessage; import io.odpf.firehose.consumer.TestKey; import io.odpf.firehose.consumer.TestLocation...
package com.tinkerpop.blueprints; import java.io.Closeable; /** * A CloseableIterable is required where it is necessary to deallocate resources from an Iterable. * * @author Marko A. Rodriguez (http://markorodriguez.com) */ public interface CloseableIterable<T> extends Iterable<T>, Closeable { /** * Rel...
package ru.stqa.pft.sandbox; public class Equation { private double a; private double b; private double c; private int n; public Equation (double a, double b, double c) { this.a = a; this.b = b; this.c = c; double d = b*b - 4*a*c; if (a != 0) { ...
package arraydemo1; import java.util.*; class Student { String Name; int Score; public void displayArray(ArrayList<Student> AS) { <your code to display the array elements> } public void searchHighestScore(ArrayList<Student> AS) { <your code to search for the highest score in the ar...
package com.oimchat.server.general.kernel.work.module.business.chat.action; import javax.annotation.Resource; import org.springframework.stereotype.Component; import com.oimchat.server.basic.common.util.KeyUtil; import com.oimchat.server.general.kernel.work.module.base.chat.data.dto.UserSimple; import com.oimchat.se...
/** * 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 2012 Shared Learning Collaborative, 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 applicabl...
package fr.spartyann.tuto.docker_selenium; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); } }
/* * Copyright (c) 2004-2021, 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 org.xander.behavioral.lazyevaluation; import java.math.BigInteger; import static org.xander.behavioral.lazyevaluation.TailCalls.call; import static org.xander.behavioral.lazyevaluation.TailCalls.done; public class BigFactorial { public static BigInteger decrement(final BigInteger number) { return...
package io.literpc.transport.netty; import io.literpc.core.client.Client; import io.literpc.core.handler.MessageHandler; import io.literpc.core.server.Server; import io.literpc.core.url.URL; import io.literpc.transport.Transporter; /** * @author kevin Pu */ public class NettyTransporter implements Transporter { ...
// Template Source: BaseMethodRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------...
package org.iii.ideas.catering_service.rest.api; import java.util.ArrayList; import java.util.List; public class QuerySchoolIngredientDetailResponse extends AbstractApiResponse { private int ingredientsCount; private List<IngredientObject> ingredients = new ArrayList<IngredientObject>(); public int getIngredien...
package pl.andrzejszywala.oop.lsp2; public class LSP { public static void main(String[] args) { startuj(new Orzel()); } private static void startuj(LatajacyPtak ptak) { ptak.lec(); } } class Ptak { } class LatajacyPtak extends Ptak { public void lec() { } } class Orzel extends LatajacyPtak { } c...
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2021.03....
package src.main; import org.json.JSONArray; import org.json.JSONObject; import java.io.File; import java.io.IOException; import java.io.FilenameFilter; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.security.MessageDigest; import java.security.NoSuchAlgo...
package io.spacedog.client.schema; import org.junit.Assert; import org.junit.Test; import com.fasterxml.jackson.databind.JsonNode; import io.spacedog.utils.ClassResources; import io.spacedog.utils.Json; public class SchemaTest extends Assert { @Test public void testSchemaBuilder() { Schema schema = SchemaBuil...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.hdinsight.implementation; import com.azure.core.management.SystemData; import com.azure.resourcemanager.hdinsight.fluent.models....
package com.cxwmpt.demo.common.util; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.temporal.TemporalAdjusters; import java.util.Calend...
/* * Copyright 2012-2020 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 edu.idziak.planner; import edu.idziak.planner.gui.application.ApplicationController; import javax.swing.SwingUtilities; public class Loader { public static void main(String[] args) { SwingUtilities.invokeLater(ApplicationController::new); } }
package berlin.yuna.hamcrest.matcher; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeDiagnosingMatcher; import java.util.function.Supplier; public class AndWait<T> extends TypeSafeDiagnosingMatcher<Supplier<T>> { private final Matcher<T> expected; private final in...
package com.example.xss; import com.example.xss.model.Post; import lombok.AllArgsConstructor; import lombok.extern.log4j.Log4j2; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotati...
/* * * Copyright 2014 Hewlett-Packard Development Company, L.P. * * 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 require...
package com.ndataconsulting.productmanager.demo.repository; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.P...
package com.ooooo.exception; import com.alibaba.fastjson.TypeReference; import java.util.Map; import org.apache.dubbo.common.extension.Activate; import org.apache.dubbo.rpc.Filter; import org.apache.dubbo.rpc.Invocation; import org.apache.dubbo.rpc.Invoker; import org.apache.dubbo.rpc.Result; import org.apache.dubbo.r...
/* 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 com.atguigu.gulimall.member.dao; import com.atguigu.gulimall.member.entity.MemberReceiveAddressEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * 会员收货地址 * * @author kunqin * @email messiakun@foxmail.com * @date 2021-11-15 20:20:10 */ @Mapp...
package measure.producer; import java.io.IOException; import java.util.Map; import org.apache.kafka.common.serialization.Serializer; import org.codehaus.jackson.JsonGenerationException; import org.codehaus.jackson.map.JsonMappingException; import org.codehaus.jackson.map.ObjectMapper; import measure.message.Message;...
/* * 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 ...
class Solution { public int[][] XXX(int[][] intervals) { int row = intervals.length; int column = intervals[0].length; Arrays.sort(intervals,(o1,o2)->(o1[0]-o2[0])); ArrayList<int[]> result =new ArrayList<>(); int i=0; while(i<row){ int left =intervals[i][...
package org.venity.jphp.ext.android.fx.classes; import javafx.scene.control.Cell; import javafx.scene.control.IndexedCell; import org.venity.jphp.ext.android.AndroidExtension; import org.venity.jphp.ext.android.fx.JavaFXExtension; import php.runtime.annotation.Reflection; import php.runtime.annotation.Reflection.Prope...
package org.jasig.cas.authentication.handler; import org.jasig.cas.util.DigestUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import or...
package com.huaweicloud.sdk.bcs.v2.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.Objects; import java.util.function.Consumer; /** Request Object */ public class ListInstanceMetricRequest { @JsonInclude(JsonInclude.Include.NON_N...
package models.CustomsModels; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class CustomStatusDetail { @Id private int customStatusCode; private String customStatusName; public int getCustomStatusCode() { return customStatusCode; } public String ge...
package com.vladsch.flexmark.formatter; import com.vladsch.flexmark.formatter.internal.CoreNodeFormatter; import com.vladsch.flexmark.formatter.internal.FormatterOptions; import com.vladsch.flexmark.util.ast.Document; import com.vladsch.flexmark.util.ast.Node; import com.vladsch.flexmark.util.format.options.ElementPla...
package com.craxiom.networksurvey.helpers; import android.os.Build; import android.provider.Settings; import androidx.test.platform.app.InstrumentationRegistry; import java.util.Random; import java.util.regex.Pattern; public class TestUtils { public static class Data { public static int getRandomNu...
/******************************************************************************* * Copyright (c) 2000, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package io.github.aquerr.worldrebuilder.util; import com.flowpowered.math.vector.Vector3i; import org.spongepowered.api.Sponge; import org.spongepowered.api.block.BlockSnapshot; import org.spongepowered.api.block.BlockTypes; import org.spongepowered.api.entity.Entity; import org.spongepowered.api.entity.EntitySnapshot...
/** * The MIT License * Copyright © 2010 JmxTrans team * * 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, mo...
package com.lmonkey.service; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import com.lmonkey.dao.Basedao; import com.lmonkey.entity.LMONKEYUSER; public class lmonkeyuserdao { //增加用户 public static int insert(LMONK...
/* * Copyright ConsenSys AG. * * 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...
package ru.job4j.tracker; /** * Created by Lenovo on 1/2/2019. */ import java.util.ArrayList; import java.util.List; /** * @version $Id$ * @since 0.1 */ public class StartUI { /** * Константа меню для добавления новой заявки. */ private static final String ADD = "0"; /** * Константа м...
/* * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * 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 (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
package org.eclipse.Service.TopologyExplorer; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import javax.xml.namespace.QName; i...
package nallar.tickprofiler.minecraft.entitylist; import nallar.tickprofiler.Log; import nallar.tickprofiler.minecraft.commands.ProfileCommand; import nallar.tickprofiler.minecraft.profiling.EntityTickProfiler; import nallar.tickprofiler.util.contextaccess.ContextAccess; import net.minecraft.server.MinecraftServer; im...
package gov.va.medora.mdws.emrsvc; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment spec...
/* * <!-- * ~ Copyright 2015-2017 OpenCB * ~ * ~ 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 * ~ * ~ Unl...
/* * Copyright 1999-2012 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 la...
package exception; public class main1 { public static void main(String[] args) { System.out.println("hi"); lala();//Cannot make a static reference to //the non-static method lala() from the type main1 } //here lala method wont be executed public void lala() { System.out.println("hi lala"); } }
package internal.org.springframework.content.mongo.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.content.commons.utils.PlacementService; import org.springframework.content.commons.utils.PlacementServiceImpl; import org.springframework.content.mongo.config.MongoStoreC...
/* * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.drop.ttb.mvp.contract; import com.drop.ttb.mvp.model.entity.DeleteMessageBean; import com.drop.ttb.mvp.model.entity.GetMyMessageBean; import com.drop.ttb.mvp.ui.adapter.AdapterMyMessage; import com.jess.arms.mvp.IView; import com.jess.arms.mvp.IModel; import io.reactivex.Observable; public interface MyM...
/** * Copyright 2004-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/ecl2.php * * Unless required by a...
package ch.bfh.ti.i4mi.mag; import java.io.IOException; import javax.net.ssl.SSLContext; import org.apache.camel.support.jsse.SSLContextParameters; import org.openehealth.ipf.commons.audit.TlsParameters; public class TlsParameterTest implements TlsParameters { private SSLContextParameters source; public TlsPar...
/* * Copyright 2010-2016 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 "l...
/** * Copyright (c) 2013-2015 www.javahih.com * * Licensed under the Apache License, Version 2.0 (the "License"); */ package com.hihsoft.sso.util; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Field; import java.util.List; import java.util.Set; import org.apache.log4j.Logger; import org.juni...
package org.swtk.commons.dict.wordnet.indexbyname.instance.s.a.g; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexNameInsta...
/* * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.grizzly.api.controller; import com.grizzly.api.model.Account; import com.grizzly.api.service.AccountService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.List; @RestController @RequestMapping("api/account") public class ...
/* * Copyright © 2011 Everit Kft. (http://www.everit.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package io.mercury.transport.udp; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest(String testNa...
package fm.common.test.classutil; @Deprecated public class TestJavaAnnotatedClass { public String foo = "foo"; }
package com.xzlx.web.api.web.controller; import com.xzlx.commons.util.dto.BaseResult; import com.xzlx.domain.TbTag; import com.xzlx.domain.TbTravel; import com.xzlx.domain.TbUser; import com.xzlx.web.api.service.TbTravelService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework....
package Miguel.Corporation; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.InputMismatchException; import java.util.Scanner; /** * <h1>Bulking Class</h1> * This Class is for Bulking criteria, it will calculate and give result only for bulking using Bulking Algorithm * ...
package PROV.DM; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; /** * * @author tassio */ @E...
package org.jooq.util.xml.jaxb; import java.io.Serializable; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org....
/* * Copyright (c) 2014, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
package com.github.cbuschka.workspace_mechanic.internal.cli; public class CommandLine { private int verbosity = 0; private String subCommand; public CommandLine() { } public int getVerbosity() { return verbosity; } public void setVerbosity(int verbosity) { this.verbosity = verbosity; } public Strin...
/* * Copyright (c) 2017, 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 condition...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
package com.logginghub.logging.commandline.editscreen; public interface EditorGetter<T> { String get(T t); }
/** * This file is part of the Iritgo/Aktario Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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 ...