text stringlengths 7 1.01M |
|---|
/*
* Created on 6 Feb 2008
*/
package uk.org.ponder.rsf.bare;
import uk.org.ponder.rsf.viewstate.AnyViewParameters;
/** Represents the output from an RSF render cycle **/
public class RenderResponse extends RequestResponse {
/** A ViewWrapper object wrapping the returned component tree, if any **/
p... |
package org.semanticweb.elk.reasoner.indexing.factories;
import org.semanticweb.elk.reasoner.indexing.modifiable.ModifiableIndexedPropertyChain;
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2012 Department of Computer Science, University of Oxford
* %%
* Licensed under the Apache L... |
/*
* Copyright 2014-2019 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 ua.training.repairagency.controller.commands;
import java.util.List;
import java.util.Map;
import java.util.ResourceBundle;
import javax.servlet.http.HttpServletRequest;
import ua.training.repairagency.model.dao.services.ServiceFactory;
public abstract class AbstractCommand implements Command {
protected... |
package info.u250.c2d.box2deditor.ui.controls;
import info.u250.c2d.box2deditor.adapter.PrismaticJointDefModel;
import info.u250.c2d.box2deditor.gdx.support.Geometry;
import info.u250.c2d.box2deditor.ui.Binder;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListene... |
package com.flipper.models;
import lombok.Data;
@Data
public class Wiki24hPrice {
public int avgHighPrice;
public int highPriceVolume;
public int avgLowPrice;
public int lowPriceVolume;
}
|
/*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
* disclaimer.
*
* 2. Redistributions in bin... |
package com.akash2099.fragment_tutorial;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
public class SendDataBetweenFragmentsThroughActivity extends AppCompatActivity implements FragmentA.FragmentAListener, FragmentB.FragmentBListener{
private FragmentA fragmentA;
private ... |
/* Gemma: An RPG
Copyright (C) 2013-2014 Eric Ahnell
Any questions should be directed to the author via email at: support@puttysoftware.com
*/
package com.puttysoftware.gemma.support.map.generic;
import com.puttysoftware.gemma.support.Support;
import com.puttysoftware.gemma.support.map.MapConstants;
import com.pu... |
/**
* 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.smallrye.graphql.execution;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import javax.json.JsonArray;
import javax.json.JsonObject;
import org.junit.jupiter.api.Test;
... |
package org.github.rwynn.wellington.cache;
import net.sf.ehcache.Cache;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.ehcache.EhCacheCacheManager;
import org.springframework.cache.ehcache.EhCacheManagerFactoryBean;
import org.springframework.context.annotation.Bean;
import... |
package com.superman.generator.service.impl;
import com.superman.utils.text.Convert;
import com.superman.generator.domain.GenTableColumn;
import com.superman.generator.mapper.GenTableColumnMapper;
import com.superman.generator.service.IGenTableColumnService;
import java.util.List;
import org.springframework.beans.fac... |
package org.togetherjava.command.commands.javadoc.formatting;
import de.ialistannen.htmljavadocparser.model.doc.JavadocComment;
import de.ialistannen.htmljavadocparser.model.properties.JavadocElement;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import net.dv8tion.jda.api.entit... |
package dp.observer.restaurant;
import dp.observer.interfaces.Hauptgericht;
import dp.observer.interfaces.HauptgerichtObserver;
public class Bueffetier implements HauptgerichtObserver {
private String name;
public Bueffetier(String name) {
this.name = name;
}
@Override
publi... |
package hu.mta.sztaki.lpds.cloud.entice.imageoptimizer.iaashandler.amazontarget;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
public class TestEC2VirtualMachine {
private EC2VirtualMachine t = null;
@Before public void init() {
System.setProperty("hu.mta.sztaki.lpds.cloud.en... |
/**
* 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 io.dronefleet.mavlink.common;
import io.dronefleet.mavlink.annotations.MavlinkFieldInfo;
import io.dronefleet.mavlink.annotations.MavlinkMessageBuilder;
import io.dronefleet.mavlink.annotations.MavlinkMessageInfo;
import io.dronefleet.mavlink.util.EnumValue;
import java.lang.Enum;
import java.lang.Object;
impo... |
package weixin.popular.api;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.client.methods.RequestBuilder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import weixin.popular.bean.BaseResult;
import weixi... |
/*
* API de Integração com GCC - Conteúdo
* Provê funcionalidades para criação, recuperação e atualização de conteúdo no repositório GCC
*
* OpenAPI spec version: 1.2.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not... |
package io.anemos.protobeam.convert;
import com.google.protobuf.Descriptors;
import com.google.protobuf.Message;
import org.apache.beam.sdk.schemas.Schema;
public class SchemaProtoToBeamSQL {
SchemaProtoContext context = new SchemaProtoContext();
public <T extends Message> Schema getSchema(Class<T> messageC... |
package org.greenscape.core.impl.config.json;
public class WebletConfig extends ResourceConfig {
public String name;
public String title;
public String icon;
public Boolean instanceable;
public String viewURL;
public String helpURL;
public String loadJS;
public String loadCSS;
@Override
public String toStri... |
/*
* Copyright 2020 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... |
package com.yueyue.seeweather.common.utils;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
publi... |
// Copyright 2017 The Nomulus 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 a... |
/*
* Copyright (C) 2016 Red Hat, 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 agre... |
/*
* 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 dungeon.souls.modding.tool.ui;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
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 ... |
package net.bartzz.pexmanager.listener;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import net.bartzz.pexmanager.data.PermissionPlayer;
public class JoinListener impleme... |
package com.sdl.demo.extjs3.form;
import com.sdl.selenium.extjs3.button.Button;
import com.sdl.selenium.extjs3.button.DownloadButton;
import com.sdl.selenium.extjs3.button.UploadButton;
import com.sdl.selenium.extjs3.form.CheckBox;
import com.sdl.selenium.extjs3.panel.Panel;
public class SimpleForm extends Panel {
... |
package p;
public class A {
class Inner1 {
public Inner1(int param) {
}
}
public void doit(final int a, final String param) {
Object o = new Inner1(a) {
public void m1(String s2) {
String s3 = param + s2;
}
};
}
}
|
package bzh.medek.server.json.admin.user;
public class JsonAdminUser {
private Integer id;
private String login;
private String email;
private String password;
private String confpassword;
public JsonAdminUser() {
super();
}
public JsonAdminUser(Integer id, String login, String email) {
super();
this.... |
package it.smartcommunitylab.cartella.asl.model.ext;
public class ProfessorClassInfoTn {
private String extId;
private String origin;
private String classroom;
private Corso course;
private String datefrom;
private String dateto;
private String extIdInstitute;
private String schoolyear;
private Teacher teach... |
/*
*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license.
*
* Project Oxford: http://ProjectOxford.ai
*
* Project Oxford Mimicker Alarm Github:
* https://github.com/Microsoft/ProjectOxford-Apps-MimickerAlarm
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT... |
/**
Copyright (c) 2017 HF Robotics (http://www.hfrobots.com)
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, ... |
import java.util.Scanner;
public class ReversedChars {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String sum = "";
for (int i = 0; i < 3; i++) {
char next = scan.nextLine().charAt(0);
sum = sum + next;
}
for (int... |
package org.apereo.cas.web.view;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apereo.cas.CasProtocolConstants;
import org.apereo.cas.CasViewConstants;
import org.apereo.cas.authentication.CoreAuthenticationTestUtils;
import org.apereo.cas.authentication.DefaultAuthenticationAttributeRelease... |
package edu.neu.android.wearwocketslib.services;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.data.FreezableUtils;
import com.google.android.gms.weara... |
/*
* MIT License
*
* Copyright (c) 2020 Airbyte
*
* 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, ... |
/*
* Copyright 2021 Red Hat, Inc. and/or its affiliates.
*
* 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... |
/* Copyright (c) 2020 Seva Safris, LibJ
* Copyright (c) 2015-2016 Simon Klein, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... |
package com.thvardhan.epicbanana;
import com.thvardhan.epicbanana.handlers.RegistryHandler;
import net.minecraft.block.Block;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitia... |
/*
* @(#)Token.java 4.1.0 2017-06-04
*
* You may use this software under the condition of "Simplified BSD License"
*
* Copyright 2010-2017 MARIUSZ GROMADA. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the follow... |
package il.org.spartan.reflection;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
/** A class realizing a recursive traversal of a reflection {@link Class}
* object, applying the appropriate function supplied by a {@link Visitor} to
* the object itself and to ... |
/*
* Copyright (c) 2019, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory
* CODE-743439.
* All rights reserved.
* This file is part of CCT. For details, see https://github.com/LLNL/coda-calibration-tool.
*
* Licensed under the Apache License, Version 2.0 (the “Licensee”)... |
package org.prebid.server.auction;
import com.iab.openrtb.request.BidRequest;
import com.iab.openrtb.response.BidResponse;
import io.vertx.core.Future;
import io.vertx.ext.web.RoutingContext;
import org.prebid.server.proto.response.AmpResponse;
/**
* A hook that is pulled prior sending the AMP RTC response back to t... |
/*
* 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")... |
/*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2017
http://railcraft.info
This code is the property of CovertJaguar
and may only be used with explicit written
permission unless otherwise specified on the
license page at http://railcraft.info/wiki... |
package models;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import models.base.BaseNotifiable;
import models.base.INotifiable;
import models.services.ElasticsearchService;
import play.db.jpa.JPA;
import models... |
/**
* 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... |
// 2019-4-25
// 翻转字符串
// leetcode-151
import java.util.*;
public class ReverseWordsInSentence {
public String reverse(String str) {
char[] charArray = str.toCharArray(); // 转换为数组
// 整个字符串翻转
int start = 0, end = charArray.length - 1;
while (start < end) {
char tmp = charArray[start];
charArray[start] =... |
/**
* MIT License
Copyright (c) 2018 deepakshajan
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, pub... |
package com.sap.mlt.xliff12.impl.attribute;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.sap.mlt.xliff12.api.attribute.ContextType;
public class ContextTypeImplTest {
@Test
public void testContextTypeImplValue() {
ContextTypeImpl attr = new ContextTypeImpl(ContextT... |
//,temp,KeyValueHandler.java,519,544,temp,KeyValueHandler.java,487,514
//,3
public class xxx {
ContainerCommandResponseProto handleDeleteKey(
ContainerCommandRequestProto request, KeyValueContainer kvContainer) {
if (!request.hasDeleteKey()) {
LOG.debug("Malformed Delete Key request. trace ID: {}",
... |
/*
Copyright [2016] [Taqdir Ali]
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
distr... |
/*
* -----------------------------------------------------------------------------
*
* Copyright 2019 - 2022 UDT-IA, IIIA-CSIC
*
* 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
*
* ... |
package com.github.sergueik.selenium_utils;
import java.io.File;
import java.lang.reflect.Method;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.logging.Level;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import or... |
/*
* Copyright 2010 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 i... |
/*
* Copyright (C) 2004, 2005 Joe Walnes.
* Copyright (C) 2006, 2007, 2009, 2011, 2015 XStream Committers.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
* Cre... |
/*
* Copyright 2019 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package com.mindao.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
*
*
* @author liguocai
* @email 153277817@qq.com
* @date 2017-06-14 14:02:08
*/
public class UserEntity implements Serializable {
private static final long serialVersionUID = 1L;
public static final S... |
package com.planet_ink.coffee_mud.Abilities.Poisons;
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.*;
impor... |
package it.polimi.ingsw.network;
import it.polimi.ingsw.commons.User;
import it.polimi.ingsw.utils.GameMode;
import it.polimi.ingsw.utils.messages.clientMessages.*;
import it.polimi.ingsw.utils.messages.serverMessages.*;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;... |
package util;
/**
*
* @author juanluis
*/
public class Subscription_check {
public enum Result { OKAY, NO_TOPIC, NO_SUBSCRIPTION };
public Topic topic;
public Result result;
public Subscription_check(Topic topic, Result result) {
this.topic = topic;
this.result = result;
}
... |
/*******************************************************************************
* 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... |
package mil.nga.giat.mage.sdk.http.converter;
import android.content.Context;
import com.squareup.okhttp.ResponseBody;
import java.io.IOException;
import mil.nga.giat.mage.sdk.datastore.user.User;
import mil.nga.giat.mage.sdk.jackson.deserializer.UserDeserializer;
import retrofit.Converter;
/**
* Retrofit locatio... |
package com.adevinta.android.barista.sample;
import androidx.test.rule.ActivityTestRule;
import androidx.test.runner.AndroidJUnit4;
import com.adevinta.android.barista.sample.util.FailureHandlerValidatorRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import static com.adevinta.and... |
package numbers;
import junit.framework.TestCase;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.common.serialization.StringDeserializer;
import org.apache.kafka.common.serialization.StringSerializer;
import org.apache.kafka.str... |
package simulation;
import java.awt.Point;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import model.Cell;
import model.Matrix;
import model.Particle;
public class CellIndexMethod {
public static void calculateDistance(int sideLength, int M, double rc, List<Particle> particles,
boolea... |
package com.tyty.mybatis.generator.plugin;
import org.mybatis.generator.api.GeneratedXmlFile;
import org.mybatis.generator.api.IntrospectedTable;
import org.mybatis.generator.api.PluginAdapter;
import java.lang.reflect.Field;
import java.util.List;
/**
*
*/
public class OverIsMergeablePlugin extends PluginAdapter ... |
package com.tvd12.ezydata.mongodb.query;
import java.util.function.Function;
import org.bson.BsonValue;
import com.tvd12.ezydata.database.query.EzyQLQuery;
import com.tvd12.ezydata.mongodb.converter.EzyMongoDataConverter;
public class EzyMongoQuery extends EzyQLQuery {
public EzyMongoQuery(Builder builder) {
su... |
/*
* Copyright 2002-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.apache.org/licenses/LICENSE-2.0
*
* Unless required b... |
/*
* Copyright 1999-2021 Alibaba Group Holding 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 applicab... |
package eu.lucaventuri.fibry.distributed;
import eu.lucaventuri.common.Exceptions;
import java.io.IOException;
import java.net.URI;
import java.net.URLEncoder;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.nio.charset.StandardCharsets;
import java.ut... |
package com.genersoft.iot.vmp.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.genersoft.iot.vmp.gb28181.bean.GbStream;
import com.genersoft.iot.vmp.media.zlm.ZLMRESTfulUtils;
import com.genersoft.iot.vmp.media.zlm.dto.MediaIt... |
/*
*
* Copyright 2015-2017 Vladimir Bukhtoyarov
*
* 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 ... |
package com.flc.util;
import com.flc.service.system.menu.impl.MenuService;
import com.flc.service.system.role.impl.RoleService;
import com.flc.service.system.user.UserManager;
/**
* @author Administrator
* 获取Spring容器中的service bean
*/
public final class ServiceHelper {
public static Object getService(String ser... |
package info.androidhive.speechtotext;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Locale;
import java.util.concurrent.ExecutionException;
import java.util.regex.Pattern;
import android.annotation.TargetApi;
import android.app.Activity;
import android.app.Dialog;
impo... |
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
package org.ligoj.app.api;
/**
* A configurable plug-in manage some extra configuration.
*/
@FunctionalInterface
public interface ConfigurablePlugin {
/**
* Return the configuration of given subscription.
*
* @param subscriptio... |
/*
* Copyright 2016 Pascal Mainini
* Licensed under MIT license, see included file LICENSE or
* http://opensource.org/licenses/MIT
*/
package ch.mainini.famodulus.server;
import java.util.logging.Logger;
import javax.ws.rs.container.ContainerRequestContext;
import javax.ws.rs.container.ContainerResponseContext;
im... |
package it.unibo.comm2022.tcp;
import java.net.Socket;
import it.unibo.comm2022.interfaces.Interaction2021;
import it.unibo.comm2022.utils.ColorsOut;
public class TcpClientSupport {
// private Socket socket;
public static Interaction2021 connect(String host, int port, int nattempts ) throws Exception {
// TcpCli... |
package com.beeva.beenote;
/**
* Created by marianclaudiu on 5/06/15.
*/
import com.amazonaws.mobileconnectors.lambdainvoker.LambdaFunction;
import com.beeva.beenote.models.MetaNoteMessage;
import com.beeva.beenote.models.MetaNoteResponse;
public interface NoteProxy {
@LambdaFunction(functionName = "TestUbiq")... |
package com.skytala.eCommerce.domain.order.relations.returnStatus.mapper;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.ofbiz.entity.GenericValue;
import com.skytala.eCommerce.domain.order.relation... |
package usi.dbdp.uic.base.dao.impl4mysql;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.jdbc.core.PreparedStatementSetter;
import org.springframework.jdbc.core.RowMapper;
import org.springframew... |
package com.tw.marsrover;
/**
*
* @author vji
*/
public class UninitialisedPlateauException extends RuntimeException {
public UninitialisedPlateauException(String message) {
super(message);
}
}
|
/*
* 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... |
/* ###
* 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... |
package playground.spring.jpa.attributeConverter.model;
import lombok.Data;
import lombok.NoArgsConstructor;
import playground.spring.jpa.attributeConverter.PayloadConverter;
import javax.persistence.Convert;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Generation... |
package uk.org.binky.jchan.results;
public interface SendResult {
void run(final boolean ok);
}
|
/*
* 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
* distribute... |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.core;
import com.google.common.base.Preconditions;
import com.google.common.collect.Maps;
import io.permazen.core.type.ReferenceFieldType;
import io.permazen.core.util.ObjIdMap;
import io.permazen.core.util.ObjIdSet;
import io.pe... |
/*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.linkedpipes.plugin.loader.wikibase.model;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.wikidata.wdtk.datamodel.helpers.Datamodel;
import org.wikidata.wdtk.datamodel.helpers.ItemDocumentBuilder;
import org.wikidata.wdtk.datamodel.helpers.StatementBuilder;
import org.wikidata.wdtk.data... |
package io.hibit.rxcontroller.application;
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 ... |
package anichan.parser;
import anichan.commands.Command;
import anichan.commands.RemoveCommand;
import org.junit.jupiter.api.Test;
import anichan.exception.AniException;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
//@@author michaeldinata
cl... |
/*
*
* Copyright 2020 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://www.apache.org/licenses/LICENS... |
package io.ketill.hidusb.psx;
import io.ketill.MappedFeatureRegistry;
import io.ketill.psx.Ps4Controller;
import org.hid4java.HidDevice;
import org.jetbrains.annotations.NotNull;
import static io.ketill.psx.Ps4Controller.*;
public final class HidPs4AdapterUsb extends HidPs4Adapter {
private static final byte IN... |
/*
* Copyright 2014-2022 The Ideal Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file or at
* https://theideal.org/license/
*/
package ideal.development.analyzers;
import ideal.library.elements.*;
import ideal.runtime.elements.*;
... |
package limax.xmlgen;
public final class TypeInt extends Type {
TypeInt() {
super("int");
}
@Override
public boolean resolve() {
return true;
}
@Override
public void accept(Visitor visitor) {
visitor.visit(this);
}
@Override
public boolean isConstType() {
return true;
}
... |
package maru.ui.wizards;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.