text stringlengths 7 1.01M |
|---|
package net.sf.jabref.gui.actions;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.ActionMap;
import javax.swing.Border... |
/**
* Copyright © 2018, Ondrej Benkovsky
* All rights reserved.
*
* 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 con... |
package de.autoDrive.NetworkServer.service;
import de.autoDrive.NetworkServer.entity.MapInfo;
import de.autoDrive.NetworkServer.entity.MapTileData;
import de.autoDrive.NetworkServer.helper.ImageHelper;
import de.autoDrive.NetworkServer.repository.MapInfoRepository;
import de.autoDrive.NetworkServer.repository.MapTileD... |
package org.blueo.log.monitor.vo;
import java.util.List;
import org.blueo.log.monitor.core.LogMonitor;
import org.blueo.log.monitor.core.LogMonitorDaily;
import com.google.common.collect.Lists;
/**
details sample:
name command arg
server=/app/thorin/server/log/server.yyyy-MM-dd.log |grep 'ERROR'
pricer=/app/thorin... |
package parser.command.commandlist.turtles;
import java.util.ArrayList;
import java.util.List;
import parser.ParserException;
import parser.Validator;
import parser.command.Command;
import parser.command.CommandList;
import parser.command.commandlist.syntax.ListStartCommand;
public class TellCommand extends Command ... |
/*
* 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 sc.jbp.modules.sys.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import sc.jbp.modules.sys.entity.SysRoleEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 角色管理
* <p>
* tzen@e-veb.com
*/
@Mapper
public interface SysRoleDao extends BaseMapper<SysRoleEntity> {
}
|
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkworkbench_1_0.models;
import com.aliyun.tea.*;
public class QueryComponentScopesResponseBody extends TeaModel {
// scopes
@NameInMap("userVisibleScopes")
public java.util.List<String> userVisibleScopes;
@NameInMap("dept... |
/**
* Copyright 2014 Netflix, 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 t... |
package nl.knaw.huygens.alexandria.data_model;
/*
* #%L
* alexandria-markup
* =======
* Copyright (C) 2016 - 2018 HuC DI (KNAW)
* =======
* 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 a... |
package com.kabal.qa.quickstart.database;
import android.support.test.InstrumentationRegistry;
import android.support.test.espresso.NoMatchingViewException;
import android.support.test.espresso.ViewInteraction;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;
import... |
package stacks_and_queues.java;
/**
*
*/
class StackOverFlowException extends Exception {
StackOverFlowException() {
super("Stack overflow.");
}
}
|
// $ANTLR : "XQuery.g" -> "XQueryParser.java"$
/**
* Grammar definition for the September 2005 XQuery specification.
*/
package org.xqdoc.xquery.parser.sep2005;
import antlr.debug.misc.*;
import java.io.StringReader;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.... |
package com.taoyuanx.ca.shellui.common;
public class CAConstant {
public enum KeyType {
RSA("RSA", 1), SM2("SM2", 2), ECDSA("ECDSA", 3), DSA("DSA", 4);
public String name;
public Integer value;
KeyType(String name, Integer value) {
this.name = name;
this.va... |
package com.coolweather.android;
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;
import android.supp... |
// Copyright 2015 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... |
/**
* Copyright 2009-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
/**
* SkillAPI
* com.sucy.skill.api.util.Combat
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Steven Sucy
*
* 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, in... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... |
package com.intellij.util.diff;
import com.intellij.openapi.util.registry.Registry;
/**
* @author irengrig
*/
public class FilesTooBigForDiffException extends Exception {
public static final int DELTA_THRESHOLD_SIZE = Registry.intValue("diff.delta.threshold.size");
// Do not try to compare two lines by-word aft... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
// Copyright (c) 2016 Petter Wintzell
package com.albroco.barebonesdigest;
import org.junit.Test;
import java.util.Collections;
import java.util.EnumSet;
import static com.albroco.barebonesdigest.DigestChallenge.QualityOfProtection.AUTH;
import static com.albroco.barebonesdigest.DigestChallenge.QualityOfProtection.... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 ... |
package edu.stanford.nlp.classify;
import java.io.PrintWriter;
import java.io.Serializable;
import java.util.*;
import edu.stanford.nlp.ling.BasicDatum;
import edu.stanford.nlp.ling.Datum;
import edu.stanford.nlp.ling.RVFDatum;
import edu.stanford.nlp.stats.ClassicCounter;
import edu.stanford.nlp.stats.Counter;
impor... |
/*
* Copyright (c) 2020 Cognite AS
*
* 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.stockticker;
import com.facebook.react.ReactActivity;
import android.content.Intent;
import android.content.res.Configuration;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript.
* This is used to schedule rendering of ... |
package ch.usi.inf.omicron.taskManager;
import android.app.job.JobInfo;
import android.app.job.JobScheduler;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import com.google.firebase.database.DataSnapshot;
import com.googl... |
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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.apach... |
package com.anchore.jenkins.plugins.anchore.model.vdb;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.an... |
package alexander.ivanov.ms;
public interface MessageSystem {
void init();
void sendMessage(Message message);
void addClient(MessageClient client);
Message createMessageFor(String clientName, String data);
}
|
/*
Copyright (c) 2012-2013, BogDan Vatra <bogdan@kde.org>
Contact: http://www.qt-project.org/legal
Commercial License Usage
Licensees holding valid commercial Qt licenses may use this file in
accordance with the commercial license agreement provided with the
Software or, alternatively, i... |
package states.Player;
import AncapLibrary.Player.AncapPlayerMap;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
public class AncapStatesPlayerMap extends AncapPlayerMap {
private static final AncapStatesPlayerMap INSTANCE = new AncapStatesPlayerMap();
public static AncapStatesPlayerMap getInsta... |
/**
* Copyright (c) 2013-2020 Nikita Koksharov
*
* 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 2015 Ooluk Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
/*
* Copyright 2000-2010 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.miotech.kun.metadata.common.utils;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonNo... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
/**
* ProductTemplateAction.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.v201605;
/**
* Represents the actions that can be performed on product templates.
*/
public abstract class ProductTemplateA... |
/**
* 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 ... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.v2019_06_01;
import java.util.List;
impo... |
package com.qingyun.mvpretrofitrx.mvp.presenter;
import android.content.Context;
import com.qingyun.mvpretrofitrx.mvp.contract.BusinessDetailContact;
import com.qingyun.mvpretrofitrx.mvp.contract.CoinContact;
import com.qingyun.mvpretrofitrx.mvp.entity.BusinessDetail;
import com.qingyun.mvpretrofitrx.mvp.entity.Walle... |
/**
* 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... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Lachlan Dowding
*
* 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 u... |
/**
* 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.sixt.service.testrpcclasses;
import com.google.protobuf.Message;
public class TestService2 {
public abstract class TestServiceRequest implements Message {
}
}
|
public void test31() throws Throwable {
Player player0 = new Player(0, "0.0.0.0", "0.0.0.0", 4919, 0);
player0.setMoney(0);
assertEquals(4919, player0.getPictureId());
assertFalse(player0.isDead());
assertEquals(0.0F, player0.getMoney(), 0.01F);
assertEquals(10.0F, player0.getX()... |
package org.hswebframework.web.service.form.simple.dict;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.hswebframework.ezorm.core.ValueConverter;
import org.hswebframework.web.dict.EnumDict;
import org.springframework.util.StringUtils;
import java.util.*;
import java.util.fun... |
/* Copyright (C) 2010 Alexandre Riazanov (Alexander Ryazanov)
*
* The copyright owner 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/licen... |
/**
* Copyright 2010-2015 Axel Fontaine
*
* <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 by applicable law or ... |
/*
* 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 de.adorsys.xs2a.adapter.mapper.psd2;
import de.adorsys.xs2a.adapter.model.TokenResponseTO;
import de.adorsys.xs2a.adapter.service.model.TokenResponse;
import org.mapstruct.Mapper;
@Mapper
public interface Oauth2Mapper {
TokenResponseTO map(TokenResponse token);
TokenResponse toTokenResponse(TokenResp... |
/*
* Created on 12.07.2006
*
*/
package de.peerthing.visualization.queryeditor.actions;
import java.util.List;
import org.eclipse.core.resources.IFile;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import de.peerthing.visualization.VisualizationPlugin;
import de.peerthing.v... |
/*
* Copyright 2012 International Business Machines Corp.
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. Licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You ... |
/*
* Copyright 2015-2019 Austin Keener, Michael Ritter, Florian Spieß, and the JDA 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/lice... |
package org.gradle.profiler;
import com.google.common.collect.ImmutableList;
import org.apache.commons.io.FileUtils;
import org.gradle.profiler.buildops.BuildOperationInstrumentation;
import org.gradle.profiler.instrument.PidInstrumentation;
import org.gradle.profiler.result.BuildInvocationResult;
import org.gradle.pr... |
/*
* Copyright 2013-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.github.tinosteinort.flda.stringlist.writer;
import com.github.tinosteinort.flda.stringlist.StringListAttribute;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
public class BooleanAttributeW... |
package com.zwx.gulimall.ware.service.impl;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zwx.co... |
package org.motechproject.mds.query;
import org.motechproject.mds.util.LookupName;
/**
* The <code>EqualProperty</code> class represents a property that will be used in JDO query
* and it has to be equal to the given value.
*
* @param <T> type of the passed value
*/
public class EqualProperty<T> extends Property... |
/*
* 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 ... |
package io.rxmicro.examples.rest.controller.model.types.model.request.query_or_http_body;
import io.rxmicro.examples.rest.controller.model.types.model.Status;
import io.rxmicro.exchange.json.detail.ModelFromJsonConverter;
import java.util.Map;
/**
* Generated by {@code RxMicro Annotation Processor}
*/
public final... |
/*
* Copyright (c) 2021, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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
*
* http://www.apac... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs;
import com.intellij.execution.ui.ConsoleViewContentType;
import com.intellij.openapi.application.ReadAction;
import com.intellij.openapi.editor.... |
package org.actioncontroller.meta;
public interface FilterHandler {
}
|
package com.ketnoiso.upload;
import java.io.File;
import java.io.IOException;
/**
* Created by IT on 3/18/2015.
*/
public class App {
public static void main(String[] args) throws IOException {
File f = File.createTempFile("bac",".tmp");
System.out.println(f.getAbsolutePath());
}
}
|
package com.zoho.crm.api.pipeline;
import com.zoho.crm.api.util.Choice;
import com.zoho.crm.api.util.Model;
import java.util.HashMap;
import java.util.Map;
public class SuccessResponse implements Model, TransferActionResponse, ActionResponse
{
private Choice<String> status;
private Choice<String> code;
private C... |
package com.adv_3_4;
import com.facebook.react.ReactActivity;
public class MainActivity extends ReactActivity {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
@Override
protected String getMainComponentName() {
ret... |
package com.oathsign.example.demain;
import org.springframework.data.repository.Repository;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public interface CustomerRepository extends Repository<Customer, String> {
List<Customer> findByName(String name);
void save(Custome... |
package com.sphenon.basics.data;
/****************************************************************************
Copyright 2001-2018 Sphenon 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 ... |
package cn.codepub.algorithms.strings;
/**
* <p>
* Created with IntelliJ IDEA. 2015/10/30 21:43
* </p>
* <p>
* ClassName:Combination
* </p>
* <p>
* Description:组合:一般地,从m个不同的元素中,任取n(n≤m)个元素为一组,叫作从m个不同元素中取出n个元素的一个组合
* </P>
*
* @author Wang Xu
* @version V1.0.0
* @since V1.0.0
*/
public cla... |
/*
* 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 com.clx4399.gulimall.order.listener;
import com.alipay.api.AlipayApiException;
import com.alipay.api.internal.util.AlipaySignature;
import com.clx4399.gulimall.order.config.AlipayTemplate;
import com.clx4399.gulimall.order.service.OmsOrderService;
import com.clx4399.gulimall.order.vo.PayAsyncVo;
import org.spr... |
package wh1spr.bot.commands.points.util;
import wh1spr.bot.command.Command;
public abstract class PointsCommand extends Command {
public PointsCommand(String name, PointTypeManager tm, String... aliases) {
super(name, aliases);
if (tm == null) throw new IllegalArgumentException("PointTypeManager tm cann... |
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.lang.function;
@FunctionalInterface
public interface IFunction10<R, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9> {
R invoke(P0 arg0, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9);
}
|
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annot... |
/*
* 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 example;
import com.github.dr.rwserver.data.Player;
import com.github.dr.rwserver.data.global.Data;
import com.github.dr.rwserver.func.StrCons;
import com.github.dr.rwserver.game.EventType;
import com.github.dr.rwserver.plugin.Plugin;
import com.github.dr.rwserver.plugin.event.AbstractEvent;
import com.github.... |
package de.mgpit.oracle.reports.plugin.commons;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Properties;
import com.sun.java.util.collections.Arrays;
import com.sun.java.util.collections.Comparator;
import com.sun.java.util.collections.Iterator;
import de.mgpit.oracle.reports... |
// EVMC: Ethereum Client-VM Connector API.
// Copyright 2019-2020 The EVMC Authors.
// Licensed under the Apache License, Version 2.0.
package org.ethereum.evmc;
import java.nio.ByteBuffer;
class TestHostContext implements HostContext {
@Override
public boolean accountExists(byte[] address) {
return true;
}... |
package net.icelane.amplifire.analyzer.render.jgraph;
import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GraphicsConfiguration;
import java.awt.GraphicsDevice;
import java.awt.Graphics... |
package rajaapps.com.dimensionfitness.fragments.enquiresfragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.vi... |
package com.technology.os.utilerias;
import com.vaadin.flow.component.ClickEvent;
import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.button.ButtonVariant;
import com.vaadin.flow.component.dialog.Dialog;
import com.vaadin.flow.component.html.H1;
import com.vaadin.flow.component.html.Image;
... |
package com.ocetnik.timer;
import android.app.Activity;
import android.os.Handler;
import android.os.PowerManager;
import com.facebook.react.bridge.LifecycleEventListener;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.ReactCon... |
/**
* 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 m... |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.electronicpanopticon.potemkin.haist;
import com.electronicpanopticon.potemkin.example.Example;
import com.electronicpanopticon.potemkin.example.ExampleFake;
import com.electronicpanopticon.potemkin.example.ImmutableExample;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jac... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... |
/*
* Copyright 2016-2019 The jetcd authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* CPAchecker is a tool for configurable software verification.
* This file is part of CPAchecker.
*
* Copyright (C) 2007-2016 Dirk Beyer
* 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... |
package ch.spacebase.mcprotocol.net;
import java.util.ArrayList;
import java.util.List;
import ch.spacebase.mcprotocol.event.ProtocolEvent;
import ch.spacebase.mcprotocol.event.ProtocolListener;
/**
* A basic connection class.
*/
public abstract class BaseConnection implements Connection {
/**
* The connection... |
package com.google.code.kaptcha.text.impl;
import java.util.Random;
import com.google.code.kaptcha.text.TextProducer;
import com.google.code.kaptcha.util.Configurable;
/**
* {@link DefaultTextCreator} creates random text from an array of characters
* with specified length.
*/
public class DefaultTextCreator exten... |
package io.typefox.yang.utils;
import com.google.common.base.Objects;
import com.google.common.collect.Iterables;
import com.google.inject.Singleton;
import io.typefox.yang.yang.AbstractModule;
import io.typefox.yang.yang.BelongsTo;
import io.typefox.yang.yang.Import;
import io.typefox.yang.yang.OtherStatement;
import... |
package colecao;
import java.util.ArrayList;
public class TestaArrayList2 {
public static void main(String[] args) {
ArrayList <String> lista = new ArrayList<String>();
lista.add("Ana");
lista.add("Joao");
lista.add("Maria");
lista.add("Pedro");
for (Object i: lista)
System.out.println(i);
}
}
|
package ru.innopolis.stc12.booksharing.model.dao.interfaces;
import ru.innopolis.stc12.booksharing.model.dao.entity.BookCopy;
import ru.innopolis.stc12.booksharing.model.dao.entity.BookEdition;
import java.io.Serializable;
import java.util.List;
public interface BookCopiesDao<T extends Serializable> extends Abstract... |
/* ====================================================================
Copyright 2003-2004 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://ww... |
/*
* reserved comment block
* DO NOT REMOVE OR ALTER!
*/
/**
* 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 und... |
/*
* Copyright 2018 sukawasatoru
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.