text
stringlengths
7
995k
/* * Copyright 2015-2019 Alexandr Evstigneev * * 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 a...
package edu.bator.cards.todo; import edu.bator.cards.Card; public class VeraHighPriestess extends Card { public VeraHighPriestess() { } public VeraHighPriestess(Card cloneFrom) { super(cloneFrom); } }
package com.microsoft.bingads.v10.campaignmanagement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anon...
/* * Copyright (c) 2017 Michael Krotscheck * * 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 pl.coderstrust.generators; import java.util.Random; public class WordGenerator { private static Random random = new Random(); public static String getRandomWord() { char[] word = new char[random.nextInt(8) + 3]; for (int i = 0; i < word.length; i++) { word[i] = (char) ('a...
package com.Tabiby.Model; import javax.persistence.*; import java.sql.Blob; /** * Created by ibrahimfouad on 12/3/2016. */ @Entity @Table(name = "ClinicPic") public class ClinicPic { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @Column(name="content") @Lob private Blo...
/* * Copyright (c) 2008-2014 MongoDB, 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 a...
package me.aartikov.alligator.converters; import android.os.Bundle; import android.os.Parcelable; import java.io.Serializable; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import me.aartikov.alligator.Screen; /** * Date: 15.09.2018 * Time: 10:18 ...
/** * 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.cattle.platform.servicediscovery.service.impl; import static io.cattle.platform.core.model.tables.ServiceTable.*; import io.cattle.platform.core.model.Host; import io.cattle.platform.core.model.Service; import io.cattle.platform.object.ObjectManager; import io.cattle.platform.servicediscovery.api.dao.Servic...
package sharingMemory.producerConsumer.unsynchronized; public class Main { public static void main(String[] args) { Producer producer = new Producer(); Consumer consumer = new Consumer(producer); Thread producerThread = new Thread(producer, "producer"); Thread consumerThread = new Thread(consumer, "consum...
package com.example.xudong.myapplication.utils; import android.content.Context; import android.util.DisplayMetrics; import android.view.WindowManager; /** * Created by liyu on 2016/8/30. */ public class SizeUtils { private static int screenWidth = 0; /** * dp转px * * @param context 上下文 ...
/* * (C) Copyright 2019 The DKBans Project (Davide Wietlisbach) * * @author Davide Wietlisbach * @since 19.01.19 15:59 * @Website https://github.com/DevKrieger/DKBans * * The DKBans Project is under the Apache License, version 2.0 (the "License"); * you may not use this file except in compliance with the Licens...
package com.blackstone.goldenquran.Fragments; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View;...
/* * -----------------------------------------------------------------------\ * PerfCake *   * Copyright (C) 2010 - 2016 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 cop...
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you m...
package org.aerogear.mobile.core.unit.http; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.IOException; import java.io.InputStream; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReferen...
package io.toolisticon.cute; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; import javax.lang.model.element.TypeElement; import java.lang.annotation.Annotation; import java.util.ArrayList; import java.util.List; /** * Abstract ...
package com.thoughtworks.library.inventory.model; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class GenericErrorInfo { public GenericErrorInfo() { } private int errorCode; public int getErrorCode() { return errorCode; } public void setErrorCode(int errorCode) { this.errorCode ...
package io.kurumi.ntt.cqhttp.model; import io.kurumi.ntt.Launcher; import io.kurumi.ntt.cqhttp.response.GetGroupInfoResponse; import java.util.HashMap; import java.util.List; public class GroupInfo { private static HashMap<Long, GroupInfo> cache = new HashMap<>(); public static GroupInfo get(long groupId) ...
// // ======================================================================== // Copyright (c) 1995-2020 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package com.commercetools.api.models.message; import java.time.*; import java.util.*; import java.util.function.Function; import javax.validation.Valid; import javax.validation.constraints.NotNull; import com.commercetools.api.models.common.Image; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jacks...
package com.tiny.demo.firstlinecode.ui.operateoptional; import com.tiny.demo.firstlinecode.common.base.BaseModel; import com.tiny.demo.firstlinecode.common.base.BasePresenter; import com.tiny.demo.firstlinecode.common.base.BaseView; import com.tiny.demo.firstlinecode.common.bean.ResBean; import java.util.Map; impor...
package net.minecraft.server; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext; import java.util.Random; public class LootItemConditionKilledByPlayer implements LootItemCondition { private final boolean a; public LootItemCo...
/** * 项目名称:java * 文件包名:com.ly.java.thread * 文件名称:StatusChange.java * 版本信息:SCEC_Branches * 生成日期:2016年5月27日 下午4:38:14 * Copyright (c) 2015-2015深圳市泰久信息系统股份有限公司 * */ package com.ly.java.thread; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurr...
package com.onmobile.mom.database; import java.util.ArrayList; import java.util.List; import java.util.Random; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.util.Log; import com.onmo...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.repositories.metering; import org.elasticsea...
package org.mitre.synthea.world.agents; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.HashSet; import java.util.Set; import org.junit.Assert; import org.junit.Test; import org.mitre.synthea.world.geography.Location; public class ProviderTest ...
package io.jaylim.compiler.visitor; import org.antlr.v4.runtime.Token; import java.util.Arrays; import io.jaylim.compiler.gencode.JavaBaseVisitor; import io.jaylim.compiler.gencode.JavaParser; /** * @author Jisung Lim <iejisung@gmail.com> */ public class ContextChecker extends JavaBaseVisitor<String[]> { @Overr...
// This is a generated file. Not intended for manual editing. package wgslplugin.language.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface WGSLSwitchStatement extends PsiElement { @NotNull WGSLParenExpression getParenExpression(); @NotNull ...
/* * Copyright (C) 2012 Jordan Fish <fishjord at msu.edu> * * This program 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 version 3 of the License, or * (at your option) any later version. * * ...
package lj.gomusic; import android.content.ContentValues; import android.content.Intent; import android.media.Image; import android.media.MediaPlayer; import android.net.Uri; import android.os.Looper; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Html; import android.ut...
package com.spring.annotation.autowired; import org.springframework.beans.factory.annotation.Autowired; public class ThreatNotifierSetterAutowired { private IocCollectorSetterAutowired iocCollector; private String iocType; @Autowired public void setIocCollector(IocCollectorSetterAutowired collector) { System....
package org.cobbzilla.wizard.validation; import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.NoArgsConstructor; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.Transformer; import org.cobbzilla.util.collection.NameAndValue; import org.cobbzilla.util.string.S...
package cn.spark2fire.jscrapy.model; import cn.spark2fire.jscrapy.model.annotation.ExtractBy; import cn.spark2fire.jscrapy.pipeline.PageModelPipeline; import cn.spark2fire.jscrapy.ResultItems; import cn.spark2fire.jscrapy.Task; import cn.spark2fire.jscrapy.pipeline.Pipeline; import java.lang.annotation.Annotation; im...
// // Copyright (c) AIT Austrian Institute of Technology GmbH. // Distributed under the terms of the Modified BSD License. // package at.ac.ait.lablink.core.service.datapoint.consumer; import at.ac.ait.lablink.core.service.datapoint.ex.DatapointServiceRuntimeException; import at.ac.ait.lablink.core.service.datapoint....
package com.atguigu.gulimall.coupon.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 秒杀活动场次 * * @author york * @email york@gmail.com * @date 2021-11-13 20:38:02 */ @Da...
/************************************************************************** * File name : Safelet.java * * This file is part a SCJ Level 0 and Level 1 implementation, * based on SCJ Draft, Version 0.94 25 June 2013. * * It is free software: you can redistribute it and/or modify * it under the terms of the GNU...
/* * Copyright (c) 2020, 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.org...
@ModuleGen(groupPackage = "net.bons.comptes.service.model", name = "cotize-model") package net.bons.comptes.service.model; /* Licence Public Barmic * copyright 2014-2016 Michel Barret <michel.barret@gmail.com> */ import io.vertx.codegen.annotations.ModuleGen;
/* * Copyright (c) 2015 Sacred Scripture Foundation. * "All scripture is given by inspiration of God, and is profitable for * doctrine, for reproof, for correction, for instruction in righteousness: * That the man of God may be perfect, throughly furnished unto all good * works." (2 Tim 3:16-17) * * Licensed und...
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
/* * 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 2011 JBoss 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 cn.enjoytoday.mvpframe; import android.app.Application; import android.content.Context; /** * @author hfcai */ public class MvpApplication extends Application { protected static Context context; public static Context getContext() { return context; } public static void setContext(...
package com.mingle.ZiYou.content; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.os.StrictMode; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.view.View; import android.widget.Button; import androi...
package com.kstechnologies.nanoscan.activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import andr...
/* * Copyright (C) 2010-2012 Mike Novak <michael.novakjr@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 req...
package ru.job4j; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * test class MergeSortArrays. * * @author Alexander Ivanov * @since 16.01.2016 * @version 1.0 */ public class MergeSortArrayTest { /** * test method addAndSort when length of arrayA...
package org.yogakurniawan.web; import org.yogakurniawan.domain.Employee; import org.yogakurniawan.repository.EmployeeRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; im...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.erhannis.recorderfingerings; import javax.sound.midi.MidiEvent; import javax.sound.midi.Track; import com.erhannis.mathnstuff.MeUtils; /** * * @author mewer */ public class MidiUtilities { public sta...
/******************************************************************************* * Copyright (c) 2000, 2011 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...
/* Soot - a J*va Optimization Framework * Copyright (C) 2004 Jennifer Lhotak * * This library 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 2.1 of the License, or (at your optio...
package com.palantir.product; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import com.palantir.logsafe.Preconditions; import java.time.OffsetDateTime; import javax.annotation.Generated; import javax.annotation.Nonnull; @Generated("com.palantir.conjure.java.ty...
package org.xblackcat.sjpu.storage.consumer; /** * Consume all results to a container and return the container. The implementation should have a default constructor or constructor which * takes one parameter: target object class * <p> * Implementation of the interface could be registered at storage setup procedure...
package RelSim; import Structures.*; import java.util.*; public class MetapathFinder { public Integer D = 0; public Set<Integer> HasWalked = new HashSet<>(); public metapathModel newMetaPath(Integer bgnode) { List<Integer> conc = new ArrayList<Integer>(); conc.clear(); List<Integer>...
/** * */ package br.eti.deividferreira.pontointeligente.api.domain.repositories; import org.springframework.data.jpa.repository.JpaRepository; import br.eti.deividferreira.pontointeligente.api.domain.entities.AbstractEntityBase; /** * @author Deivid Ferreira * */ public interface DefaultRepository<T extends Ab...
package com.ziroom.qa.quality.defende.provider.vo.dailyreport; import lombok.Data; @Data public class TestTopicTypeVo { private String enName; private String name; private Integer value; }
package com.azias.notebook.interactors; import com.azias.notebook.Notebook; import com.azias.storage.IDataStorage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; public class InteractorManager { private final static Logger logger = LoggerFactory.getLogger(InteractorManager.clas...
/* * Copyright 2017 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.scs.spectrumarcade.abilities; import java.awt.Point; import com.jme3.math.Vector3f; import com.scs.spectrumarcade.Globals; import com.scs.spectrumarcade.Settings; import com.scs.spectrumarcade.SpectrumArcade; import com.scs.spectrumarcade.components.IEntity; import com.scs.spectrumarcade.entities.ericandf...
package com.xceptance.loadtest.posters.utils; import org.json.JSONArray; import org.json.JSONObject; import com.gargoylesoftware.htmlunit.html.HtmlElement; import com.xceptance.loadtest.api.hpu.LookUpResult; import com.xceptance.loadtest.api.models.pages.Page; import com.xceptance.loadtest.api.util.AjaxUtils; /** *...
package opt.ga; import dist.Distribution; import shared.Instance; /** * Implementation of the two-point crossover function for genetic algorithms. * Two-point crossover calls for two points to be selected on the parent organism strings. Everything between the two * points is swapped between the parent organisms. ...
/* * Copyright 2000-2011 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...
/* * Copyright 2013-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 "licen...
package org.neo4j.ogm.domain.autoindex.invalid; import org.neo4j.ogm.annotation.GraphId; import org.neo4j.ogm.annotation.Index; /** * @author Mark Angrish */ public class BadClass { @GraphId private Long id; @Index(unique = true, primary = true) private Long number; @Index(unique = true, prim...
package halfpipe.recipes.rss.model; import java.util.List; public interface RSSStore { List<String> getSubscribedUrls(String userId) throws Exception; void subscribeUrl(String userId, String url) throws Exception; void unsubscribeUrl(String userId, String url) throws Exception; }
package org.taitasciore.android.hospitalk.signup; import android.net.Uri; import org.taitasciore.android.hospitalk.BasePresenter; import org.taitasciore.android.hospitalk.BaseView; import org.taitasciore.android.model.LocationResponse; import org.taitasciore.android.model.User; import org.taitasciore.android.model.Us...
package org.apache.xalan.transformer; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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 * * ...
/* * ProGuard -- shrinking, optimization, obfuscation, and preverification * of Java bytecode. * * Copyright (c) 2002-2016 Eric Lafortune @ GuardSquare * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the F...
/* * Copyright 2006-2019 Prowide * * 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...
/* * The MIT License * * Copyright (c) 2014 Red Hat, Inc. * * 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...
/** * 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/ecl2.php * * Unless required by a...
package command; public interface LoggingReceiver { public void action(String data); }
package com.zlm.hello.spring.cloud.alibaba.nacos.provider.utils; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.Cl...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: js/js.serializer/src/js.debug.proto package org.jetbrains.kotlin.serialization.js; public final class DebugJsProtoBuf { private DebugJsProtoBuf() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry...
/* * Copyright (c) 2014, 2018, 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 org.egov.tl.util; import com.jayway.jsonpath.JsonPath; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.egov.common.contract.request.RequestInfo; import org.egov.tl.config.TLConfiguration; import org.egov.tl.producer.Producer; import org.egov.tl.repository.ServiceReques...
/* * Copyright (C) 2017 Sonicle S.r.l. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addition of the following permission * added to Section 15 as permitted i...
package arez.spy; import java.util.Map; import java.util.Objects; import javax.annotation.Nonnull; /** * Notification when Action starts. */ public final class ActionStartEvent implements SerializableEvent { @Nonnull private final String _name; /** * Is the action a "tracking" action. */ private fin...
package com.javafortesters.chap011exceptions.examples; import org.junit.Test; import static org.junit.Assert.assertEquals; public class ExceptionsExampleTest { @Test public void throwNullPointerException() { Integer age = 18; String ageAsString = age.toString(); String yourAge = "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 may ...
/* * Copyright 2000-2022 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * PS3 Media Server, for streaming any medias to your PS3. * Copyright (C) 2008 A.Brochard * * This program 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; version 2 * of the License only. * * This...
package de.metas.contracts.subscription.callout; /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2015 metas GmbH * %% * This program 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 ...
/* * Copyright 2010 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 w...
/** * <a href="http://www.openolat.org"> * OpenOLAT - Online Learning and Training</a><br> * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache...
package ejercicios.level2; import java.util.ArrayList; import java.util.List; public class Ejer4 { public static void main(String[] args) { List<String> students = loadNames(); List<List<String>> courses = studentInCourses(students); for (List<String> course : courses) { System...
package ir.mrl.rescuesim.sample; import java.util.Collection; import java.util.EnumSet; import rescuecore2.worldmodel.ChangeSet; import rescuecore2.messages.Command; import rescuecore2.standard.components.StandardAgent; import rescuecore2.standard.entities.StandardEntity; import rescuecore2.standard.entities.Standar...
/* ### * IP: GHIDRA * * 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 writin...
/* * Copyright 2009 Red Hat, Inc. * * Red Hat 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/LICENSE-2.0 * * Unless required by ...
/* * 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 * dis...
/* * 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...
package com.mj.springAction.chapter4; public class Magician implements MindReader { private String thoughts ; public void interceptThoughts(String thoughts) { System.out.println("Intercept volunteer`s thoughts."); this.thoughts = thoughts ; } public String getThoughts() { return thoughts; } }
package commands; import java.util.List; import controller.ControllerBackground; import controller.ControllerTurtle; import model.Agent; public class ClearScreen extends Command implements Executable { ControllerBackground backgroundController; ControllerTurtle turtleController; public ClearScreen(ControllerTu...
package livraria; import java.util.List; import java.util.ArrayList; import javax.servlet.http.HttpSession; public class SessionMessages { private HttpSession session; private List<String> errors; private List<String> success; public SessionMessages(HttpSession session) { this.session = sessi...
package org.freedesktop.dbus.test.helper.structs; import java.util.List; import org.freedesktop.dbus.Struct; import org.freedesktop.dbus.annotations.Position; public final class SampleStruct4 extends Struct { @Position(0) private final List<IntStruct> innerListOfLists; public SampleStruct4(List<IntStruct>...
/* * Copyright (c) 1997, 2000, 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 ...
/* * 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) 2013 Motown.IO (info@motown.io) * * 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...