text
stringlengths
7
1.01M
package org.hope6537.note.design.mix.mediator_watcher; /** * 事件处理者2-贵族 */ public class Nobleman extends EventCustomer { /** * 定义它的事件处理级别 */ public Nobleman() { super(EventCustomerType.EDIT); super.addCustomType(EventCustomerType.CLONE); } @Override public void exec(Pro...
package com.example.tupa_mobile.Activities; import androidx.appcompat.app.AppCompatActivity; import androidx.core.content.ContextCompat; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import android.graphics.drawable.Drawable; import android.os.Bundle; impor...
package app; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.Scanner; import util.Funcionario; public class Program { public static void main(String[] args) { Locale.setDefault(Locale.US); Scanner sc = new Scanner(System.in); List<Funcionario> list = new ArrayL...
/*- * #%L * CosmosDB * %% * Copyright (C) 2005 - 2021 Daniel Sagenschneider * %% * 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 2020, 2021 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 (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
/* * Copyright 2019-2020 Zheng Jie * * 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...
/******************************************************************************* * * Pentaho Data Integration * * Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the ...
/*! ****************************************************************************** * * Hop : The Hop Orchestration Platform * * http://www.project-hop.org * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (the "License"); * you ...
package com.ppcxy.cyfm.sys.web.user; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @RequestMapping("/user/detail") public class UserDetailController { }
package com.my.project; /** * synchronized关键字 * 对某个对象加锁 * @author yang * */ public class T04Synchronized { private static int count = 10; //当锁定一个静态方法时,相当于锁定当前类的class对象 public synchronized static void m() { //这里等同于synchronized(T04Synchronized.class) count --; System.out.println(Thread.curr...
package bondi.nfcPassportReader.jan.mrtd2; import android.app.Activity; import android.support.v4.app.Fragment; import android.content.Context; import android.graphics.Bitmap; import android.os.Bundle; import android.support.annotation.Nullable; import android.view.LayoutInflater; import android.view.View; import andr...
package com.mempoolexplorer.bitcoind.adapter.events; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.cloud.stream.annotation.Output; import org.springframework.messaging.MessageChannel; public interface CustomChannels { @Qualifier("txMemPoolEventsChannel") @Output("txMemPoo...
package com.springcloud.demo.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.cli...
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
/* * Copyright 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
package com.hwp.project.modules.sys.shiro; import com.hwp.project.common.utils.RedisKeys; import org.apache.shiro.session.Session; import org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; ...
package align2; import java.io.Serializable; import java.util.ArrayList; import java.util.Iterator; import java.util.Random; import stream.Read; public final class ListNum<K extends Serializable> implements Serializable, Iterable<K> { /** * */ private static final long serialVersionUID = -75092...
//: object/Documentation1.java package object; /* Added by Eclipse.py */ /** A class comment */ public class Documentation1 { /** A field comment */ public int i; /** A method comment */ public void f() {} } ///:~
/* * 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 za.co.bruynhuis.ld41.ui; import aurelienribon.tweenengine.Tween; import aurelienribon.tweenengine.TweenCallback; import com.br...
/* * 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.o...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos.implementation.routing; public class MurmurHash3_128 { private static final UInt128 zeroSeed = new UInt128(0, 0); public static UInt128 hash128(byte[] bytes, int limit) { return ha...
/** * Copyright 2009-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package works.weave.socks.cart.entities; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Calendar; import java.util.Date; @JsonIgnoreProperties(ignoreUnknown = true) public class HealthCheck { private String service; ...
package com.oasys.repository; import com.oasys.entities.MemberRecord; import com.oasys.entities.MemberRequest; import org.springframework.data.jpa.repository.JpaRepository; public interface MemberRequestRepository extends JpaRepository<MemberRequest, MemberRecord.MemberId> { }
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_7884 { }
/* * Copyright (C) 2016 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 2008 The Apache Software Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
/* * 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 (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ package com.microsoft.azure.toolkit.lib.appservice.service.impl; import com.azure.core.management.exception.ManagementException; import com.azure.resourcem...
package com.easyweb.test.entity; import org.hibernate.cfg.Configuration; import org.hibernate.tool.hbm2ddl.SchemaExport; import org.junit.Test; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; import org.springframework.orm.hibernate4.LocalSessionFactor...
/* * Copyright (c) 2019 Aman Nougrahiya, V Krishna Nandivada, IIT Madras. * This file is a part of the project IMOP, licensed under the MIT license. * See LICENSE.md for the full text of the license. * * The above notice shall be included in all copies or substantial * portions of this file. */ // // Generated ...
package com.sc.reminder.view.remind; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; impo...
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.pytorch; import org.bytedeco.pytorch.Allocator; import org.bytedeco.pytorch.Function; import org.bytedeco.pytorch.Module; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.byte...
/* Software License Agreement (BSD License) * * Copyright (c) 2010-2011, Rustici Software, LLC * 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 ...
package finalBot; import snakes.Bot; import snakes.Coordinate; import snakes.Direction; import snakes.Snake; import java.util.*; /** * one file instead of importing alphabeta */ public class f6_perCenAB implements Bot, Runnable { private static final Direction[] DIRECTIONS = new Direction[]{Direction.UP, Direc...
// Template Source: BaseEntityWithReferenceRequest.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -----------------------...
/* * 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.dasu.basemodule.wams; import android.util.Log; import com.dasu.volley.IResponseInterceptor; /** * Created by dasu on 2018/10/26. * 微信公众号:dasuAndroidTv * blog:https://www.jianshu.com/u/bb52a2918096 */ public class WamsResponseInterceptor implements IResponseInterceptor<WamsResEntity> { @Override ...
package Magic.GameException; import Magic.Personal.Player; public class EndException extends Exception{ public EndException(Player loser){ System.out.println("\n"+loser.getOpponent().getName()+" ha vinto"); System.out.println(loser.getName()+" ha perso\n"); } }
import java.io.*; import java.util.*; public class BOOST { public static void main (String[] args) { boolean debug = false; boolean runVerifier = false; for (int i = 0; i < args.length; i++) { if ("-help".equals(args[i])) { System.out.pri...
package JavaClass8; import java.awt.*; import javax.swing.JFrame; public class Homework8Part1 extends Canvas{ /** * */ private static final long serialVersionUID = -6616011577910876206L; public static void main(String[] args) { JFrame frame = new JFrame("My Graph"); Canvas c = new Homework...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE83_XSS_Attribute__Servlet_getParameter_Servlet_05.java Label Definition File: CWE83_XSS_Attribute__Servlet.label.xml Template File: sources-sink-05.tmpl.java */ /* * @description * CWE: 83 Cross Site Scripting (XSS) in attributes; Examples(replace QUOTE with an ac...
/* * #%L * ACS AEM Commons Bundle * %% * Copyright (C) 2015 Adobe * %% * 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 * * Unle...
package com.example.myapp.config; import io.github.jhipster.config.JHipsterProperties; import com.codahale.metrics.JmxReporter; import com.codahale.metrics.JvmAttributeGaugeSet; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.Slf4jReporter; import com.codahale.metrics.health.HealthCheckRegistr...
package io.github.veeshostak.aichat.aws.dynamodb.model; import com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.*; import java.util.ArrayList; import io.github.veeshostak.aichat.database.entity.ChatPost; // User Conversations // Hash Key: string conversationId // Range Key: string conversationDateTime // u...
/* * Copyright 2016 Alexey Andreev. * * 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 org.globsframework.utils.comparators; import java.util.Comparator; /** * Compares two strings according to a "natural" order, which is not strictly alphabetical. * For instance : * <pre> * 1 < 10 * 2 < 10 * v1 < v10 * v2 < v10 * etc. * </pre> * The sorting applies even to large numbers : * <pre> *...
package com.senderman.telecrafter.telegram.command; import com.senderman.telecrafter.minecraft.ServerPropertiesProvider; import com.senderman.telecrafter.telegram.TelegramProvider; import com.senderman.telecrafter.telegram.api.entity.Message; import javax.xml.bind.DatatypeConverter; import java.io.IOException; import...
/* * Copyright (c) 2022 Michael Wiesendanger * 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, modify, merge, p...
package com.cloudbees.diff; import org.apache.commons.io.IOUtils; import java.io.*; import java.text.ParseException; import java.util.ArrayList; import java.util.List; /** * Represents a diff between two files. Entry point of the library. * * @author Kohsuke Kawaguchi */ public class Diff extends ArrayList<Diffe...
/** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); ...
package fr.pds.isintheair.crmtab.jbide.uc.registercall.Views.displaycalls; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import java.util.List; import fr.pds.isintheair.crmtab.R; import fr.pds...
package ch.chamblandes.gravity.view; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import ch.chamblandes.gravity.displayables.Background; import ch.chamblandes.gravity.displayables.Button; import ch.chamblandes.gravit...
/* * Copyright (C) 2018 xuexiangjys(xuexiangjys@163.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 a...
package org.loomdev.api.entity.passive; import org.jetbrains.annotations.NotNull; import java.util.Arrays; import java.util.Map; import java.util.stream.Collectors; public interface Rabbit extends AnimalEntity { /** * Get the {@link Variant} of the Mooshroom. * * @return The {@link Variant} of th...
package com.artezio.arttime.web.components; import org.apache.commons.beanutils.PropertyUtils; import org.primefaces.component.outputlabel.OutputLabelRenderer; import org.primefaces.el.ValueExpressionAnalyzer; import javax.el.ELContext; import javax.el.ValueExpression; import javax.el.ValueReference; import javax.fac...
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.test.internal.constraintvalidators.bv.time; import static org.hiberna...
package br.com.anteros.sms.integration.sdk.comtele.services; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.ws.rs.client.Client; import javax.ws.rs.client.ClientBuilder; import javax.ws.rs.client.Entity; import javax.ws.rs.core.MediaType; import javax.ws....
package org.occideas.qsf; import org.occideas.common.NodeType; public enum QuestionSelector { MULTIPLE(NodeType.Q_LINKEDMODULE.getDescription(), QSFQuestionSelector.MAVR.name()), FREQUENCY(NodeType.Q_FREQUENCY.getDescription(), QSFQuestionSelector.DL.name()); QuestionSelector(String type, String selecto...
package org.mitre.synthea.world.agents; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.mitre.synthea.TestHelper.timestamp; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.ObjectI...
package com.gruop.cmoic.pojo; public class Relational { private Integer id; private Integer comicsid; private Integer comictypeid; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Integer getComicsid() { ...
/* * Copyright (c) 2009 Piotr Piastucki * * This file is part of Patchca CAPTCHA library. * * Patchca is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * ...
package com.chenxushao.java.collection; import java.text.Collator; import java.util.Locale; public class ChineseSortSample { public static void main(String[] args) { Collator c = Collator.getInstance(Locale.CHINA); } }
/* * 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.softicar.platform.emf.action; import com.softicar.platform.dom.element.IDomElement; import com.softicar.platform.emf.form.IEmfFormBody; import com.softicar.platform.emf.table.row.IEmfTableRow; public abstract class AbstractEmfPromptAction<R extends IEmfTableRow<R, ?>> extends AbstractEmfTitledAction<R> im...
package uk.gov.hmcts.reform.emclient.application; import org.junit.Test; import org.junit.experimental.categories.Category; import org.junit.runner.RunWith; import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.context.junit4.SpringRunner; import uk.gov.hmcts.reform.emclient.catego...
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.config; import java.util.Map; public class SpanEventsConfig extends BaseConfig { public static final int DEFAULT_MAX_SPAN_EVENTS_PER_HARVEST = 1000; public stati...
package mekanism.api.text; import net.minecraft.util.text.ITextComponent; public interface IHasTextComponent { //TODO - 1.16.4: Debate replacing this with returning IFormattableTextComponent so that we know it can be "modified" instead of having to copy it // when it is likely to just be a new object anyways...
package com.duff.animation.parameter; import com.duff.animation.AnimationType; public class ZoomInParameter extends Parameter { private static final float DEFAULT_SCALE = 1.5f; public float scale = DEFAULT_SCALE; public ZoomInParameter(long duration) { this(duration, DEFAULT_SCALE); } p...
/** * ClientLogin.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.google.api.ads.dfp.v201302; /** * The credentials for the {@code ClientLogin} API authentication * protocol. * * See {@link http:/...
package org.shaheen.nazarov.server.domain; import lombok.Data; import org.shaheen.nazarov.server.util.ServerConstants; import java.util.List; @Data public class HealthCheck { private int runningThreads; private String maxThreads; private String startedTime; private String time; private String por...
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2018-2018 https://github.com/myoss * * 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 com.sample.itheima.heima.view; import java.io.InputStream; import android.content.ContentUris; import android.content.ContentResolver; import android.content.Context; import android.provider.ContactsContract; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.net.Uri; /** ...
/* * Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. */ package com.sap.hybris.sapquoteintegration.service; import de.hybris.platform.core.model.order.QuoteModel; /** * Interface for Quote Service * */ public interface SapQuoteService { /** * Method to get current quote version f...
/** * ドメインオブジェクト(エンティティ,バリューオブジェクト,サービス)の実装を定義するためのパッケージ。 */ package jp.tricreo.schemagenerator.domain.model.impl;
package com.lookstarry.doermail.ware.controller; import java.util.Arrays; import java.util.Map; //import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bin...
package com.navercorp.pinpoint.batch.alarm.vo.sender.payload; public class UserMember { private String id; private String name; private String email; private String department; private String phoneNumber; private int phoneCountryCode; public UserMember() { } public UserMe...
package ie.adapt.tcd.nlp.text; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.TreeMap; import ie.adapt.tcd.nlp.esa.Relatedness; public class DocumentProcessor { ...
package Model; public class Dimensions { Integer rows; Integer cols; public Dimensions(Integer rows, Integer cols) { this.rows = rows; this.cols = cols; } public Integer getRows() { return rows; } public void setRows(Integer rows) { this.rows = rows; }...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by 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 ...
/* * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos * * 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 abov...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.yosanai.spring.starter.sampleemailservice; import org.springframework.integration.annotation.MessagingGateway; import com.yosanai.spring.starter.sampleapi.IncomingMailProcessor; @MessagingGateway(defaultRequestChannel = "sampleGotMailChannel") public interface GotMail extends IncomingMailProcessor { }
package com.klebermagno.map; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.stream.Collectors; import com.klebermagno.ExampleUtil; import com.klebermagno.builder.UserListBuilder; import com.klebermagno.model.User; public class MapForEachExample { pub...
/* * Copyright 2017-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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
package com.xxh.blog.controller; import com.xxh.blog.po.Comment; import com.xxh.blog.po.User; import com.xxh.blog.service.BlogService; import com.xxh.blog.service.CommentService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springf...
/* * Copyright (C) 2020 Heinz Max Kabutz * * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Heinz Max Kabutz * 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 ...
/* * 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 2013 Nicolas Morel * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
package org.dhis2.usescases.teiDashboard.dashboardfragments.indicators; import org.dhis2.data.dagger.PerFragment; import dagger.Subcomponent; /** * QUADRAM. Created by ppajuelo on 09/04/2019. */ @PerFragment @Subcomponent(modules = IndicatorsModule.class) public interface IndicatorsComponent { void inject(Ind...
package gameEngine.ModelImplementations; import gameEngine.CombatMoveType; /** * This class is used/instantiated in the triggerCombat method of the the Game class. It is used to initiate the back end of Combat between a game character and a monster. * @author mpz5 */ public class Combat { GameCharacter gc; ...
/* AbstractTableModel.java -- Copyright (C) 2002, 2004, 2005, 2006, Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either ver...
/* * 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 org.testcontainers.junit; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.openqa.selenium.chrome.ChromeOptions; import org.testcontainers.containers.BrowserWebDriverContainer; /** * */ public class ChromeWebDriverContainerTest extends BaseWebDriverContainerTest { @Rule...
/* * Copyright 2017 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...