text
stringlengths
7
995k
package com.hellokaton.lattice; import lombok.Data; /** * @author biezhi * @date 2018/6/4 */ @Data public class LoginToken { private String username; private String password; }
package louis.server.entity; import lombok.*; import louis.server.entity.authbase.AbstractAuditable; import javax.persistence.*; import javax.validation.constraints.NotNull; @Data @EqualsAndHashCode(callSuper = true) @NoArgsConstructor @AllArgsConstructor @Builder @Entity @Table(name = "redirect_uri") public class R...
package com.javarush.task.task24.task2408; import java.util.List; /** * Как избежать Copy+Paste * В классе Dog реализуй логику метода toSayable, которая описана в джавадоке. * * * Requirements: * 1. В классе Dog должен быть реализован публичный метод toSayable с одним параметром типа int. * 2. Метод toSayable ...
/* Copyright (c) IBM Corporation 2016. All Rights Reserved. * Project name: Object Generator * This project is licensed under the Apache License 2.0, see LICENSE. */ package com.ibm.og.json; import java.util.List; import com.google.common.collect.Lists; public class SelectionConfig<T> { public SelectionType se...
/********************************************************************** Copyright (c) 2007 Andy Jefferson and others. 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://...
/******************************************************************************* * MIT License * * Copyright (c) Igor Conrado Alves de Lima <igorcadelima@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and * associated documentation files (the "Software...
/* * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. DO NOT * ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. */ package it.franzil.tree; import java.util.Random; import static java.lang.Math.random; import static java.lang.Math.round; public class RandomUtil { private static R...
/* * Copyright 2014 Goldman Sachs. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
package com.niftysoft.k8s.data; import org.junit.Before; import org.junit.Test; import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; public class VolatileByteStoreTest { private VolatileByteStore store; @Before public void before() { store = new VolatileByteStore(); } ...
package twitsplit.project.bee.twitsplit.di.module; import android.app.Activity; import android.content.Context; import dagger.Module; import dagger.Provides; import twitsplit.project.bee.twitsplit.di.scope.ActivityContext; import twitsplit.project.bee.twitsplit.di.scope.PerActivity; import twitsplit.project.bee.twits...
/* * Copyright Strimzi authors. * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html). */ package io.strimzi.kafka.bridge.http.model; import io.vertx.core.json.JsonObject; /** * Represents an error related to HTTP bridging */ public class HttpBridgeError { priv...
/* * Copyright 2012-2018 Chronicle Map Contributors * * 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 applicab...
package org.apache.xml.dtm; import javax.xml.transform.Source; import org.apache.xml.res.XMLMessages; import org.apache.xml.utils.PrefixResolver; import org.apache.xml.utils.XMLStringFactory; import org.w3c.dom.Node; public abstract class DTMManager { private static final String defaultPropName = "org.apache.xml.d...
package org.drools.model.impl; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Stre...
/** * Created on 13-09-09 15:59 */ package com.alicp.jetcache.anno.method; import com.alicp.jetcache.*; import com.alicp.jetcache.anno.support.*; import com.alicp.jetcache.event.CacheLoadEvent; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Array; import java.lang.reflect.Invocat...
import java.util.*; import java.util.regex.*; import java.text.*; import java.math.*; import java.awt.geom.*; public class ElectronicPetEasy { public String isDifficult(int st1, int p1, int t1, int st2, int p2, int t2) { Set<Integer> s1 = new HashSet<Integer>(); Set<Integer> s2 = new HashSet<Integer>(); for ...
package com.sequenceiq.cloudbreak.structuredevent.service.audit; import com.sequenceiq.cloudbreak.audit.model.AuditEventName; import com.sequenceiq.cloudbreak.audit.model.EventData; import com.sequenceiq.cloudbreak.auth.altus.Crn; import com.sequenceiq.cloudbreak.structuredevent.event.StructuredEvent; public interfac...
/*- * ============LICENSE_START======================================================= * ONAP - SO * ================================================================================ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. * =============================================================...
package com.endercrest.uwaterlooapi.events; import com.endercrest.uwaterlooapi.data.ApiRequest; import com.endercrest.uwaterlooapi.events.models.Event; import com.endercrest.uwaterlooapi.events.models.EventExtended; import com.endercrest.uwaterlooapi.events.models.EventHoliday; import com.endercrest.uwaterlooapi.event...
package net.minecraft.world.gen.layer.traits; public interface IDimOffset0Transformer extends IDimTransformer { default int getParentX(int p_215721_1_) { return p_215721_1_; } default int getParentY(int p_215722_1_) { return p_215722_1_; } }
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class DualcamFrameDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { var decoder = inject(new DualcamFrameDecoder()); verifyFrame( binary("000000050...
package com.chenlong.eureka.server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.netflix.eureka.EnableEurekaClient; import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer; /** * Created by c...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: workload_entry.proto package io.ourea.adapter.model.istio; /** * <pre> * WorkloadEntry enables specifying the properties of a single non-Kubernetes workload such a VM or a bare metal services that can be referred to by service entries. * &lt;!-...
package com.almondtools.stringbench.multipattern.stringsearchalgorithms; import java.util.List; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import net.amygdalum.stringsearchalgorithms.search.chars.StringSearchAlgorithm; import net.amygdalum.stringsearchalgorithms.search.chars....
package ch.nyg.ed.model.dc; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlValue; @XmlAccessorType(XmlAccessType.FIELD) public class Language { @XmlValue private String value; public Language() { } public Str...
package shinylearner.core; import java.util.ArrayList; import java.util.HashMap; import com.linkedin.paldb.api.StoreReader; import com.linkedin.paldb.api.StoreWriter; public class Singletons { public static HashMap<String, String> DependentVariableInstances = new HashMap<String, String>(); public static Arra...
package com.splunk.agent.launcher.ui; import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup; import org.eclipse.debug.ui.CommonTab; import org.eclipse.debug.ui.EnvironmentTab; import org.eclipse.debug.ui.ILaunchConfigurationDialog; import org.eclipse.debug.ui.ILaunchConfigurationTab; import org.eclipse.debug...
// Copyright 2018 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 zhushen.com.shejimoshi.Chapter3.Simple; /** * Created by Zhenshen on 2017/3/1. */ public abstract class Builder { public abstract void buildBoard(String board); public abstract void buildDisplay(String display); public abstract void buildOS(); public abstract Computer create(); }
/* * 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 ntc; import java.awt.Color; import java.awt.Component; import javax.swing.JButton; import javax.swing.JTable; import javax.swi...
/*- * #%L * xlator * %% * Copyright (C) 2016 - 2018 FNS * %% * 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 ar.com.tandilweb.orchestrator.handlers; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net.Socket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; impor...
/** * Copyright © 2019 Heinz Nixdorf Chair for Distributed Information Systems, Friedrich Schiller University Jena (http://fusion.cs.uni-jena.de/) * * 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 Li...
// // 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: 2016.01....
package com.cool_unit_31518; import android.app.Application; import android.content.Context; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.f...
/* * Copyright 2010-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 "lice...
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
package androidx.core.net; import android.content.Intent; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.Build; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.annotation.RequiresPermission; import androidx.annotation.RestrictTo; impor...
package de.frvabe.bpm.camunda; import java.util.Date; import org.camunda.bpm.engine.delegate.DelegateExecution; import org.camunda.bpm.engine.delegate.ExecutionListener; import org.camunda.bpm.engine.runtime.Job; import org.camunda.bpm.engine.task.Task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** *...
/** * Copyright (c) 2016 - 2018 Syncleus, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/** * 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 m...
package com.lanzhu.mywork.account.utils; import java.util.Random; /** * description: * 邀请码生成器,基本原理:<br/> * 1)入参用户ID:1 <br/> * 2)使用自定义进制转换之后为:V <br/> * 3)转换未字符串,并在后面添加'A':VA <br/> * 4)在VA后面再随机补足4位,得到:VAHKHE <br/> * 5)反向转换时以'A'为分界线,'A'后面的不再解析 <br/> * @author 出处 https://github.com/secbr/share-code * @date 2018-...
package decentralizedP2P.RunnableThread; import decentralizedP2P.Components.*; import javafx.util.Pair; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.net.ConnectException; import java.net.Socket; import java.net.SocketTimeoutException; import java.util.A...
/* * SUDA2: An implementation of the SUDA2 algorithm for Java * Copyright 2017 Fabian Prasser * * 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/LICE...
package pro.taskana; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; import java.sql.Connection; import java.sql.SQLException; import java.time.Duration; import java.time.Instant; im...
package com.postmen.javasdk.mockobject; import com.google.api.client.util.Sleeper; public class MockSleeper implements Sleeper { private Long delay; public void sleep(long millis) throws InterruptedException { delay = millis; } public Long getDelay() { return delay; } }
/* * Copyright 2015-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
package io.github.simplycmd.terracraft.features; import com.mojang.serialization.Codec; import io.github.simplycmd.terracraft.blocks.DaybloomBlock; import io.github.simplycmd.terracraft.registry.BlockRegistry; import net.minecraft.block.Blocks; import net.minecraft.util.math.BlockPos; import net.minecraft.world.Height...
/* * Copyright 2007-2009 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 2014 NAVER Corp. * * 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 edu.northwestern.bioinformatics.studycalendar.restlets; import edu.northwestern.bioinformatics.studycalendar.domain.Source; import edu.northwestern.bioinformatics.studycalendar.service.SourceService; import org.json.JSONException; import org.json.JSONObject; import org.restlet.data.MediaType; import org.restle...
package com.lambda.zoos.daos; import com.lambda.zoos.models.Telephone; import org.springframework.data.repository.CrudRepository; public interface TelephoneDao extends CrudRepository<Telephone, Long> { }
package com.qmuiteam.qmuidemo.fragment.lab; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.PagerSnapHelper; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.SnapHelper; import android.view.LayoutInflater; import android.view.View; import android.v...
package com.linkedin.datahub.graphql; import com.google.common.collect.ImmutableList; import com.linkedin.datahub.graphql.generated.Aspect; import com.linkedin.datahub.graphql.generated.Chart; import com.linkedin.datahub.graphql.generated.ChartInfo; import com.linkedin.datahub.graphql.generated.DashboardInfo; import c...
/** * Copyright (c) 2011, SOCIETIES Consortium (WATERFORD INSTITUTE OF TECHNOLOGY (TSSG), HERIOT-WATT UNIVERSITY (HWU), SOLUTA.NET * (SN), GERMAN AEROSPACE CENTRE (Deutsches Zentrum fuer Luft- und Raumfahrt e.V.) (DLR), Zavod za varnostne tehnologije * informacijske družbe in elektronsko poslovanje (SETCCE), INSTIT...
package com.book.web; import com.book.domain.Score2s; import com.book.domain.Sysqks; import com.book.service.SysqksService; import com.book.service.Score2sService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annota...
/* * Copyright (C) 2008 Torgny Bjers * * 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...
package raptor.model; public class AurelionSol extends Champion { public AurelionSol() { super("The Star Forger", "Aurelion Sol", false); } }
import java.util.Scanner; public class lab3_8 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter a year: "); int year = input.nextInt(); boolean isLeapYear = (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0); System.out....
package obslugaosob.Model; public class Pracownik { private String imie; private String nazwisko; private double wynagrodzenie; public Pracownik(String imie, String nazwisko, double wynagrodzenie) { this.imie = imie; this.nazwisko = nazwisko; this.wynagrodzenie = wynagrodzenie;...
/* * Copyright 2017-2018 Rudy De Busscher (https://www.atbash.be) * * 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 requir...
package cn.hutool.cron; import cn.hutool.cron.task.CronTask; import cn.hutool.cron.task.Task; /** * 作业执行器<br> * 执行具体的作业,执行完毕销毁<br> * 作业执行器唯一关联一个作业,负责管理作业的运行的生命周期。 * * @author Looly */ public class TaskExecutor implements Runnable { private final Scheduler scheduler; private final CronTask task; /** * 获得原...
package com.yashraj.BlogIt.Activities; import androidx.appcompat.app.AppCompatActivity; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.widget.ImageView; import android.widget.TextView; ...
package net.minecraft.command.server; import java.util.Date; import java.util.List; import com.mojang.authlib.GameProfile; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.command.WrongUsageException; import net...
package com.compomics.util.experiment.identification.psm_scoring.psm_scores; import com.compomics.util.Util; import com.compomics.util.experiment.biology.ions.Ion; import com.compomics.util.experiment.biology.proteins.Peptide; import com.compomics.util.experiment.biology.ions.impl.PeptideFragmentIon; import com.compom...
/* * Copyright 2016 Yetamine * * 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 com.joutvhu.dynamic.jpa.repository; import com.joutvhu.dynamic.jpa.DynamicQuery; import com.joutvhu.dynamic.jpa.entity.TableB; import com.joutvhu.dynamic.jpa.model.ModelC; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repositor...
package com.lilithsthrone.main; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintStream; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; ...
package com.oneandone.iocunit.analyzer.specializing.sutsamples; import javax.enterprise.inject.Specializes; /** * @author aschoerk */ @Specializes public class SpecializingClass extends SutSamplesBaseClass { }
package com.kss.gmall.oms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.io.Serializable; import java.util.Date; import lom...
package enums; public enum FindMoviesDataSourceType { DB, API }
package cc.bitky.clustermanage.db.presenter; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.mongodb.core.MongoOperations; import org.springframework.data.mongodb.core.query.Criteria; import org.springframework.data.mongodb.core.query.Query; import org.springframework.ste...
/* * Copyright 2017 PingCAP, 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 ...
/** * 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...
/** * 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 m...
/* * 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...
/* * Copyright 2017-2018 the original author(https://github.com/wj596) * * <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 * * ...
/* * Copyright 2004-2006 Stefan Reuter * * 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 ...
package hermit.powers; import basemod.interfaces.CloneablePowerInterface; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.megacrit.cardcrawl.actions.common.ReducePowerAction; import com.megacrit.cardcrawl.actions.common.RemoveSpecificPowerAction; import com.megac...
package biz.paluch.logging.gelf.intern.sender; import java.net.URI; import java.util.Map; import java.util.Properties; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.ProducerConfig; import org.apache.kafka.common.serialization.ByteArraySerializer; import biz.paluch.l...
package com.minotaur.cache.support.impl; /** * operation * Created by minotaur on 15/11/18. */ public enum Operation { PUT(3), EVICT(2), CACHE(1); Operation(int code) { this.code = code; } private int code; public int getCode() { return code; } public void setCode(in...
package org.apache.maven.plugins.source; /* * 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 Lic...
package jimmy.mcgymmy.model.macro; import static jimmy.mcgymmy.testutil.Assert.assertThrows; import org.junit.jupiter.api.Test; import jimmy.mcgymmy.model.macro.exceptions.DuplicateMacroException; public class MacroListTest { @Test public void addDuplicate_throwsError() throws Exception { Macro dumm...
package janktastic.jankbot.command.commands; import janktastic.jankbot.command.AbstractCommand; import janktastic.jankbot.command.CommandType; public class StopCommand extends AbstractCommand { @Override public void run() { if (discordAudioManager.getCurrentTrack(server) == null) { textChannel.sendMess...
/* * 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 com.bmw.location.movementtracker.dataaccess; import lombok.Data; /** * Business entity encapsulating vehicle data. * * @author Robert Lang */ @Data public class VehicleBE { private String vin; }
package org.exercise.pizza.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @Entity public class Sauce { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; private String name;...
package com.example.jwt.utils; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.time.FastDateFormat; import java.lang.management.ManagementFactory; import java.text.ParseException; import java.util.Calendar; import java.util.Date; public class DateUtils extends org.apache.commons.lang3.time...
package graphs.shortestpaths; import graphs.BaseEdge; import graphs.Edge; import graphs.Graph; import java.util.Map; /** * A shortest path finder that works by first constructing a shortest paths from the given start * vertex in the given graph, then using it to compute a shortest path. * * @param <G> The graph ...
package mage.cards.c; import mage.MageInt; import mage.abilities.common.BlocksCreatureTriggeredAbility; import mage.abilities.effects.common.DontUntapInControllersNextUntapStepTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; import...
package jason.functions; import jason.JasonException; import jason.asSemantics.DefaultArithFunction; import jason.asSemantics.TransitionSystem; import jason.asSyntax.ListTerm; import jason.asSyntax.NumberTerm; import jason.asSyntax.Term; /** <p>Function: <b><code>math.average(L)</code></b>: returns the average of al...
/* * MIT License * * Copyright (c) 2017 Frederik Ar. Mikkelsen * * 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,...
package in.vaidicjoshi.geektrust.backend.watermanagement.service.operationservice; import in.vaidicjoshi.geektrust.backend.watermanagement.enums.ApartmentType; import in.vaidicjoshi.geektrust.backend.watermanagement.model.GeekHeightsCommunity; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;...
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
package io.fabric8.launcher.web.providers; import javax.json.JsonArrayBuilder; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMap...
/* * Copyright 2015 data Artisans 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 com.demo.fish.bind.callback; import android.databinding.ObservableList; import com.chad.library.adapter.base.BaseQuickAdapter; /** * Created by Ben.li on 2016/9/29. */ public class BaseQuickAdapterChangedCallback extends ObservableList.OnListChangedCallback { private BaseQuickAdapter mAdapter; p...
package com.chutneytesting.execution.infra.execution; class ScenarioContent { UnmarshalledStepDefinition scenario; public UnmarshalledStepDefinition getScenario() { return scenario; } public void setScenario(UnmarshalledStepDefinition scenario) { this.scenario = scenario; } }
package com.company; import java.io.*; import java.net.*; public class MyClient { public static void main(String[] args) { try{ Socket s=new Socket("localhost",6666); DataOutputStream dout=new DataOutputStream(s.getOutputStream()); dout.writeUTF("Hello Server"); ...
/* * 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 ...