text stringlengths 7 995k |
|---|
package zh.codegym.task.task17.task1710;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class Person {
private String name;
private Sex sex;
private Date birthDate;
private Person(String name, Sex sex, Date birthDate) {
this.name = name;
this... |
package io.github.kavahub.learnjava.lock;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.junit.jupiter.api.Test;
/**
*
* {@link SharedObjectWithLock} 示例
*
* @author... |
package com.rayferric.havook.gui;
import java.io.IOException;
import org.lwjgl.input.Keyboard;
import com.rayferric.havook.Havook;
import com.rayferric.havook.feature.mod.ModAttributeBoolean;
import com.rayferric.havook.feature.mod.ModAttributeDouble;
import com.rayferric.havook.feature.mod.ModAttributeString;
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 f... |
/*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
package com.example.simpletodo;
import android.view.LayoutInflater;
import android.view.TextureView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import java.util.List;
public class Item... |
package com.richard.novel.http.entity.user;
/**
* Created by XiaoU on 2018/12/13.
*/
public class GiftInfo {
private long id;
private String name;
private String cover;
private String detail;
private Integer price;//兑换价格
private Integer marketPrice;//市场价格
private Integer orderNum = 0;//已... |
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
package vn.eazy.sample.activity;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.Nullable;
import butterknife.OnClick;
import vn.eazy.core.base.activity.BaseMainActivity;
import vn.eazy.sample.R;
//import vn.eazy.sample.fragment.DataFragment;
public class FragmentStateActi... |
package com.voluntariado.dtos;
public interface ICertificado {
public static final String nome_usuario = "";
public static final Long total_horas = null;
} |
package net.openhft.chronicle.threads;
import net.openhft.chronicle.core.Jvm;
import net.openhft.chronicle.core.StackTrace;
import net.openhft.chronicle.core.threads.EventHandler;
import net.openhft.chronicle.core.threads.EventLoop;
import net.openhft.chronicle.core.threads.HandlerPriority;
import org.jetbrains.annota... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... |
/**
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.measure.cms;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import com.google.common.collect.Immutabl... |
package com.thealgorithms.datastructures.stacks;
import java.util.Arrays;
import java.util.Stack;
/*
Given an array "input" you need to print the first smaller element for each element to the left side of an array.
For a given element x of an array, the Next Smaller element of that element is the
first s... |
package com.appleframework.jms.kafka.consumer.multithread.thread;
import java.io.Closeable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.PriorityBlockingQueue;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
imp... |
/*
* 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 sketch;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Locale;
import shared.Tools;
public final class Comparison extends SketchObject implements Comparable<Comparison> {
/*--------------------------------------------------------------*/
/*---------------- Constructors ... |
/**
* BrowserLanguageTargeting.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201308;
/**
* Represents browser languages that are being targeted or excluded
* by the
* {@link LineItem}.
*/... |
/**
*
*/
package com.idealunited.util;
import java.util.regex.Pattern;
/**
* @author ch-ma
*
*/
public class NumUtil {
static String pattern = "^[0-9]+$";
public static boolean isNum(final String value) {
return !StringUtil.isEmpty(value) && Pattern.matches(pattern, value);
}
} |
/*
Copyright (C) 2012 by CapCaval.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute,... |
package org.incode.module.communications.dom.impl.commchannel;
import java.util.List;
import javax.inject.Inject;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import org.apache.isis.applib.annotation.Action;
import org.apache.isis.applib.annotation.ActionLayout;
import org.apache.isis.applib.annot... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Marc de Verdelhan, 2017-2019 Ta4j Organization & respective
* authors (see 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 So... |
// Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------... |
/*
* 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 geneticprogram;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
imp... |
/**
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/**
* FastPGA_main.java
*
* @author Juan J. Durillo
* @version 1.0
*/
package jmetal.metaheuristics.fastPGA;
import java.io.IOException;
import jmetal.base.*;
import jmetal.base.operator.comparator.FPGAFitnessComparator;
import jmetal.base.operator.crossover.* ;
import jmetal.base.operator.mutation.* ;
impo... |
package com.transitionseverywhere.utils;
import android.animation.Animator;
import android.animation.Animator.AnimatorPauseListener;
import android.animation.ObjectAnimator;
import android.annotation.TargetApi;
import android.graphics.Path;
import android.os.Build.VERSION_CODES;
import android.view.View;
import com.t... |
/*
* 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 edu.usc.ict.superglu.services.logging;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.google.gson.Gson;
import edu.usc.ict.superglu.util.SuperGlu_Serializable;
import gov.adlnet.xapi.model.Activity;
public class ActivityTree extends SuperGlu_Ser... |
/*
* Copyright 2015 Hannes Dorfmann.
*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package org.fisco.bcos.web3j.tx.txdecode;
import org.fisco.bcos.web3j.abi.datatypes.Type;
public class EventResultEntity extends ResultEntity {
private boolean indexed;
public boolean isIndexed() {
return indexed;
}
public void setIndexed(boolean indexed) {
this.indexed = indexed;
... |
package com.lambdaschool.usermodel.models;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;
/**
* The entity allowing interaction with the roles table.
*/
@Entity
@Table(name = "roles")
public class Role
extends Auditable
... |
package com.nacid.bl.applications.regprof;
import com.nacid.bl.impl.applications.regprof.RegprofTrainingCourseDetailsImpl;
import com.nacid.data.regprof.RegprofProfessionExperienceRecord;
public interface RegprofTrainingCourse {
public RegprofProfessionExperienceRecord getExperienceRecord();
public void ... |
package com.github.nagyesta.yippeekijson.metadata.schema.parser;
import com.github.nagyesta.yippeekijson.metadata.schema.WikiConstants;
import com.github.nagyesta.yippeekijson.metadata.schema.annotation.WikiLink;
import com.github.nagyesta.yippeekijson.metadata.schema.entity.DocumentationContext;
import org.apache.com... |
package de.mhaselmaier.tobi;
import android.content.Context;
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class TobiNetwork
{
static
{
System.loadLibrary("tensorflow_inference");
}
priv... |
package b.l.d.o.e0;
import android.os.Handler;
import android.os.Looper;
import b.l.a.c.f.e.f9;
import java.util.concurrent.Executor;
public final class v implements Executor {
/* renamed from: i reason: collision with root package name */
public static final v f4998i = new v();
/* renamed from: h rea... |
package com.google.gct.idea.flags;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.openapi.diagnostic.Logger;
import org.jetbrains.annotations.Nullable;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* Use an instance of this class to read flag... |
/*
* 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... |
/*
* 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 net.community.chest.net.ldap;
import java.io.PrintStream;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import javax.naming.Context;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.Attribute;
import javax.naming.director... |
package ru.job4j.point;
/**
* @author Denis Uhanov (udenis80@mail.ru)
* @version $Id$
* @since 0.1
*/
public class Point {
private int x;
private int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
public double distanceTo(Point that) {
return Math.sqrt(
... |
/**
* The MIT License
*
* Copyright (c) 2009-2019 PrimeTek
*
* 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, cop... |
package com.github.codesniper.poplayer.webview.client;
//Thanks For Your Reviewing My Code
//Please send your issues email to 15168264355@163.com when you find there are some bugs in My class
//You Can add My wx 17620752830 and we can communicate each other about IT industry
//Code Programming By MrCodeSniper on 2018... |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
/*
* Copyright (C) 2018 The Sylph 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 ... |
/*
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 use this f... |
import config.ConfigKey;
import connect.network.nio.NioClientFactory;
import connect.network.nio.NioServerFactory;
import connect.network.xhttp.XHttpConnect;
import intercept.WatchFileManager;
import javafx.application.Application;
import javafx.scene.image.Image;
import javafx.stage.Stage;
import log.LogDog;
import ta... |
/* Copyright 2020 The FedLearn 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 agreed to... |
package com.github.gianmartind.view;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PointF;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
i... |
/*
* 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 DataStax, 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 wri... |
/*
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.test.runners.codegen;
import com.intellij.testFramework.TestDataPath;
import org... |
package com.bluechilli.flutteruploader;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Build;
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 com.smahi.amine.myapplication;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.Gravity;
import android.view.View;
impo... |
/*
* XML Type: UserIDType
* Namespace: urn:com.io7m.cardant.inventory:1
* Java type: com.io7m.cardant.protocol.inventory.v1.beans.UserIDType
*
* Automatically generated - do not modify.
*/
package com.io7m.cardant.protocol.inventory.v1.beans.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNa... |
package com.oxygenxml.ditareferences.tree.references.incoming;
/**
* An interface for Progress Status.
*
* @author alex_smarandache
*
*/
public interface ProgressStatusListener {
/**
* If the list is in the loading process, a pending panel is displayed
*
* @param inProgress <code>true</code> if the proj... |
package io.penguinstats.controller.v2.response;
import java.io.Serializable;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsCo... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
/*
* Copyright 2017 LINE Corporation
*
* LINE Corporation 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... |
/*
* Copyright 1999-2019 Mmtx.io Group.
*
* 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 la... |
/*
Hello Load URL
Copyright (c) 2004 Amzi! inc. All Rights Reserved.
*/
import java.net.URL;
import java.io.InputStream;
import java.io.IOException;
public class HelloLoadURL {
// LoadXPL reads in the XPL file from the JAR file into a byte array
public byte[] LoadXPL() {
byte code[] = null;
URL url =... |
package avrora.arch.msp430;
/**
* The <code>MSP430AddrMode</code> class represents an addressing mode
* for this architecture. An addressing mode fixes the number and type of
* operands, the syntax, and the encoding format of the instruction.
*/
public interface MSP430AddrMode {
public void accept(MSP430Instr i... |
/**
* Copyright 2005-2015 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... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.emmanet.controllers;
/*
* #%L
* InfraFrontier
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2015 EMBL-European Bioinformatics Institute
* %%
* Licensed under the Apache License, Version 2.0 (the "Licen... |
/**
* 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... |
/*
* Copyright 2011-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.jetbrains.mps.samples.Money;
/*Generated by MPS */
import jetbrains.mps.generator.runtime.TemplateModuleInterpreted2;
import jetbrains.mps.smodel.language.LanguageRegistry;
import jetbrains.mps.smodel.language.LanguageRuntime;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.modu... |
package com.lesamisdelescalade.controller;
import java.io.IOException;
import java.util.HashMap;
import javax.persistence.EntityExistsException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impor... |
/*
* Copyright 2009-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
package com.funnelback.filter.api.filters;
import com.funnelback.filter.api.FilterContext;
import com.funnelback.filter.api.FilterResult;
import com.funnelback.filter.api.documents.FilterableDocument;
/**
* Filters a document.
*
* <p> A Filter can take a single document change it and return a new document by retu... |
package com.gigroup.jdbc;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class Update {
private static Connection conn;
public static void main(String[] args) {
try {
conn = DBAccess.getConnection();
Statement stmt = conn.createStatemen... |
package com.vimukti.accounter.web.server.managers;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.log4j.Logger;
import org.hibernate.Query;
import org.hibernate.Session;
imp... |
package org.consumersunion.stories.login.gin;
import org.consumersunion.stories.common.client.CommonModule;
import org.consumersunion.stories.login.application.ApplicationModule;
import org.consumersunion.stories.login.place.NameTokens;
import org.consumersunion.stories.login.resource.ResourceLoader;
import com.gwtpl... |
package org.spout.steamkit.util.util;
import java.net.InetAddress;
import java.net.UnknownHostException;
import org.junit.Assert;
import org.junit.Test;
import uk.co.thomasc.steamkit.util.util.NetHelpers;
public class NetHelpersTest {
@Test
public void testIPConversion() {
InetAddress ip;
long ipV;
try {
... |
package com.github.phenomics.ontolib.formats.uberpheno;
import com.github.phenomics.ontolib.ontology.data.TermId;
import com.github.phenomics.ontolib.ontology.data.TermRelation;
/**
* {@link TermRelation} to use for the Uberpheno ontology.
*
* @author <a href="mailto:manuel.holtgrewe@bihealth.de">Manuel Holtgrewe<... |
/*
* 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 org.bouche.training.sample.common;
public class MyClass {
public static String HELLO_WORLD = "Hello World!";
} |
package org.neo4j.jdbc.http;
import org.hamcrest.Matchers;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.neo4j.jdbc.http.test.Neo4jHttpITUtil;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql... |
/**
* Copyright (C) 2006-2021 Talend Inc. - www.talend.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... |
package com.eps.gateway.config;
import com.eps.gateway.handler.ValidateCodeHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.MediaType;
import org.sprin... |
package com.app.notifier;
import java.lang.invoke.MethodHandles;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import com.app.model.Challenge;
import com.app.... |
package com.baeldung.ejb.stateless;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.asset.EmptyAsset;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Assert;
import or... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
package com.redhat.ukiservices.common;
public interface CommonConstants {
public static final String OK = "OK";
public static final String NOT_OK = "OK";
public static final String HE_RSS_URL_LIST_ENV = "HE_RSS_URL_LIST";
public static final String HE_RSS_URL = "HE_RSS_URL";
public static final String HE_RSS_U... |
package com.sxj.SeeWeather.modules.ui;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.appwidget.AppWidgetManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.res.Co... |
package org.ednovo.gooru.client.mvp.shelf;
import com.google.gwt.resources.client.CssResource;
/**
* @fileName : FolderStyleBundle.java
*
* @description :
*
*
* @version : 1.0
*
* @date: 28-Jan-2014
*
* @Author Gooru Team
*
* @Reviewer:
*/
public interface FolderStyleBundle extends CssResource {
Stri... |
package org.fpeterek.virgineurope.orm.sql.custom;
import org.fpeterek.virgineurope.orm.sql.CustomQuery;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public abstract class BooleanResQuery extends CustomQuery {
private boolean success = fals... |
package com.urbanairship.api.push.parse.notification.mpns;
import com.urbanairship.api.common.parse.APIParsingException;
import com.urbanairship.api.push.model.notification.mpns.MPNSToastData;
import com.urbanairship.api.push.parse.PushObjectMapper;
import org.codehaus.jackson.map.ObjectMapper;
import org.junit.Test;
... |
/*
* 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 chapterTwo.wheatherStation.display;
public interface DisplayElement {
public void display();
} |
/*
* The JTS Topology Suite is a collection of Java classes that
* implement the fundamental operations required to validate a given
* geo-spatial data set to a known topological specification.
*
* Copyright (C) 2001 Vivid Solutions
*
* This library is free software; you can redistribute it and/or
* modify it u... |
package com.ashokslsk.redditgeek.network;
import com.ashokslsk.redditgeek.model.TopnewsResponse;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;
/**
* Created by ashok.kumar on 17/10/16.
*/
public interface RedditnewService {
@GET("new.json")
Observable<TopnewsResponse> getT... |
/*
* Copyright 2010-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... |
package cz.nkp.urnnbn.api.v5.json.ie;
import cz.nkp.urnnbn.api.v5.json.JsonBuilder;
import cz.nkp.urnnbn.core.EntityType;
import cz.nkp.urnnbn.core.IntEntIdType;
import cz.nkp.urnnbn.core.dto.*;
import org.codehaus.jettison.json.JSONException;
import org.codehaus.jettison.json.JSONObject;
import java.util.EnumMap;
im... |
package com.yanghui.study.task;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.yanghui.study.task.outterPackage.FanDemo;
import com.yanghui.study.task.outterPackage.FanDto;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import java.lang.reflect.*;
import java.util.Ar... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.