text stringlengths 7 1.01M |
|---|
package core.database;
import core.base.Word;
import core.base.partofspeech;
/**
* The "Link" class encapsulates data about the word object and contains references
* to the previous and subsequent elements
* @author Kirill https://github.com/TieLieFaw
*
*/
public final class Link {
private final Word word;
pri... |
package org.csveed.token;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotSame;
import static org.junit.jupiter.api.Assertions.assertThrows;
import org.csveed.report.CsvException;
import org.junit.jupiter.api.Test;
public class SymbolMappingTest {
... |
package graphql.parser;
import graphql.Internal;
import graphql.language.SourceLocation;
import org.antlr.v4.runtime.Token;
@Internal
public class SourceLocationHelper {
public static SourceLocation mkSourceLocation(MultiSourceReader multiSourceReader, Token token) {
//
// multi source reader lin... |
package io.github.adt.profile;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import io.github.adt.common.AuditEntity;
@Getter
@Setter
public class Group extends AuditEntity {
private String description;
private List<Long> parentGroups;
private List<Long> roles;
} |
package za.ac.unisa.lms.tool.eresources.dao;
import java.util.List;
import org.appfuse.dao.GenericDao;
import za.ac.unisa.lms.tool.eresources.model.Subject;
/**
* @author lebelsg
*
*/
public interface SubjectsDao extends GenericDao<Subject, Long> {
/**********************************************************... |
public static void solve() {
int n = s.nextInt();
int k = s.nextInt();
adj = new LinkedList[n];
for (int i = 0; i < n; i++) {
adj[i] = new LinkedList<Integer>();
}
tin = new int[n];
tout = new int[n];
parent = new int[n];
ht = new int[n];
for (int i = 0; i < n - 1; i++) {... |
package co.tton.qcloud.system.service;
import co.tton.qcloud.system.domain.TCity;
import java.util.List;
/**
* cityService接口
*
* @author qcloud
* @date 2019-10-17
*/
public interface ITCityService
{
/**
* 查询city
*
* @param id cityID
* @return city
*/
public TCity selectTCityBy... |
/*
* Copyright 2019 Red Hat
*
* 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 ... |
package com.rae.cnblogs.widget;
import android.content.Context;
import android.support.v4.widget.NestedScrollView;
import android.support.v7.widget.FitWindowsLinearLayout;
import android.util.AttributeSet;
import skin.support.widget.SkinCompatBackgroundHelper;
import skin.support.widget.SkinCompatSupportable;
/**
*... |
package com.yuqinyidev.android.azaz.splash.mvp.model.service;
import com.yuqinyidev.android.azaz.splash.mvp.model.entity.Images;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;
/**
* Created by RDX64 on 2017/6/29.
*/
public interface SplashService {
@GET("http://cn.bing... |
package org.seng302.view.outgoing;
public class ImageCreatePayload {
private Integer id;
private String filename;
private boolean isPrimary;
private String thumbnailFilename;
public ImageCreatePayload(Integer id, String filename, boolean isPrimary, String thumbnailFilename) {
this.id =... |
package mod.oceanmaze.structure;
import com.mojang.serialization.Codec;
import mod.oceanmaze.main.OceanMazeStructureReg;
import net.minecraft.structure.Structure.StructureBlockInfo;
import net.minecraft.block.Blocks;
import net.minecraft.structure.Structure;
import net.minecraft.structure.StructurePlacementData;
impo... |
package com.github.git24j.core;
import org.junit.Test;
import java.util.Arrays;
import static org.junit.Assert.assertEquals;
public class PushOptionsTest extends TestBase {
@Test
public void getterSetters() {
PushOptions opts = PushOptions.createDefault();
opts.setCustomHeaders(new String[]... |
package ezvcard.io;
import ezvcard.Messages;
/*
Copyright (c) 2012-2020, Michael Angstadt
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 copyr... |
package com.activitystream.core.sdk.aspects;
import com.activitystream.sdk.ASEntity;
import com.activitystream.sdk.ASService;
import org.joda.time.DateTime;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.Assert;
import org.testng.annotations.BeforeMethod;
import java... |
package study.com.definedialogdemo;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.res.Resources;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.... |
/*
* 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 psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml25;
import psidev.psi.mi.jami.model.Interactor;
import psidev.psi.mi.jami.model.Participant;
import psidev.psi.mi.jami.xml.cache.PsiXmlObjectCache;
import psidev.psi.mi.jami.xml.io.writer.elements.ExpandedPsiXmlElementWriter;
import psidev.psi.mi.jami.... |
package com.minsx.framework.security.core.aop;
import com.minsx.framework.security.api.configure.WebSecurity;
import com.minsx.framework.security.api.handler.LogoutHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.ser... |
/*
* 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 app... |
package io.snyk.sdk.api.v1;
import io.snyk.sdk.SnykConfig;
import javax.annotation.Nonnull;
import java.net.URI;
import java.net.URLEncoder;
import java.net.http.HttpRequest;
import java.util.HashMap;
import java.util.Optional;
import java.util.stream.Collectors;
import static java.nio.charset.StandardCharsets.UTF_8... |
public class ImplicitThisMissing {
class B {}
public static void main(String[] args) {
new B();
System.err.println("shouldn't compile!!!");
}
}
|
/**
* Summary. This file contains the definition for the UserPayload.
*
* Description. This file contains the defintion for the UserPayload.
*
* @link team-400/src/main/java/org/seng302/user/UserPayload
* @file This file contains the definition for UserPayload.
* @author team-400.
* @since 5.5.2021
*/
pac... |
/*
* Copyright (c) 2008-2019, Hazelcast, 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 ... |
package info.jab.reactive.ch0.euler;
import java.util.function.BiPredicate;
import java.util.function.Predicate;
import java.util.stream.IntStream;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
/**
* Problem 1: Multiples of 3 and 5
* https://projecteuler.net/problem=1
*
* If we list all ... |
package com.dimowner.airycompass.app.settings;
import android.app.Activity;
import android.content.res.Resources;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import com.dimowner.airycompass.R;
import ... |
package org.springframework.samples.petclinic._4_domain;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name = "types")
public class PetType extends NamedEntity {
}
|
/*
* Copyright 2009 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 required by applicable... |
/*
* 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 main.utilities;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import javax.servlet.RequestDispatc... |
// 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.wm.impl;
import com.intellij.diagnostic.IdeMessagePanel;
import com.intellij.icons.AllIcons;
import com.intellij.ide.AppLifecycleListener;
import com... |
/*******************************************************************************
* Copyright SemanticBits, Northwestern University and Akaza Research
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/caaers/LICENSE.txt for details.
******************************************... |
package org.apache.metron.alerts.adapters;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.commons.validator.routines.InetAddressValidator... |
/*
Calimero - A library for KNX network access
Copyright (C) 2006-2008 W. Kastner
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(a... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__byte_rand_multiply_72b.java
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-72b.tmpl.java
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: rand Set data to result of rand()
* GoodSou... |
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 license... |
package com.mycompany.matrices;
import java.util.Scanner;
import javax.swing.JOptionPane;
/**
*
* @author alemr
*/
public class Matrices {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Scanner entrada = new Scanner(System.in);
//Dimensio... |
/*
* @Author: cristianmarint
* @Date: 11/12/20 18:19
*/
package com.api.clio.boot;
import com.api.clio.model.User;
import com.api.clio.repository.UserRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
impor... |
package chapter15;
import chapter10.Loan;
import javafx.application.Application;
import javafx.geometry.Pos;
import javafx.geometry.HPos;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPan... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2020-2030 The XdagJ 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 righ... |
package com.adjust.sdk.plugin;
/**
* Created by Wider Planet on 21/12/17.
*/
public class WiderPlanetProduct {
float price;
int quantity;
String product_id;
public WiderPlanetProduct(float price, int quantity, String product_id) {
this.price = price;
this.quantity = quantity;
... |
package com.baeldung.reactive.webflux;
import org.springframework.context.annotation.Bean;
import org.springframework.http.HttpMethod;
import org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity;
import org.springframework.security.config.web.server.ServerHttpSecurity;
import org.spr... |
package org.ow2.chameleon.fuchsia.importer.philipshue;
/*
* #%L
* OW2 Chameleon - Fuchsia Importer Philips Hue
* %%
* Copyright (C) 2009 - 2014 OW2 Chameleon
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... |
package com.jefferson.application.br;
import android.content.*;
import android.widget.*;
public class ReceiverPasswordChanged extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
String newPass = (String) intent.getExtras().get("pass");
}
}
|
/*
*AVISO LEGAL
© Copyright
*Este programa esta protegido por la ley de derechos de autor.
*La reproduccion o distribucion ilicita de este programa o de cualquiera de
*sus partes esta penado por la ley con severas sanciones civiles y penales,
*y seran objeto de todas las sanciones legales que correspondan.
*Su... |
/*
* Copyright (c) 2011, 2013, 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 ... |
/*
* Copyright (C) 2016 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 org.typroject.tyboot.api.face.systemctl.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Component;
import org.typroject.tyboot.api.face.systemctl.model.FeedbackModel;
import org.typroject.tyboot.api.face.systemctl.orm.dao.FeedbackMapper;
import... |
/*
* Copyright (c) 2002-2018 Gargoyle Software 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 ... |
package torrentfinder.dht;
public enum DHTQueryType {
Ping ("ping"),
FindNode ("find_node"),
GetPeers ("get_peers"),
AnnouncePeer ("announce_peer");
private String m_str;
private DHTQueryType(String str) {
m_str = str;
}
public String toString() {
return m_str;
}
public static DHTQueryType from... |
/*
* VRS API documentation
* Documentation on all available end points in the VRSAPI
*
* The version of the OpenAPI document: v1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.... |
package com.github.sulir.tostringstudy;
import com.github.sulir.tostringstudy.questions.AllQuestions;
import java.io.*;
import java.nio.file.Path;
public class Progress {
public static final String FILE_NAME = "progress.bin";
private final Corpus corpus;
private final Question questions;
private fin... |
/*
* Copyright 2002-2017 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.evguard.main;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import com.evguard.data.AppDataCache;
impor... |
/*
* 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") + yo... |
/*
* Copyright 2015 The gRPC 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 agree... |
/**
* Copyright 2011 The Open Source Research Group,
* University of Erlangen-Nürnberg
*
* 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/lic... |
package net.kunmc.lab.followeractionpoint;
import net.kunmc.lab.followeractionpoint.follower.FollowerMap;
import org.bukkit.plugin.java.JavaPlugin;
public final class FollowerActionPoint extends JavaPlugin {
public static FollowerActionPoint plugin;
@Override
public void onEnable() {
// Plugin s... |
package com.llb.mall.coupon.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.llb.common.utils.PageUtils;
import com.llb.mall.coupon.entity.SeckillPromotionEntity;
import java.util.Map;
/**
* 秒杀活动
*
* @author liulebin
* @email liulebinn@163.com
* @date 2021-04-10 22:19:25
*/
publi... |
package com.concurrency;
import org.junit.jupiter.api.Test;
import sun.misc.Unsafe;
import java.lang.reflect.Field;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicIntegerArray;
public class CasTest {
// https://blog.csdn.net/u011506543/article/details/82392338
pri... |
package pokecube.adventures.utils.trade_presets;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Map;
import javax.xml.namespace.QName;
import com.google.common.collect.Lists;
import net.minecraft.item.ItemStack;
import pokecube.adventures.capabilities.utils.TypeTrainer.TrainerTrade;
impo... |
/*
* Copyright 2008-2011 Grant Ingersoll, Thomas Morton and Drew Farris
*
* 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
... |
/* @author rich
* Created on 05-Mar-2004
*/
package org.lsmp.djep.groupJep.groups;
import org.lsmp.djep.groupJep.interfaces.*;
import java.math.*;
/**
* The group of integers mod n.
* For prime values of n this is a field, with some
* nice division tables. i.e. for Z5
* <pre>* | 1 2 3 4
* ------------
* 1 | 1 ... |
package junitparams;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.*;
import org.junit.runner.*;
import junitparams.mappers.*;
import junitparams.usage.person_example.*;
import junitparams.usage.person_example.PersonTest.*;
@RunWith(JUnitParamsRunner.class)
public class FileParamsTest {... |
// Copyright 2020 Goldman Sachs
//
// 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 ... |
/********************************************************************
The Multiverse Platform is made available under the MIT License.
Copyright (c) 2012 The Multiverse Foundation
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (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 controledeproducao;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util... |
/*
* 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.tarek360.sample;
import android.app.Application;
/**
* Created by tarek on 10/5/16.
*/
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
}
} |
/*
* 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 util;
import com.fasterxml.jackson.databind.JsonNode;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.ConcurrentHashMap;
import... |
package cc.mrcwm.febs.common.entity;
import cc.mrcwm.febs.system.entity.Menu;
import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* @author mrcwm
*/
@Data
public class MenuTree<T> implements Serializable {
private static final long seri... |
/* Copyright 2016 The TensorFlow 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 applicable law or a... |
package com.alipay.api.response;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.trade.buyer.credit.apply response.
*
* @author auto create
* @since 1.0, 2020-07-10 19:40:55
*/
public class AlipayTradeBuyerCreditApplyResponse extends A... |
/*
* Copyright 2018-2020 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 r... |
/*
* 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 a... |
package org.mockserver.serialization.serializers.body;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.junit.Test;
import org.mockserver.model.Not;
import org.mockserver.serialization.ObjectMapperFactory;
import java.io.IOException;
import static org.hamcrest.core.Is.is;
import static org.junit... |
/*
* Copyright 2015-2017 Austin Keener & Michael Ritter & Florian Spieß
*
* 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
*
* Unl... |
package net.borisshoes.arcananovum.items;
import net.borisshoes.arcananovum.recipes.MagicItemIngredient;
import net.borisshoes.arcananovum.recipes.MagicItemRecipe;
import net.borisshoes.arcananovum.utils.MagicItemUtils;
import net.borisshoes.arcananovum.utils.MagicRarity;
import net.borisshoes.arcananovum.utils.Utils;... |
package com.citi.training.spring.map;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import static org.junit.Assert.assertEquals;
/**
* Created by sxj on 2017/3/2.
*/
@ContextConfiguration("/applicationContext.xml"... |
/*
* Copyright 2015 the original author or authors.
* @https://github.com/scouter-project/scouter
*
* 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... |
package com.aem.utils.core.slingmodels;
import javax.annotation.PostConstruct;
import com.day.cq.wcm.api.Page;
import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.Logger;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.model... |
/**
* 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 me.mervin.module.feature;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
... |
package com.mkyong.web.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
... |
package com.fernandocejas.android10.restrofit.repository;
import com.fernandocejas.android10.order.domain.TestUser;
import com.fernandocejas.android10.order.domain.User;
import com.fernandocejas.android10.order.domain.repository.TestUserRepository;
import com.fernandocejas.android10.order.domain.repository.UserReposit... |
/*
* The MIT License
*
* Copyright 2018 The OpenNARS authors.
*
* 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,... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.gwt;
import io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor;
import java.lang.reflect.Method;
final class GwtRpcAttributesExtractor extends RpcAttribute... |
/*
* Copyright © 2014-2020 Vladlen V. Larionov and others as noted.
*
* 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
*
* Un... |
/*
* 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.designpattern.cases.constructor.builder;
public interface Builder {
Product getProduct();
void buildProduct();
void buildMaster();
void buildScreen();
void buildKeyboard();
void buildMouse();
void buildAudio();
}
|
package io.origintrail.dkg.client.util;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.IOException;
/**
* JSON util class exposing helper methods for validating JSON objects
*/
public class JsonUtil {
private static final ObjectMapper MAPPER = new ObjectMapper();
private ... |
package Java101;
import java.util.Scanner;
public class EtkinlikOnerme {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double sicaklik;
System.out.println("Hava sicakliğini giriniz :");
sicaklik = input.nextDouble();
if (sicaklik <= 5){
... |
/*
* Copyright 2005-2017 Dozer 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 applicable law or ag... |
/*package pages;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class HerokuAppPage extends Page{
// constructor
public HerokuAppPage() {
url = "https://skryabin-careers.herokuapp.com/";
title = "Careers Portal";
}
@FindBy(xpath = "//button[... |
/*
* Copyright 2020 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 applica... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.devsupport;
import android.app.Activity;
import android.app.ActivityManager;
import android.app.AlertDi... |
/*
* Copyright 2021 Infernal Studios
*
* 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 agree... |
/*
* Copyright 2016-2019 52°North Initiative for Geospatial Open Source
* Software 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.apache.org/licenses/LICENSE-2... |
package seedu.organizer.logic.commands;
import static org.junit.Assert.assertEquals;
import org.junit.Before;
import org.junit.Test;
import seedu.organizer.logic.CommandHistory;
import seedu.organizer.logic.UndoRedoStack;
import seedu.organizer.model.Model;
import seedu.organizer.model.ModelManager;
public class Hi... |
package com.me.diankun.firstcode.service;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.util.Log;
/**
* ANRService暂时解决方法:
* 在 AndroidManifest中修改为 android:process=":remote",将其设置成远程S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.