text stringlengths 7 995k |
|---|
/**
*
*/
package soars.application.simulator.menu.file;
import java.awt.event.ActionEvent;
/**
* @author kurata
*
*/
public interface IFileMenuHandler {
/**
* @param actionEvent
*/
void on_file_exit(ActionEvent actionEvent);
/**
* @param actionEvent
*/
void on_file_new(ActionEvent actionEvent);
... |
/*
* Copyright 2017-present 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... |
package cn.ve.design_pattern.behavioral_patterns.strategy.demo1;
/**
* @author ve
* @date 2020/5/1 20:50
*/
public enum CustomerTypeEnum {
RICH {
@Override void market() {
System.out.println("给有钱人邮寄会员卡");
}
}, POOR {
@Override void market() {
System.out.printl... |
package bg.bulsi.egov.eauth.services.profile;
import java.io.IOException;
import java.util.Optional;
import javax.xml.parsers.ParserConfigurationException;
import org.modelmapper.ModelMapper;
import org.opensaml.core.xml.io.UnmarshallingException;
import org.opensaml.saml.saml2.core.Response;
import org.springframew... |
package com.shigeodayo.ardrone.video;
//Copyright 2007-2011, PARROT SA, all rights reserved.
//DISCLAIMER
//The APIs is provided by PARROT and contributors "AS IS" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability
//and fitness for a particular purpose... |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/**
* Copyright 2011-2017 Asakusa Framework Team.
*
* 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.acra.builder;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Debug;
import android.os.Looper;
import android.support.annotat... |
package com.heb.togglr.api.controllers;
import org.springframework.data.rest.webmvc.RepositoryRestController;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframew... |
package com.tinkerpop.blueprints.pgm;
import java.util.Set;
/**
* An automatic index will automatically maintain an index of element properties as element properties mutate.
* If an element is removed from the graph, then it is also automatically removed from the automatic index.
* The key/value pairs that are aut... |
package net.apnic.rdapd.history.config;
import net.apnic.rdapd.autnum.ASN;
import net.apnic.rdapd.autnum.ASNInterval;
import net.apnic.rdapd.autnum.AutNumSearchService;
import net.apnic.rdapd.history.History;
import net.apnic.rdapd.history.ObjectHistory;
import net.apnic.rdapd.history.ObjectIndex;
import net.apnic.rda... |
package org.apache.spark.sql.catalyst.catalog;
public class FunctionResource implements scala.Product, scala.Serializable {
static public abstract boolean canEqual (Object that) ;
static public abstract boolean equals (Object that) ;
static public abstract Object productElement (int n) ;
static public ab... |
package io.github.wangeason.multiphotopicker.event;
import io.github.wangeason.multiphotopicker.entity.Photo;
/**
* Created by wangeason on 15/9/24.
*/
public interface OnItemClickListener {
void onItemClick(int position, Photo path, int selectedItemCount, int selectTimes);
} |
// This is a generated file. Not intended for manual editing.
package com.perl5.lang.tt2.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface PsiMacroName extends PsiElement {
@Nullable
PsiCallArguments getCallArguments();
} |
package cc.zkteam.zkinfocollectpro.activity;
/**
* Created by Administrator on 2017/12/30.
*/
public class CredentialsInfoActivity {
} |
package mediabrowser.model.session;
import mediabrowser.model.entities.*;
/**
Class PlaybackStopInfo.
*/
public class PlaybackStopInfo
{
/**
Gets or sets the item.
<value>The item.</value>
*/
private BaseItemInfo Item;
public final BaseItemInfo getItem()
{
return Item;
}
public final void setItem(B... |
/*
* Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.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 requ... |
package tegenton.card.game.type.subtype;
public interface Subtype {
/**
* @return Properly capitalized name of this subtype
*/
String getName();
} |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
package junit.org.rapidpm.junit.basics;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.*;
import org.rapidpm.frp.model.serial.Pair;
public class Basic05Test {
public static class Demo
extends Pair<Integer, String> {
public Demo(Integer ... |
package com.iwillow.app.android.ui.view;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import and... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
class Wrapper {
String myField;
Wrapper(String s) {
myField = s;
}
} |
package com.crab.android.widget;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.Menu;
import andr... |
package com.coffee.baby.annotation;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
/**
* @Description TODO
* @Author Th... |
package org.support.project.knowledge.logic.notification;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.support.project.common.test.Order;
import org.support.project.common.test.OrderedRunner;
import org.support.project.k... |
// This is a generated file. Not intended for manual editing.
package com.justint.usdidea.lang.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
... |
/*
* Copyright 2000-2014 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... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... |
/*
Copyright 2016 Richard Robinson @ NHS Digital <rrobinson@nhs.net>
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.bbn.akbc.neolearnit.evaluation.offsets;
import java.util.Map;
import com.bbn.bue.common.parameters.Parameters;
import com.bbn.serif.theories.DocTheory;
import com.bbn.serif.theories.SentenceTheory;
public class BasicOffsetConverter extends AbstractOffsetConverter {
private final boolean useEDT;
publi... |
/*
* 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 pokecube.mixin.worldgen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import com.mojang.serialization.Codec;
import net.minecraft.co... |
package br.com.basis.madre.madreexames.service.mapper;
import br.com.basis.madre.madreexames.domain.Material;
import br.com.basis.madre.madreexames.service.dto.MaterialDTO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
/**
* Mapper for the entity {@link Material} and its DTO {@link MaterialDTO}.
*/
@M... |
/*
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.ssym.nwd.inf;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.hankcs.hanlp.HanLP;
import com.hankcs.hanlp.mining.word.WordInfo;
import com.hankcs.hanlp.mining.word.NewWordDiscover;
/**
* 根据信息熵和互信息实现新词发现
* @author liuyong
*/
publ... |
package com.fuzs.materialmaster.api.provider;
import com.fuzs.materialmaster.api.builder.AttributeMapBuilder;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.item.I... |
/***
* Copyright (c) 2009 Caelum - www.caelum.com.br/opensource 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
*
... |
package br.unifacol.loja.dados;
public class VendedorDados extends Dado {
} |
package eapli.base.formulariomanagement.application;
import eapli.base.formulariomanagement.domain.Atributo;
import eapli.base.formulariomanagement.domain.Formulario;
import eapli.base.formulariomanagement.repository.AtributoRepository;
import eapli.base.formulariomanagement.repository.FormularioRepository;
import eap... |
public static int[] bubbleSort (int[] array) {
for (int i = array.length - 1; i > 0; i--) {
for (int j = 0; j < i; j++) {
if (array[j] > array[j + 1]) {
int temp = array[j];
array[j] = array[j + 1];
array[j + 1] = temp;
... |
package Jan2021Leetcode;
import java.util.LinkedList;
import java.util.Queue;
public class _0572SubtreeOfAnotherTree {
static public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode() {
}
TreeNode(int val) {
this.val = val;
}
TreeNode(int val, TreeNode left, TreeNode right) {
... |
package macrobase.analysis.stats;
import macrobase.analysis.stats.kernel.EpanchnikovMulticativeKernel;
import macrobase.conf.ConfigurationException;
import macrobase.conf.MacroBaseConf;
import macrobase.datamodel.Datum;
import org.apache.commons.math3.linear.EigenDecomposition;
import org.apache.commons.math3.linear.M... |
package lia.util.timestamp;
/**
*
* A simple wrapper class for any value which can have an associated {@link Timestamp}
* The objects of this class are ordered by their {@link #timestamp}
*
* @author ramiro
* @param <V> Type of object held in store
*/
public abstract class TimeStampedValue<V> implements Times... |
package org.guoli.blog.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.guoli.blog.entity.Comment;
public interface CommentMapper extends BaseMapper<Comment> {
} |
package org.jbehavesupport.core.support;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.ZoneId;
import java.util.Date;
/**
* The interface represents facade for obtaining current date and time.
* It allows to provide custom time-machine implementation for test... |
package fifoAnimalShelter;
import org.junit.Test;
import static org.junit.Assert.*;
public class AnimalShelterTest {
@Test
public void testEnqueueCat() {
AnimalShelter testEnqueue = new AnimalShelter();
testEnqueue.enqueue("cat");
testEnqueue.enqueue("cat");
testEnqueue.enque... |
package org.synbiohub.frontend;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader... |
package org.bukkit.entity;
import java.util.Set;
/**
* Represents a complex living entity - one that is made up of various smaller
* parts
*/
public interface ComplexLivingEntity extends LivingEntity {
/**
* Gets a list of parts that belong to this complex entity
*
* @return List of parts
*... |
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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... |
/**
* Copyright (c) 2005-2012 https://github.com/zhangkaitao
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
package com.sishuok.es.sys.user.service;
import com.sishuok.es.sys.organization.entity.Job;
import com.sishuok.es.sys.organization.entity.Organization;
import com.sishuok.es.sys.organ... |
package de.springbootbuch.messaging_jms.simple;
import javax.jms.ConnectionFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.jms.DefaultJmsListenerContainerFactoryConfigurer;
import org.springframework.context.annotation.Bean;
import org.springframework.con... |
/* Generated By:JJTree: Do not edit this line. ASTFunctionHeader.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=false,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package lcr.c2bsv.parser;
public
class ASTFunctionHeader extends S... |
package classgen.type.transform.typehander.impl;
import classgen.type.transform.typehander.TfBaseTypeHander;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* 类{@code BooleanTypeHandler}:
*
* @author jiangliangzhong
* @date 21:17 2019/10/28
*/
public class BooleanfTTypeHandler extends TfBaseTypeHan... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__long_console_readLine_multiply_71b.java
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-71b.tmpl.java
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: console_readLine Read data from the console ... |
/**
* Copyright © 2016-2019 The Thingsboard 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 applicab... |
package com.refinitiv.eta.transport;
interface HeaderWebSocketHandler {
int decodeWebSocketHeader(WebSocketSession session, HttpMessageHandler parser, HttpHeader header, Error error);
int encodeWebSocketHeader(WebSocketSession session, HttpHeaders httpHeaders, String headerName, Error error);
default int... |
package com.lee.tac.model;
public class Project {
private Integer id;
private String createTime;
private String name;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
publ... |
/*
* #%L
* SAMOA
* %%
* Copyright (C) 2013 Yahoo! 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... |
package com.jn.chart.listener;
import android.view.GestureDetector.SimpleOnGestureListener;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
public class OnDrawLineChartTouchListener extends SimpleOnGestureListener implements OnTouchListener {
@Override
public bo... |
/*
* Copyright 2013-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... |
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("gr")
@Implements("AbstractByteBuffer")
public abstract class AbstractByteBuffer {
@ObfuscatedName("q")
@Export("directBufferUna... |
package io.github.wrobezin.eunha.app;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoRepositoriesAutoConfiguration;
import org.springframework.data.elasticsearch.repository.config.Enab... |
/*
* Copyright (c) 2015 Espark And ©Adarsh Development Services @copyright 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 copyr... |
package com.planet_ink.coffee_mud.Locales;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink... |
package com.xj.Server.dao;
import com.xj.Server.exception.LoginSQLException;
import com.xj.Server.model.MonitorUser;
public class MonitorUserDaolmpl extends BaseDao<MonitorUser> implements MonitorUserDao {
@Override
public int add(MonitorUser user) {
String sql="insert into monitor(username,num) values(?,?)";
... |
package com.okta.rest.springboot;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
public class Main {
public static void main(String[] args) {
Map<String, String> map = new LinkedHashMap<>();
map.put("sei... |
/*
* 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 problemsolving;
import java.util.Scanner;
/**
*
* @author FCS
*/
public class average {
public static void main(S... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/*
* Copyright 2001-2004 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.... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package ncu.cc.digger.controllers.backends;
import ncu.cc.digger.constants.BeanIds;
import ncu.cc.digger.constants.Routes;
import ncu.cc.digger.security.AppUserAuthentication;
import ncu.cc.digger.security.AuthenticationService;
import ncu.cc.digger.services.LocaleService;
import ncu.cc.digger.services.MenuService;
im... |
package org.jabref.gui.maintable;
import java.util.HashMap;
import java.util.Map;
import javax.swing.undo.UndoManager;
import javafx.scene.Node;
import org.jabref.gui.externalfiletype.ExternalFileType;
import org.jabref.gui.externalfiletype.ExternalFileTypes;
import org.jabref.gui.icon.IconTheme;
import org.jabref.... |
package hw;
/*
* 讓使用者輸入1, 2, 3, 與4選項,
1.輸入 n 並顯示圖形 (ex: n = 5)
2.輸入 n 並顯示圖形
3.輸入 n (必須是奇數)並顯示圖形
4.結束程式
* Date: 2016/10/17
* Author: 103051089 林冠磊
*/
import java.util.Scanner;
public class hw04_103051089 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(Sys... |
// FCMOD
package net.minecraft.src;
public class FCItemBlockTorchBurning extends ItemBlock
{
public FCItemBlockTorchBurning( int iItemID )
{
super( iItemID );
}
@Override
public boolean onItemUse( ItemStack stack, EntityPlayer player, World world, int i, int j, int k, int iFacing, fl... |
package com.omega.amazehing.game.entity.component.ai.path;
import com.badlogic.ashley.core.Component;
import com.badlogic.gdx.utils.Pool.Poolable;
public class PathfindingStateComponent implements Component, Poolable {
private boolean isDone;
public PathfindingStateComponent() {
}
public boolean is... |
/*
* 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 FactoryAndData.B2C;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Factory;
import CommonFunction.Common;
import TestData.PropsUtils;
import TestScript.B2C.NA25269Test;
public class NA25269 {
@DataProvider(name = "25269")
public static Object[][] Data21876() {
return Common.ge... |
package io.wildernesstp.util;
/**
* MIT License
* <p>
* Copyright (c) 2019 Quintin VanBooven
* <p>
* 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 witho... |
// Copyright 2018-2019 Markus Grech
//
// 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 ... |
/*
* Copyright 2021 ThoughtWorks, 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 agr... |
package com.hellonms.platforms.emp_orange.client_swt.page.emp_model;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.FormAttachment;
import org.eclipse.swt.layout.FormData;
import org.eclipse.swt.layout.FormLayout;
impor... |
/*
* Copyright (c) 2020. https://rxmicro.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 applicable law o... |
import java.util.Scanner;
public class MainGame {
public static void main(String [] args ){
Scanner scan = new Scanner(System.in);
System.out.println("Welcome to Snakes and Ladders, please enter the number of players: ");
int numPlayers = scan.nextInt();
Player[] playerArray = ... |
package com.github.kumaraman21.intellijbehave.parser;
import com.github.kumaraman21.intellijbehave.language.JBehaveIcons;
import com.github.kumaraman21.intellijbehave.psi.JBehaveNarrative;
import com.github.kumaraman21.intellijbehave.psi.JBehaveNarrativeText;
import com.intellij.lang.ASTNode;
import com.intellij.navig... |
/**
*/
package laboratoryAutomation;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Job Request</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* ... |
package com.longway.sharepreferencesmultiprocessaccess;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
... |
package net.anweisen.cloud.master.node;
import net.anweisen.cloud.driver.network.SocketChannel;
import net.anweisen.cloud.driver.node.DefaultNodeManager;
import net.anweisen.cloud.driver.node.NodeInfo;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collection;
import java.util.Col... |
/*
* 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 ... |
/*
* 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 jenkins.plugins.logstash.persistence;
import static org.junit.Assert.assertEquals;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.mockito.junit.MockitoJUnitRunner;
@RunWith(MockitoJUnitRunner.class)
public class LogstashDaoT... |
/*
* 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 not use this... |
package org.hisp.dhis.metadata.programs;
/*
* Copyright (c) 2004-2020, 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 ab... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* 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 ${package}.general.common.base.test;
import com.devonfw.module.test.common.base.SubsystemTest;
import ${package}.SpringBootApp;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
/**
* Abstract base class for {@link Subsy... |
/*
* BaseField.java
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2015-2018 Apple Inc. and the FoundationDB project 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 obtai... |
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... |
/*
* Copyright 1999-2006 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... |
package com.studio4plus.homerplayer;
import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Handler;
import android.os.HandlerThread;
import android.preference.PreferenceManager;
import c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.