text stringlengths 7 1.01M |
|---|
package com.odysee.app.ui.channel;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import a... |
/*
* 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... |
package github.ijl.luxtronic.param;
public enum OperatingMode {
AUTOMATIC(0), AUXILIARY_HEATER(1), PARTY(2), HOLIDAY(3), OFF(4);
private final Integer mValue;
private OperatingMode(final Integer pValue) {
mValue = pValue;
}
public Integer getIntegerValue() {
return mValue;
}
public stati... |
package org.kyojo.schemaorg.m3n3.doma.core.clazz;
import org.seasar.doma.ExternalDomain;
import org.seasar.doma.jdbc.domain.DomainConverter;
import org.kyojo.schemaorg.m3n3.core.impl.ELECTRICIAN;
import org.kyojo.schemaorg.m3n3.core.Clazz.Electrician;
@ExternalDomain
public class ElectricianConverter implements Doma... |
package kvstore;
import static kvstore.KVConstants.DEL_REQ;
import static kvstore.KVConstants.ERROR_COULD_NOT_CONNECT;
import static kvstore.KVConstants.ERROR_COULD_NOT_CREATE_SOCKET;
import static kvstore.KVConstants.ERROR_INVALID_KEY;
import static kvstore.KVConstants.ERROR_INVALID_VALUE;
import static kvstore.KVCon... |
package com.eventswarm;
/**
* Action to be called by a pipeline when an event removal has
* propogated through the pipeline.
*
* It is often necessary to take actions against a pipline in a synchronised
* manner, that is, after all elements of the pipeline have removed
* an event. Actions registered against th... |
/* MazeRunnerII: An RPG
Copyright (C) 2011-2012 Eric Ahnell
Any questions should be directed to the author via email at: products@puttysoftware.com
*/
package com.puttysoftware.mazerunner3.items;
import com.puttysoftware.mazerunner3.names.NamesConstants;
import com.puttysoftware.mazerunner3.names.NamesManager;
pub... |
/**
* MIT License
* <p>
* Copyright (c) 2019-2020 nerve.network
* <p>
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... |
package com.dream.common.xss;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import com.dream.common.utils.html.EscapeUtil;
/**
* XSS过滤处理
*
* @author dream
*/
public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper
{
/**
* @param re... |
/*
* Copyright (c) 2006-2017 DMDirc Developers
*
* 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, mer... |
/*
* Copyright (c) 2011, University of Konstanz, Distributed Systems Group All rights reserved.
* <p>
* 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... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and others
* Copyright (C) 2017-2018 Alexander Fedorov (alexander.fedorov@jkiss.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 ob... |
/*
* 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 ... |
/*
* Copyright 2003-2009 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
*
* Unless required by applicable... |
/**
* Created by xuan on 7/8/2016.
*/
public class repository {
}
|
package com.ctrip.hermes.core.transport.endpoint;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.at... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015-2021 Patrick Reinhart
*
* 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
... |
package mvc.ca.base;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DELETE {
String route();
}
|
class Missing {
Missing() { }
}
|
package com.otaliastudios.cameraview.video;
import android.hardware.Camera;
import android.media.CamcorderProfile;
import android.media.MediaRecorder;
import androidx.annotation.NonNull;
import com.otaliastudios.cameraview.VideoResult;
import com.otaliastudios.cameraview.engine.Camera1Engine;
import com.otaliastudio... |
package android.coolweather.com.coolweather.db;
import org.litepal.crud.DataSupport;
public class City extends DataSupport {
private int id;
private String cityName;
private int cityCode;
private int provinceId;
public int getId() {
return id;
}
public int getCityCode() {
... |
package offical_website.site.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import offical_website.site.model.Honor;
import offical_website.site.service.impl.HonorServiceImpl;
import offical_website.site.tools.ApiException;
import offical_website.site.tools.Result;
import or... |
/*
* Copyright (c) 2016-2026 Jumin Rubin
* LinkedIn: https://www.linkedin.com/in/juminrubin/
*
* 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/LIC... |
package cn.ztuo.bitrade.constant;
/**
* @author MrGao
* @Description:
* @date 2018/5/311:33
*/
public enum SignStatus {
UNDERWAY, FINISH;
}
|
package org.andrei.ppreader.service.message;
import org.andrei.ppreader.data.PPReaderNovel;
public class PPReaderFetchNovelMessage implements IPPReaderMessage {
public PPReaderFetchNovelMessage(int retCode, PPReaderNovel novel){
this.m_retCode = retCode;
this.m_novel = novel;
}
@Override... |
package org.zero.timetracker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class TimetrackerApplication {
public static void main(String[] args) {
SpringApplication.run(TimetrackerApplication.class, args);
}
... |
/*
*
* * 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
... |
/*
* Copyright 2012-2021 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.miotech.kun.workflow.core.model.task;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
public enum DependencyLevel {
WEAK,//弱依赖:上游执行完成即可执行
STRONG;//强依赖:上游执行过成功才能执行
private static Map<String,DependencyLevel> levelMaps = ImmutableMap.of(WEAK.name(), WEAK, STRONG.name(), ST... |
package md5714ba09e814ea729a316d7ad1490ad13;
public class DataConnectionObserver
extends java.lang.Object
implements
mono.android.IGCUserPeer,
org.webrtc.DataChannel.Observer
{
static final String __md_methods;
static {
__md_methods =
"n_onBufferedAmountChange:(J)V:GetOnBufferedAmountChange_JHandler:Org... |
package pl.simonduraj.blooddonor.ui.base;
/**
* Base interface that any class that wants to act as a View in the MVP (Model View Presenter)
* pattern must implement. Generally this interface will be extended by a more specific interface
* that then usually will be implemented by an Activity or Fragment.
*/
public... |
package org.bouncycastle.tls.test;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.security.GeneralSecurityException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.Security;
imp... |
package org.markbr.simplex.generator;
import org.junit.jupiter.api.Test;
public class GeneratorTest {
@Test
public void testLoadingOfCustomSource() {
Generator generator = new Generator(null, null, null, null, null);
//generator.generate(new Metadata("com.sample.exceptions", "java.lang", "Ru... |
public class IsBST {
/*
15.1
*/
public static boolean isBST(BinaryTree<Integer> tree) {
return false;
}
}
|
package com.kaesar.sword2offer;
/**
* 标题:两个链表的第一个公共结点
* 题目描述
* 输入两个链表,找出它们的第一个公共结点。(注意因为传入数据是链表,所以错误测试数据的提示是用其他方式显示的,保证传入数据是正确的)
* 题目链接:
* https://www.nowcoder.com/practice/6ab1d9a29e88450685099d45c9e31e46?tpId=13&&tqId=11189&rp=1&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking
*/
public clas... |
package org.jetbrains.kotlin.core.asJava;
import java.io.ByteArrayInputStream;
import java.io.File;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.kotlin.core.log.KotlinLogger;
public class LightClassFile {
pr... |
package dev.vality.newway.dao.party.impl;
import dev.vality.dao.impl.AbstractGenericDao;
import dev.vality.mapper.RecordRowMapper;
import dev.vality.newway.dao.party.iface.PartyDao;
import dev.vality.newway.domain.tables.pojos.Party;
import dev.vality.newway.domain.tables.records.PartyRecord;
import dev.vality.newway.... |
package es.infointernet.cliente;
import es.infointernet.model.Pelicula;
import org.glassfish.jersey.client.authentication.HttpAuthenticationFeature;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.c... |
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2009, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... |
package com.td.ca.annotation_compiler.annotations;
/**
* Description : 注解常量
* Created by YW on 2018/11/28.
* Email:1809267944@qq.com
*/
public class TConfigs {
public static final int TYPE_DEFAULT_VALUE = 0;
}
|
package com.example.smdproject;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import java.util.ArrayList;
import java.util.List;
@Entity(tableName = "place_table")
public class Place {
@PrimaryKey
private int id;
private String name;
private String imageUrl;
public Place(int id, ... |
/**
* The MIT License (MIT)
Copyright (c) 2015 Wilkin Cheung
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... |
package org.opensrp.domain.postgres;
public class Report {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column core.report.id
* @mbg.generated Fri Mar 23 14:23:39 EAT 2018
*/
private Long id;
/**
* This field was generated by MyBatis Generator. This field cor... |
/**
*
*/
package com.github.maumay.jenjinn.entity;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Optional;
import com.github.maumay.jenjinn.base.CastleZone;
import com.github.maumay.jenjinn.base.FileUtils;
import com.github.ma... |
/*
* Copyright 2002-2015 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
*
* Unless required by ap... |
package co.lq.modules.shop.service.mapper;
import co.lq.modules.shop.domain.PointsCoupon;
import co.lq.modules.shop.service.dto.PointsCouponDTO;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import org.springframework.stereotype.Component;
@Generated(
value = "org.mapstruct... |
/**
* Copyright (c) 2017 Dell Inc., or its subsidiaries. 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
*/
pac... |
package sorting.bubble_sort;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
// Bubble sort algorithm
int[] arr = {5, 4, 3, 2, 1};
bubble(arr);
System.out.println(Arrays.toString(arr));
}
static void bubble(int[] arr) {
boolean swapped = false;
for (int i = 0;... |
package com.mystore.shop.application;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;
import com.mystore.common.domain.model.DomainEvent;
import com.my... |
/**
* 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... |
/**
* iBizSys 5.0 机器人生产代码(不要直接修改当前代码)
* http://www.ibizsys.net
*/
package com.sa.unip.app.common.ctrlhandler;
import java.util.ArrayList;
import java.util.List;
import net.ibizsys.paas.util.StringHelper;
import net.ibizsys.paas.web.WebContext;
import net.ibizsys.paas.demodel.DEModelGlobal;
import net.ibizsys.paa... |
/**
* 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
* distribu... |
package ir.ac.iust.dml.kg.knowledge.proxy.web.security;
import org.springframework.session.Session;
import org.springframework.session.web.http.CookieHttpSessionStrategy;
import org.springframework.session.web.http.HeaderHttpSessionStrategy;
import org.springframework.session.web.http.HttpSessionStrategy;
import java... |
/*
* Certain versions of software and/or documents ("Material") accessible here may contain branding from
* Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017,
* the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to ... |
/**
* Copyright 2017 Pivotal Software, Inc.
* <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 applicab... |
package org.gwtbootstrap3.extras.datepicker.client.ui.base.constants;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2015 GwtBootstrap3
* %%
* 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 ... |
/*
* @(#)AbstractLocator.java
*
* Copyright (c) 1996-2010 by the original authors of JHotDraw
* and all its contributors.
* All rights reserved.
*
* The copyright of this software is owned by the authors and
* contributors of the JHotDraw project ("the copyright holders").
* You may not use, copy or modify... |
/*
* 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.example.vmac.WatBot;
/**
* Created by VMac on 17/11/16.
*/
import androidx.recyclerview.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import java.util.ArrayList;
public class ChatAdapter extends Recyc... |
package nl.asymmetrics.droidshows.ui;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import nl.asymmetrics.droidshows.DroidShows;
import nl.asymmetrics.droidshows.R;
import nl.asymmetrics.droidsho... |
package com.example.entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Mapper;
/**
* 顾客的实体类,包括顾客的基本信息
*
* @author HominSu
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer {
/**
* 顾客的主键,对商品的搜索和对订单以及商品的查询... |
package com.vxml.core.browser;
import java.net.URI;
import java.net.URISyntaxException;
import javax.script.ScriptException;
import com.vxml.browser.event.Event;
import com.vxml.core.VxmlException;
import com.vxml.parser.VxmlDoc;
public class VxmlBrowser {
private String entryPointUrl;
// singleton instance
pri... |
/*
* Copyright Splunk 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 in wr... |
// Copyright 2000-2021 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.util.ui.classpath;
import com.intellij.ide.CommonActionsManager;
import com.intellij.ide.DefaultTreeExpander;
import com.intellij.ide.JavaUiBundle;
import co... |
/**
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.github.rusakovichma.tictaac.correction;
import com.github.rusakovichma.tictaac.model.threatmodel.Element;
import com.github.rusakovichma.tictaac.model.threatmodel.element.ElementType;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
class UniversalElementGuesserTest {
... |
package net.minecraft.client.particle;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
public class EntityHeartFX extends EntityFX
{
float particleScaleOverTime;
protected EntityHeartFX(World world... |
package com.journaldev.design.bridge;
public class GreenColor implements Color{
public void applyColor(){
System.out.println("green.");
}
} |
/*
* Copyright (C) 2013-2017 Samuel Audet
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
* the Free Software Foundation (subject to the "Classpath" exception),
* either version 2, or any later version (collectively... |
package com.onesignal;
import android.content.Context;
import com.onesignal.OneSignalDbContract;
import com.onesignal.influence.model.OSInfluenceChannel;
import com.onesignal.outcomes.OSOutcomeTableProvider;
class OneSignalCacheCleaner {
private static final long NOTIFICATION_CACHE_DATA_LIFETIME = 604800;
pri... |
package com.bin.binweather;
import android.app.Fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.view.LayoutInflater;
import android.vie... |
/*
* 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 ... |
/**
* Copyright 2020 Google LLC
*
* <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>https://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... |
/*
* Copyright 2013 Nicolas Morel
*
* 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... |
/*
* Copyright 2012-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
*
* Unless required by ap... |
/*
* Copyright 2016-2020 Open Food Facts
*
* 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 agre... |
System.out.println("rodando"); |
/*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package goodman.com.sun.corba.se.spi.monitoring;
import goodman.java.util.*;
/**
* <p>
*
* @author Hemant... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.10.05 at 02:37:3... |
/*
* Copyright 2003-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
/*
* SoapUI, Copyright (C) 2004-2016 SmartBear Software
*
* Licensed under the EUPL, Version 1.1 or - as soon as they will be approved by the European Commission - subsequent
* versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the Licence.
* You may obtain a cop... |
package JavaOOP.ReflectionAndAnnotation.Exercise.barracksWars.core.commands;
import JavaOOP.ReflectionAndAnnotation.Exercise.barracksWars.interfaces.Executable;
public abstract class Command implements Executable {
// private String[] data;
// private UnitFactory unitFactory;
// private Repository repository... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* 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 gb;
import com.jmex.model.converters.X3dToJme;
/**
* run this class whenever the models are updated
*
* @author ryan
*
*/
public class Convertor {
public static void main (String[] args) throws InstantiationException {
X3dToJme importer = new X3dToJme();
String from = Constants.Filenames.tankx3d;
... |
package io.swagger.codegen.options;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
import io.swagger.codegen.CodegenConstants;
import io.swagger.codegen.languages.TypeScriptAngularClientCodegen;
public class TypeScriptNodeClientOptionsProvider implements OptionsProvider {
public static fi... |
package com.example.blackmambalibrary.interfaces;
/**
* Created by black mamba on 5/31/2019.
*/
public interface OnRangeSeekbarFinalValueListener {
void finalValue(Number minValue, Number maxValue);
}
|
/*
* Copyright (C) 2011 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... |
package net.minecraft.advancements.critereon;
import com.google.common.collect.Maps;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSyntaxException;
import java.util.Collections;
import java.util.Map;
import java.util.Map.Entry;
import javax.annotation.Nullable;
impor... |
/*
* This file was automatically generated by EvoSuite
* Sun Nov 29 13:40:07 GMT 2020
*/
package client.network;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import client.BomberClient;
import client.network.ClientMsgReceiver;
import java.net.Proxy;
i... |
/*
* This work is released into the Public Domain under the
* terms of the Creative Commons CC0 1.0 Universal license.
* https://creativecommons.org/publicdomain/zero/1.0/
*/
package pityoulish.sockets.server;
import java.net.InetAddress;
import java.util.logging.Level;
import java.util.logging.Logger;
import pit... |
package org.basex.query.func.fn;
import static org.basex.query.QueryError.*;
import org.basex.query.*;
import org.basex.query.value.item.*;
import org.basex.query.value.seq.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-21, BSD License
* @author Christian Gruen
*/
public ... |
package no.nordicsemi.android.ble;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;
import android.bluetooth.BluetoothGattCallback;
import android.bluetooth.BluetoothGattCharacteristic;
import android.bluet... |
/*
* Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved.
*
* 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 Y... |
/*
Copyright 2009-2016 Igor Polevoy
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
d... |
package gui;
import java.util.List;
import java.util.ResourceBundle;
import data.CanvasData;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.StackPane;
import javafx.scene.paint.Color;
import javafx.scene.shape.Rectangle;
import javafx.scene.text.Te... |
/*
* Tencent is pleased to support the open source community by making QMUI_Android available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
*
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE113_HTTP_Response_Splitting__Property_setHeaderServlet_05.java
Label Definition File: CWE113_HTTP_Response_Splitting.label.xml
Template File: sources-sinks-05.tmpl.java
*/
/*
* @description
* CWE: 113 HTTP Response Splitting
* BadSource: Property Read data from a system ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.