text stringlengths 7 995k |
|---|
/*******************************************************************************
* Copyright 2012 Internet2
*
* 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.or... |
package net.thucydides.core.requirements.model.cucumber;
public class SummaryRowResultIcon implements RowResultIcon {
private final String fullScenarioName;
public SummaryRowResultIcon(String fullScenarioName) {
this.fullScenarioName = fullScenarioName;
}
public String resultToken(long lineN... |
package me.liuli.ez4h.managers.command.commands;
import me.liuli.ez4h.EZ4H;
import me.liuli.ez4h.managers.command.CommandBase;
import me.liuli.ez4h.minecraft.Client;
import java.util.concurrent.TimeUnit;
public class StatusCommand implements CommandBase {
@Override
public String getCommandName() {
re... |
public class Foo {
void m() {
System.out.println("5 = " + 5);<caret>
}
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package module48packageJava0;
import java.lang.Integer;
public class Foo66 {
Integer int0;
public void foo0() {
new module48packageJava0.Foo65().foo4();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2();
}
public void foo4() {
foo3... |
// Targeted by JavaCPP version 1.5.7-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.arrow_dataset;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.arrow.*;
import static org.bytedeco.arrow.glob... |
package org.codefilarete.tool.function;
import java.util.Objects;
import java.util.function.Function;
/**
* @author Guillaume Mary
*/
@FunctionalInterface
public interface ThrowingBiFunction<T, U, R, E extends Throwable> {
/**
* Applies this function to the given argument.
*
* @param t the function argumen... |
/*
* Copyright 2021 4Paradigm
*
* 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... |
package mage.filter.predicate.other;
import java.util.UUID;
import mage.cards.Card;
import mage.constants.TargetController;
import mage.filter.predicate.ObjectPlayer;
import mage.filter.predicate.ObjectPlayerPredicate;
import mage.game.Game;
/**
*
* @author North
*/
public class OwnerPredicate implements ObjectPla... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (col... |
// SPDX-License-Identifier: MIT
package com.daimler.sechub.restdoc;
import static com.daimler.sechub.sharedkernel.configuration.SecHubConfiguration.*;
import static com.daimler.sechub.sharedkernel.configuration.TestSecHubConfigurationBuilder.*;
import static com.daimler.sechub.test.TestURLBuilder.*;
import static com.... |
/*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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, cop... |
package eu.h2020.symbiote.messages.plugin;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.google.common.base.Objects;
import eu.h2... |
/*
* 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.example.android.quakereport;
public class Earthquake {
private double mMag;
private String mLocation;
private long mDate;
public Earthquake(double Mag, String Location, long Date){
this.mMag = Mag;
this.mLocation = Location;
this.mDate = Date;
}
public doub... |
/*
* 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... |
/*
* 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... |
package musementpark.offline.management.convert;
public class Converter {
public ClarkCard convertToCard(Clark clark){
return new ClarkCard(
clark.id,
clark.name
);
}
public Clark convertToClark(ClarkCard card, String office, String home)
{
retur... |
package edu.usach.apimain.model;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import edu.usach.apicommons.model.AbstractAuditableDescriptableEntity;
import edu.usach.apicommons.model.IEntity;
im... |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* 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.a... |
/**
* Copyright 2013-2015 JueYue (qrb.jueyue@gmail.com)
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required... |
/*
* Stripped-down Java Browsing perspective; this uses standalone views
* to avoid Eclipse UI junk.
* Placed into public domain by Brian de Alwis.
* @author bsd
*/
package ca.mt.wb.devtools.jdt;
import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.jdt.ui.JavaUI;
import org.eclipse.jdt.ui.PreferenceC... |
/*
* 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 it.studiomascia.gestionale.repository;
import it.studiomascia.gestionale.models.DBFile;
import org.springframework.data.jpa.re... |
package unitbv.cantinaApp.payload.food;
import java.math.BigDecimal;
public class FoodRepresentation {
private String name;
private BigDecimal price;
private Integer weigth;
private Long id;
private boolean visible;
public FoodRepresentation() {
super();
}
public FoodRepresentation(String name, BigDecim... |
/*
* Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
*
* 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 com.github.unclecatmyself.common.constant;
/**
* Created by MySelf on 2018/12/5.
*/
public class Constans {
public static final String TOKEN = "token";
public static final String VALUE = "value";
public static final String ONE = "one";
public static final String ON_ONLINE = "on_online";
... |
package easycoding.ch06.array_collections;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public class ArrayAndCollectionsDemo {
public static void main(String[] args) {
Integer[] integerArray = {1, 2, 3};
List<Integer> integerList = Arrays.asList(integerArray);
... |
package Renderers;
import kotNES.PPU;
import javax.swing.*;
import java.awt.*;
import java.awt.peer.ComponentPeer;
/**
* This render manager uses whatever sketchy unknown renderer used by Java.
*
* @author Tudor
* @author Quantum
*/
public class FallbackRenderManager implements IRenderManager
{
/**
* F... |
/*
* Copyright 2018 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 gee.sudoku.tools;
import gee.sudoku.krn.Matrice;
import gee.sudoku.io.MatriceFile;
import java.io.File;
import java.util.Scanner;
public class Wordoku2Sudoku {
public static void main(String[] args) {
// 1242076531734.wordoku
System.out.print("Please enter a valid path for wordoku file:");
Scanner sca... |
package com.cognitionbox.petra.examples.clothingchoice;
import com.cognitionbox.petra.annotations.View;
@View public interface SystemStates {
Clothing clothing();
DayAndWeather dayAndWeather();
} |
package com.jsf.cloud.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.client.ClientHttpRequestFactory;
import org.springframework.http.client.SimpleClientHttpRequestFactory;
import org.springframework.web.client.Re... |
package at.htl.rest.endpoint;
import at.htl.persistence.dao.Dao;
import at.htl.persistence.dao.TeacherDao;
import at.htl.persistence.entity.Teacher;
import at.htl.rest.dto.TeacherDto;
import javax.inject.Inject;
import javax.ws.rs.Path;
@Path("teacher")
public class TeacherEndpoint extends EntityEndpoint<Teacher, Te... |
/**
* Copyright 2017-2019 The GreyCat Authors. All rights reserved.
* <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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Un... |
// ============================================================================
//
// Copyright (C) 2006-2017 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
/*
* 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 2000-2015 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.hsjskj.quwen.http.json;
import com.google.gson.JsonArray;
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
im... |
/*
* Copyright (c) 2008-2016 Haulmont.
*
* 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... |
/*
* Copyright 2015 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 ... |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2014 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
package com.isabellegeorge.pinballwizard.util;
/**
* Created by Epicodus on 5/13/16.
*/
public interface ItemTouchHelperViewHolder {
void onItemSelected();
void onItemClear();
} |
package com.asu.MovieRecommender.User;
public class ChangePassword {
private String userName;
private String oldPassword;
private String newPassword;
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public ChangePassword() {
}
p... |
package br.edu.faculdadedelta.rentacar.controller;
import java.util.Map;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class NavController {
private String message = "Hel... |
package com.doopai.litemall.admin.web;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import com.doopai.litemall.admin.annotation.RequiresPermissionsDesc;
import com.doopai.litemall.core.util.ResponseUtil;
import com.do... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
/*
* Copyright 2017-2020 original 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 applicable law or agr... |
/*
* MIT License
*
* Copyright (c) 2021 Kyle Hicks
*
* 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, modif... |
/*
* 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 org.endeavourhealth.transform.hl7v2fhir.transforms;
import ca.uhn.hl7v2.model.primitive.ID;
import ca.uhn.hl7v2.model.v23.datatype.XON;
import ca.uhn.hl7v2.model.v23.segment.PD1;
import ca.uhn.hl7v2.model.v23.segment.PV1;
import org.endeavourhealth.transform.common.resourceBuilders.AddressBuilder;
import org.e... |
package ru.job4j.list;
import java.util.*;
/**
* Class SimpleQueue класс реализует очередь на базе связанного списка
*
* @author Konstantin Inozemcev (9715791@gmail.com)
* @version $Id$
* @since 0.1
*/
public class SimpleQueue<T> {
/**
* Ссылка на контейнер
*/
private SimpleLinkedList<T> lin... |
/*
* Copyright (c) 2006, 2018 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 (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.security.keyvault.secrets.implementation;
import com.azure.core.credential.TokenCredential;
import com.azure.core.credential.TokenRequestContext;
import com.azure.core.http.HttpPipelineCallContext;
import... |
/*
Copyright (c) 2015, Alcatel-Lucent Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
/*
* Copyright 2019 StreamThoughts.
*
* 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, Vers... |
/*
* Copyright 2014-present IVK JSC. 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 appl... |
package ca.uhn.fhir.jpa.starter.util;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.fatboyindustrial.gsonjavatime.Converters;
import com.google.g... |
package cgeo.geocaching.utils;
import cgeo.geocaching.R;
import cgeo.geocaching.activity.ActivityMixin;
import cgeo.geocaching.network.Network;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import org.apache.commons.lang3.StringUtils;
/**
* Utilities u... |
package com.hss01248.safemedia;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Andro... |
import org.infinispan.protostream.annotations.ProtoDoc;
import org.infinispan.protostream.annotations.ProtoFactory;
import org.infinispan.protostream.annotations.ProtoField;
@ProtoDoc("@Indexed")
public class Book {
@ProtoDoc("@Field(index=Index.YES, analyze = Analyze.YES, store = Store.NO)")
@ProtoField(number... |
package services;
import models.Task;
import java.util.List;
public class EbeanLogic {
public void testEbean(){
//Get from database
List<Task> tasks = Task.find.all();
System.out.println("Number of entries in database: : " +tasks.size());
//Id needs to be unique, cannot be one wh... |
package haxlike;
import fj.*;
import fj.data.List;
import haxlike.nodes.*;
import haxlike.nodes.tuples.*;
public class Nodes {
/**
* Create literal value node.
* @param <T> value class
* @param v value to wrap
* @return node containing the literal value
*/
public static <T> Node<T> v... |
/*
* Copyright 2020 Avee Player. 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 appli... |
/**
* LineItemCreativeAssociationServiceLocator.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201505;
public class LineItemCreativeAssociationServiceLocator extends org.apache.axis.client.Service imp... |
package org.dhis2.utils;
public class AuthorityException extends Exception {
public AuthorityException(String errorMessage) {
super(errorMessage);
}
} |
/*
* This file is part of java2c. It is subject to the licence terms in the COPYRIGHT file found in the top-level directory of this distribution and at https://raw.githubusercontent.com/raphaelcohn/java2c/master/COPYRIGHT. No part of compilerUser, including this file, may be copied, modified, propagated, or distribute... |
package ai.elimu.tasks;
import org.apache.logging.log4j.Logger;
import ai.elimu.dao.StoryBookParagraphDao;
import ai.elimu.dao.WordDao;
import ai.elimu.model.content.StoryBookParagraph;
import ai.elimu.model.content.Word;
import ai.elimu.model.v2.enums.Language;
import ai.elimu.rest.v2.service.StoryBooksJsonService;
i... |
/*
* Copyright (C) 2021 即时通讯网(52im.net) & Jack Jiang.
* The MobileIMSDK_UDP (MobileIMSDK v6.x UDP版) Project.
* All rights reserved.
*
* > Github地址:https://github.com/JackJiang2011/MobileIMSDK
* > 文档地址: http://www.52im.net/forum-89-1.html
* > 技术社区: http://www.52im.net/
* > 技术交流群:320837163 (http://www.52im.n... |
package scot.mygov.housing.forms.modeltenancy.model;
public enum CommunicationsAgreement {
HARDCOPY, EMAIL
} |
package ke.co.narwassco.rest;
import java.io.FileOutputStream;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import ... |
/*
* 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 ... |
/*
* Copyright (c) 2018, hiwepy (https://github.com/hiwepy).
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.example.gaurav.gitfetchapp.Feeds;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class CurrentUserOrganization {
@SerializedName("href")
@Expose
private String href;
@SerializedName("type")
@Expose
private String type;
/**... |
module it.jnrpe.services.command.repository {
requires it.jnrpe.engine;
} |
/*
* Copyright 2020 Crown Copyright
*
* 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.mmc.security.auth.service;
import java.util.List;
/**
* Created by ace on 2017/9/10.
*/
public interface AuthClientService {
public String apply(String clientId, String secret) throws Exception;
/**
* 获取授权的客户端列表
* @param serviceId
* @param secret
* @return
*/
publi... |
package taro.spreadsheet.model;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.FillPatternType;
import org.apache.poi.ss.usermodel.Font;
import org.apache.poi.xssf.usermodel.*;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Collections;
import java.util.Map... |
/*
* 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 aQute.libg.cryptography;
import aQute.lib.hex.*;
public abstract class Digest {
final byte[] digest;
protected Digest(byte[] checksum, int width) {
this.digest = checksum;
if (digest.length != width)
throw new IllegalArgumentException("Invalid width for digest: " + digest.length
+ " expected " ... |
package mage.cards.a;
import java.util.UUID;
import mage.constants.SubType;
import mage.target.common.TargetCreaturePermanent;
import mage.abilities.Ability;
import mage.abilities.common.BeginningOfUpkeepTriggeredAbility;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbi... |
package com.clausgames.crystalmagic.achievement;
import com.clausgames.crystalmagic.blocks.ModBlocks;
import com.clausgames.crystalmagic.items.ModItems;
import com.clausgames.crystalmagic.items.tool.ModTools;
import com.clausgames.crystalmagic.lib.LibAchievementNames;
import com.clausgames.crystalmagic.lib.LibMisc;
i... |
package pages;
import org.junit.Assert;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.ut... |
/*
* 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 breakout;
import javafx.geometry.Insets;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.scene.layout.TilePane;
import javafx.scene.paint.Color;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.ni... |
package org.liquidengine.legui.system.event;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Created by Shcherbin Alexander on 6/10/2016.
*/
public class SystemFramebufferSizeEvent implements SystemEvent {
public final long window;
publi... |
package io.redskap.swagger.brake.core.rule.request.parameter.constraint.array;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.Optional;
import io.redskap.swagger.brake.core.model.RequestParameterInType;
import io.redskap.swagger.brake.core.model.parameter.ArrayRequestParameter;
import io.... |
package com.ukefu.webim.service.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.ukefu.webim.web.model.StatusEventSatisf;
public interface StatusEventSatisfRepository extends JpaRepository<StatusEventSatisf, String> {
public StatusEventSatisf findById(String id);
} |
/*
* Copyright (2021, ) Institute of Software, Chinese Academy of Sciences
*/
package io.github.kubesys.datafrk.druid.items;
import io.github.kubesys.datafrk.core.items.VarcharType;
/**
* @author wuheng@iscas.ac.cn
* @since 2.0.2
*
*/
public abstract class DruidVarcharType extends VarcharType {
public Druid... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.dao;
import org.apache.jena.ontology.DatatypeProperty;
import org.apache.jena.ontology.ObjectProperty;
import org.apache.jena.ontology.OntClass;
import org.apache.jena.ontology.OntModel;
import org.apac... |
package jp.co.cyberagent.valor.cli.ast;
public class ScanNode implements AstNode {
private ProjectionClauseNode projection;
private FromClauseNode from;
private WhereClauseNode where;
public ScanNode(ProjectionClauseNode projection, FromClauseNode from, WhereClauseNode where) {
this.projection = project... |
package NO_0438_Find_All_Anagrams_in_a_String;
import java.util.ArrayList;
import java.util.List;
class Solution {
public List<Integer> findAnagrams(String s, String p) {
List<Integer> anagramIndexes = new ArrayList<>();
if (s == null || s.length() == 0 || p == null || p.length() == 0 || p.length(... |
/*
* Copyright 2020 Jeremy KUHN
*
* 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 i... |
package com.king.mvpframe.entity.dto;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
@Data
public class OrderTypeDTO implements Serializable {
private static final long serialVersionUID = 8764699462078835306L;
// @ApiModelProperty("订单类型")
private Integer orderType;
/... |
package org.eclipse.persistence.testing.jaxb.xmlinverseref;
public interface AddressOwner {
public Address getAddr();
} |
/*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
package the_gatherer.cards;
import basemod.abstracts.CustomCard;
import com.megacrit.cardcrawl.actions.common.GainEnergyAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.dung... |
package com.awesometickets.business.entities;
import javax.persistence.*;
import java.io.Serializable;
@Entity
@Table(name = "Country")
public class Country implements Serializable {
private Integer countryId;
private String countryName;
public Country() {
super();
}
@Id
@Generated... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.