text stringlengths 7 1.01M |
|---|
package ru.stqa.pft.mantis.appmanager;
import org.openqa.selenium.By;
public class RegistationHelper extends HelperBase{
public RegistationHelper(ApplicationManager app) {
super(app);
}
public void start(String username, String email) {
wd.get(app.getProperty("web.baseUrl") + "/signup_pa... |
package item;
// An Item that can be purchased through the Shop-room
public class PurchasableItem extends Item {
private final int PRICE;
// Initialize the Item with a price
PurchasableItem(int PRICE) {
this.PRICE = PRICE;
}
// Return the price of the Item
public int getPrice() {
... |
/**
* 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 dream.work.modules.system.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.CreationTimestamp;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import ja... |
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... |
/*
* Copyright 2015-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://aws.amazon.com/apache2.0
*
* or in the "licen... |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
/**
* Copyright (C) 2010-2012, FuseSource Corp. All rights reserved.
*
* http://fusesource.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/lice... |
package com.example.android.miwok;
import android.content.Context;
import android.media.AudioManager;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import java.ut... |
package de.dytanic.cloudnet.ext.bridge.velocity;
import com.google.inject.Inject;
import com.velocitypowered.api.event.Subscribe;
import com.velocitypowered.api.event.proxy.ProxyInitializeEvent;
import com.velocitypowered.api.event.proxy.ProxyShutdownEvent;
import com.velocitypowered.api.plugin.Plugin;
import com.velo... |
/*
* Copyright (c) 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
*/
package oracle.weblogic.deploy.encrypt;
import java.security.InvalidAlgorithmParameterException;
import java.secu... |
package company.tap.gosellapi.internal.interfaces;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.HashMap;
import company.tap.gosellapi.internal.api.enums.TransactionMode;
import company.tap.gosellapi.internal.api.mod... |
package org.opencb.hpg.bigdata.analysis.variant.statistics;
public class FisherTestResult {
private double oddRatio;
private double pValue;
public FisherTestResult(double pValue, double oddRatio) {
this.pValue = pValue;
this.oddRatio = oddRatio;
}
@Override
public String toSt... |
/**
* 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.subutai.common.util;
import org.junit.Test;
import org.apache.commons.net.util.SubnetUtils;
import static junit.framework.TestCase.assertEquals;
public class SubnetUtilsTest
{
@Test
public void testIp()
{
SubnetUtils utils = new SubnetUtils( "10.12.0.1/24" );
final SubnetUti... |
/* Copyright 2002-2021 CS GROUP
* Licensed to CS GROUP (CS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* CS licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
package com.alyrow.gdx.particle.physics;
import com.badlogic.gdx.math.Vector2;
/**
* @author alyrow
* Linear force
*/
public class LinearForce extends PhysicForce {
/**
* Linear force
* @param vx x axis intensity
* @param vy y axis intensity
*/
public LinearForce(float vx, float vy) {
... |
package com.arcare.oauth.po;
import java.io.Serializable;
import javax.persistence.*;
/**
* The persistent class for the client_type database table.
*
*/
@Entity
@Table(name="client_type")
@NamedQuery(name="ClientType.findAll", query="SELECT c FROM ClientType c")
public class ClientType implements S... |
package net.minecraft.client.renderer.entity.model;
import com.mojang.blaze3d.matrix.MatrixStack;
import net.minecraft.util.HandSide;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public interface IHasArm {
void translateHand(HandSide sideIn, M... |
/*
* ============LICENSE_START=======================================================
* DCAEGEN2-SERVICES-SDK
* ================================================================================
* Copyright (C) 2019 Nokia. All rights reserved.
* =======================================================================... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot;
import edu.wpi.first.math.kinematics.DifferentialDriveKinematics;
/**
* The Constants class provid... |
package com.jd.blockchain.ledger.core;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.jd.blockchain.ledger.LedgerDataStructure;
import com.jd.blockchain.ledger.Operation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.jd.binaryproto.BinaryProtocol;
import com... |
package com.example.administrator.coolweather;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.os.Build;
import android.preference.PreferenceManager;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
impor... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*-
* ============LICENSE_START=======================================================
* openECOMP : SDN-C
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights
* reserved.
* ===========================================... |
/*
* Copyright © 2017-2018 Cask Data, 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 academy.devdojo.maratonajava.javacore.Vio.test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class BufferedReaderTest01 {
public static void main(String[] args) {
File file = new File("file.txt");
try (FileReader fr = new... |
package com.bitdubai.fermat_ccp_plugin.layer.crypto_transaction.outgoing_extra_user.developer.bitdubai.version_1.exceptions;
import com.bitdubai.fermat_api.FermatException;
/**
* Created by eze on 2015.06.25..
*/
public class CantRegisterNewTransactionException extends FermatException {
/**
* This is the c... |
package deepboof;
import boofcv.alg.color.ColorYuv;
import boofcv.core.image.GConvertImage;
import boofcv.gui.image.ImageGridPanel;
import boofcv.gui.image.ShowImages;
import boofcv.io.image.ConvertBufferedImage;
import boofcv.struct.image.GrayF32;
import boofcv.struct.image.GrayU8;
import boofcv.struct.image.Planar;
... |
package org.highmed.dsf.fhir.search.parameters.user;
import org.highmed.dsf.fhir.authentication.User;
public class NamingSystemUserFilter extends AbstractMetaTagAuthorizationRoleUserFilter
{
private static final String RESOURCE_COLUMN = "naming_system";
public NamingSystemUserFilter(User user)
{
super(user, RES... |
package edu.wpi.grip.generated.opencv_imgproc.enumeration;
import org.bytedeco.javacpp.opencv_imgproc;
public enum MorphTypesEnum {
/** see cv::erode */
MORPH_ERODE(opencv_imgproc.MORPH_ERODE), /** see cv::dilate */
MORPH_DILATE(opencv_imgproc.MORPH_DILATE), /** an opening operation
* \f[\texttt{dst} =... |
package pers.li.rpc;
import lombok.AllArgsConstructor;
import lombok.Data;
/**
* 表示网络传输的一个端点
*/
@Data
@AllArgsConstructor
public class Peer {
private String host;
private int port;
}
|
package com.denizenscript.denizen.events.player;
import com.denizenscript.denizen.objects.EntityTag;
import com.denizenscript.denizen.objects.ItemTag;
import com.denizenscript.denizen.objects.LocationTag;
import com.denizenscript.denizen.objects.PlayerTag;
import com.denizenscript.denizen.utilities.implementatio... |
package cn.ruleengine.web.service.generalrule.impl;
import cn.hutool.core.util.StrUtil;
import cn.ruleengine.core.rule.GeneralRule;
import cn.ruleengine.web.config.Context;
import cn.ruleengine.web.enums.EnableEnum;
import cn.ruleengine.web.enums.DataStatus;
import cn.ruleengine.web.listener.body.GeneralRuleMessageBo... |
package com.plexobject.demo.ddb.model;
import com.amazonaws.services.dynamodbv2.datamodeling.*;
import com.plexobject.aop.Tracer;
import java.util.Set;
@DynamoDBTable(tableName = "ProductCatalog")
@Tracer
public class CatalogItem {
private String id;
private String title;
private String ISBN;
privat... |
package com.airbnb.aerosolve.core.transforms;
import com.airbnb.aerosolve.core.FeatureVector;
import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import static org.junit.Assert.assertTrue;
imp... |
package org.jawk.jrt;
import com.jagacy.totalAccess.jrt.AwkNode;
/**
* The AWK Variable Manager.
* It provides getter/setter methods for global AWK variables.
* Its purpose is to expose a variable management interface to
* the JRT, even though the implementation is provided by
* the AWK script at script compile-... |
package mod.azure.doom.item.weapons;
import java.util.List;
import io.netty.buffer.Unpooled;
import mod.azure.doom.DoomMod;
import mod.azure.doom.client.ClientInit;
import mod.azure.doom.util.registry.DoomBlocks;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import net.fabricmc.fabric.api.... |
package org.apereo.cas.util.serialization;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.core.JsonFactory;
import c... |
package com.dao;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import com.entity.Enrollme... |
/**
*
*/
package com.thinkbiganalytics.server.upgrade;
/*-
* #%L
* kylo-operational-metadata-upgrade-service
* %%
* Copyright (C) 2017 ThinkBig Analytics
* %%
* 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... |
package com.outlook.bigkun.demo1;
/**
* 抽象享元类:围棋棋子
* {@link com.outlook.bigkun.concepts.Flyweight}
*
* @author zhanghk
* @since 2019/8/2
*/
public abstract class IgoChessman {
/**
* 棋子颜色
* 内部状态
* {@link com.outlook.bigkun.concepts.IntrinsicState}
*
* @return
*/
... |
package org.hisp.dhis;
/*
* Copyright (c) 2004-2013, 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 noti... |
package com.lyf.generator.mapper;
import java.util.List;
import com.lyf.generator.domain.ColumnInfo;
import com.lyf.generator.domain.TableInfo;
/**
* 代码生成 数据层
*
* @author numberone
*/
public interface GenMapper
{
/**
* 查询ry数据库表信息
*
* @param tableInfo 表信息
* @return 数据库表列表
*/
publ... |
/*
* Copyright 2020 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 ... |
/*
* 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 com.test;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;... |
package com.github.vbekiaris.jaxwsmetrics;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.soap.SOAPException;
/**
* Echo web service interface, used for testing {@link MetricsHandler}.
*/
@WebService
public interface ... |
/*
* 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 i... |
/**
* Copyright 2008-2016 Evernote Corporation. All rights reserved.
*/
package com.evernote.android.data.sel;
import java.util.Collection;
final class Filter implements Selection {
private final String column;
private final Collection<String> values;
public Filter(String column, Collection<String> va... |
package org.intermine.api.query.codegen;
/*
* Copyright (C) 2002-2015 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/l... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
// Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.08.06 ... |
package com.github.badoualy.telegram.tl.api.help;
import com.github.badoualy.telegram.tl.TLContext;
import com.github.badoualy.telegram.tl.core.TLObject;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import static com.github.badoualy.telegram.tl.StreamUtils.readTLString;
import... |
package com.muze.core.app.task.service;
public class TaskB extends AbstractJob{
@Override
public void doJob() {
String[] a = new String[2];
a[2]="fdsfs";
}
}
|
package application.model;
import java.util.List;
import java.util.UUID;
public class BoshPackage {
private String name;
private String version;
private Stemcell stemcell;
private String flavor;
private String description;
private String vendor;
private UUID uuid;
private String ... |
//Code to demonstrate Arrays Class via asList() function
import java.util.*;
public class ArrayClass1
{
public static void main(String[] args)
{
int ar[] = {1,2,3,4,5,6,7,8,9,10};
System.out.println("Integer Array as List: "+Arrays.asList(ar));
}
}
|
/*
* Copyright 2021 Arcade Data Ltd
*
* 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,... |
/*******************************************************************************
* Copyright (c) 2017 Universitat Politécnica de Catalunya (UPC)
*
* 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 ... |
/*
* 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 Tutorial2;
/**
*
* @author John Barber (john.barber@cqumail.com)
*/
public class Truck extends Vehicle
{
private double... |
package org.checkerframework.framework.type;
// The imports from com.sun are all @jdk.Exported and therefore somewhat safe to use.
// Try to avoid using non-@jdk.Exported classes.
import com.sun.source.tree.AnnotationTree;
import com.sun.source.tree.AssignmentTree;
import com.sun.source.tree.BinaryTree;
import com.su... |
/**
* Copyright (c) 2005 The Apereo 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://opensource.org/licenses/ecl2
*
* Unless required ... |
package com.microandroid.modules.sys.mapper;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.microandroid.modules.sys.dto.User;
import org.springframework.stereotype.Repository;
@Repository
public interface IUserMapper extends BaseMapper<User> {
User selectByUsername(String username);
}
|
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* 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... |
import java.util.Scanner;
public class odev_36 {
static int pattern(int n) {
System.out.print(n + " ");
if (n <= 0) {
return n;
}
int temp = pattern(n - 5) + 5;
System.out.print(temp + " ");
return temp;
}
public static void main(String[... |
/*
* Copyright (c) 2013, SRI International
* All rights reserved.
* Licensed under the The BSD 3-Clause License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Redistribution and use in source a... |
/*
* Copyright 2018-2020 adorsys GmbH & Co KG
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
package gvgai.ontology.effects.binary;
import gvgai.core.content.InteractionContent;
import gvgai.core.game.Game;
import gvgai.core.vgdl.VGDLSprite;
import gvgai.ontology.effects.Effect;
import gvgai.tools.Direction;
import gvgai.tools.Vector2d;
import java.awt.*;
import java.util.ArrayList;
import java.util.Collecti... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... |
package com.lpq.mail.server;
import com.lpq.mail.dao.LocalMailInfoDao;
import com.lpq.mail.dao.MailAccountInfoDao;
import com.lpq.mail.dao.MailInfoDao;
import com.lpq.mail.dao.UserInfoDao;
import com.lpq.mail.entity.*;
import lombok.SneakyThrows;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.... |
package fr.umlv.ditto.graphs;
import java.util.Arrays;
public class ShortestPathFromOneVertex {
private final int source;
private final int[] d;
private final int[] pi;
ShortestPathFromOneVertex(int source, int[] d, int[] pi) {
this.source = source;
this.d = d;
this.pi = pi;
}
public void... |
package com.greatanan.autoconfigue.annotation;
import org.springframework.stereotype.Repository;
import java.lang.annotation.*;
/**
* 二级 {@link Repository}
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@FirstLevelRepository
public @interface SecondLevelRepository {
String valu... |
package de.taimos.pipeline.aws;
/*-
* #%L
* Pipeline: AWS Steps
* %%
* Copyright (C) 2016 - 2017 Taimos GmbH
* %%
* 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 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... |
package ch.heigvd.amt.txejb.services;
import ch.heigvd.amt.txejb.model.Engine;
import ch.heigvd.amt.txejb.model.Tire;
import javax.annotation.Resource;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import javax.ejb.TransactionAttributeType;
import javax.sql.DataSource;
import java.sql.Connection;... |
package com.qingchi.server.controller;
import com.qingchi.base.common.ResultVO;
import com.qingchi.base.constant.ErrorCode;
import com.qingchi.base.constant.ErrorMsg;
import com.qingchi.base.constant.PlatformType;
import com.qingchi.base.model.account.AccountDO;
import com.qingchi.base.model.user.UserDO;
import com.qi... |
/**
* CHANGELOG
*
* Jul 5, 2013 schaat - File created
*
*/
package modules.interfaces;
import java.util.ArrayList;
import base.datatypes.clsEmotion;
/**
* DOCUMENT (schaat) - insert description
*
* @author schaat
* Jul 5, 2013, 2:37:47 PM
*
*/
public interface I6_14_receive {
pu... |
/*
* Copyright (C) 2007 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 app... |
/*
* The MIT License
*
* Copyright (c) 2016 The Broad Institute
*
* 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... |
package cn.intellimuyan.bardclient.nettyclient.anno;
import org.springframework.stereotype.Component;
import java.lang.annotation.*;
/**
* 表明被注解的类为netty控制器
*
* @author hason
* @version 19-1-29
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface NettyContro... |
/*
* Copyright ConsenSys AG.
*
* 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... |
package cn.leancloud;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import cn.leancloud.ops.Utils;
import com.alibaba.fastjson.JSON;
public class EngineFunctionParamInfo {
final String name;
final Class type;
public EngineFunct... |
package com.puttysoftware.brainmaze.prefs;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Properties;
class PreferencesStoreManager {
// Fields
private final Properties store;
// Constructors
public PreferencesStoreManager() {
this.store ... |
package com.mrbonono63.create.content.contraptions.components.structureMovement.piston;
import com.simibubi.create.AllBlocks;
import com.mrbonono63.create.content.contraptions.base.IRotate;
import com.mrbonono63.create.content.contraptions.components.structureMovement.AssemblyException;
import com.mrbonono63.create.co... |
public class Foo {
void m() {
IFoo.new<caret>
f();
}
}
interface IFoo {
} |
/*
* Copyright (c) 2008-2016 Computer Network Information Center (CNIC), Chinese Academy of Sciences.
*
* This file is part of Duckling 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 L... |
package org.example.pinda.database.datasource;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer;
import com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties;
import com.baomidou.mybatisplus.autoconfigure.MybatisPlus... |
/*
* Copyright (C) 2015 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... |
package Automata.diagram.part;
import java.util.Iterator;
import java.util.List;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.Request;
import org.eclipse.gef.commands.Command;
import org.eclipse.gef.commands.UnexecutableCommand;
import org.eclipse.gmf.runtime.diagram.ui.actions.AbstractDeleteFromA... |
package com.alibaba.otter.canal.meta;
import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Executors;
import ja... |
/*
* Copyright (C) 2013, Thomas Obenaus. All rights reserved.
* Licensed under the New BSD License (3-clause lic)
* See attached license-file.
*
* Author: Thomas Obenaus
* EMail: obenaus.thomas@gmail.com
* Project: JavaComponents/Widgets
*/
package thobe.widgets.inputSlider;
import java.mat... |
/*
* 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... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/container/v1beta1/cluster_service.proto
package com.google.container.v1beta1;
/**
* <pre>
* Configuration options for private clusters.
* </pre>
*
* Protobuf type {@code google.container.v1beta1.PrivateClusterConfig}
*/
public final c... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.domain.InsCertificatePaginationList;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.ins.marketing.certificate.batchquery response.
*
* @author auto create
* @since 1.0, 2019-01-07 20:51:15
*/
... |
/**
* Copyright 2005-2016 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 r... |
package com.wonderpush.sdk;
import android.content.Context;
/**
* Information-storing class for the hook called when the SDK is trying to open the appropriate deep-link.
*
* @see WonderPushDelegate#urlForDeepLink(DeepLinkEvent)
*/
public class DeepLinkEvent {
private Context context;
private String url;
... |
package org.ovirt.engine.core.bll.storage.domain;
import java.util.Collections;
import java.util.Map;
import org.ovirt.engine.core.bll.LockMessagesMatchUtil;
import org.ovirt.engine.core.bll.context.CommandContext;
import org.ovirt.engine.core.bll.storage.connection.StorageHelperDirector;
import org.ovirt.engine.core... |
/*******************************************************************************
* Copyright 2012 momock.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.a... |
package com.systemorderservice.insfrastructure.repository;
import com.systemorderservice.domain.model.OrderService;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
... |
package me.ele.jarch.athena.netty;
import io.netty.channel.ChannelHandlerContext;
import me.ele.jarch.athena.exception.QuitException;
import me.ele.jarch.athena.pg.proto.*;
import me.ele.jarch.athena.server.pool.PGServerSession;
import me.ele.jarch.athena.sql.CmdTcpPacket;
import me.ele.jarch.athena.sql.PGCmdTcpPacket... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.nwnx.nwnx2.jvm.constants;
/**
* This class contains all unique constants beginning with "METAMAGIC".
* Non-distinct keys are filtered; only the LAST appearing was
* kept.
*/
public final class Metamagic {
private Metamagic() {}
public final static int ANY = 255;
public final static int EMPOWER = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.