text stringlengths 7 1.01M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.prabhu.jeazyprops.utils;
/**
*
* @author Prabhu Prabhakaran
*/
import com.prabhu.jeazyprops.Constants;
import java.io.File;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.l... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.v2019_11_01;
import com.microsoft.azure.... |
package ij.measure;
public interface Measurements {
public static final int AREA=1,MEAN=2,STD_DEV=4,MODE=8,MIN_MAX=16,
CENTROID=32,CENTER_OF_MASS=64,PERIMETER=128, LIMIT = 256, RECT=512,
LABELS=1024,ELLIPSE=2048,INVERT_Y=4096,CIRCULARITY=8192,FERET=16384,
INTEGRATED_DENSITY=0x8000,
MEDIAN=0x10000, SKEW... |
package org.inferred.freebuilder.processor.source;
import org.inferred.freebuilder.FreeBuilder;
import java.util.Optional;
@FreeBuilder
interface TypeUsage {
int start();
int end();
QualifiedName type();
Optional<QualifiedName> scope();
class Builder extends TypeUsage_Builder { }
}
|
/*
* 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 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... |
/*
* Copyright 2018 NAVER Corp.
*
* 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 dev.dules.methodlogger.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;
import dev.dules.methodlogger.MethodLogger;
@Retention(Ret... |
/* ###
* 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... |
package com.example.votingservice.exceptions;
public class UnknownCandidateException extends RuntimeException {
public UnknownCandidateException() {
super("Unknown candidate id!");
}
}
|
/*
* Copyright (c) 2016-2018, The Jaeger 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 ... |
package History;
/**
* The State class encapsulates a single state of an entity object. In this
* case, a state of the board.
*
* @author Kevin Filanowski 100%
* @version April 2, 2019
*/
public class State<T> {
/** The state of the object at some point in time. **/
private T state;
/**
* Const... |
package si.isystem.itest.dialogs;
import net.miginfocom.swt.MigLayout;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.window.Window;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import ... |
package com.jlfex.hermes.console.tomcat;
import org.apache.catalina.startup.Tomcat;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HermesConsoleStart {
private static Logger logger = LoggerFactory.getLogger(HermesConsoleStart.class);
public static void main(String[] args) throws Exc... |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0... |
package com.robertzhang.commonlibs.adapter;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.support.v7.widget.Recyc... |
package es.uem.hadoop;
import java.io.IOException;
import java.util.StringTokenizer;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class WordCountMapper extends Mapper<LongWritable, Te... |
package la.xiong.androidquick.demo.network;
import java.util.List;
import la.xiong.androidquick.demo.bean.TestBean;
import retrofit2.http.GET;
import retrofit2.http.Url;
import rx.Observable;
/**
* @author ddnosh
* @website http://blog.csdn.net/ddnosh
*/
public interface TestApis {
@GET
Observable<List<... |
/*
* Copyright (c) 2021, Kerpackie <https://github.com/Kerpackie/>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright noti... |
package eap.comps.codetable.collector;
import java.util.List;
import eap.comps.codetable.CodeTableVO;
import eap.comps.codetable.ICodeTableCollector;
/**
* <p> Title: </p>
* <p> Description: </p>
* @作者 chiknin@gmail.com
* @创建时间
* @版本 1.00
* @修改记录
* <pre>
* 版本 修改人 修改时间 修改... |
/**
* Copyright (c) 2008, http://www.snakeyaml.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
/**
* 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.busytrack.foodtruckclient.screen.register;
import com.busytrack.foodtruckclient.R;
import com.busytrack.foodtruckclient.generic.mvp.BasePresenter;
import com.busytrack.foodtruckclient.generic.observer.ReactiveObserver;
import com.busytrack.foodtruckclient.network.foodtruckapi.model.Account;
import com.busy... |
/**
*
*/
package com.winterwell.maths.stats.distributions.discrete;
import java.io.Serializable;
import com.winterwell.maths.stats.distributions.MixtureModelBase;
import com.winterwell.utils.Printer;
/**
* A additive (OR) mixture of discrete models (ie this is "OrDist").
*
* @author Joe Halliwell <joe@winterwe... |
package com.Ray.util.JFreeChart;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.StandardChartTheme;
import org.jfree.chart.servlet.ServletUtilities;
import org.jfree.data.time.Month;
import org.jfree.data.time.TimeSeries;
import org.jfree.data.time.TimeSeriesCollection;
... |
/*
* Autopsy Forensic Browser
*
* Copyright 2011-2014 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.compguide.web.ScheduleTimers;
import com.compguide.web.Persistence.Entities.Condition;
import com.compguide.web.Persistenc... |
package io.basc.framework.script;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import io.basc.framework.env.Sys;
import io.basc.framework.mapper.Field;
import io.basc.framework.mapper.FieldFeature;
... |
/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
... |
package pe.joseval.bots.core.actions.test;
import java.util.Map;
import lombok.extern.slf4j.Slf4j;
import pe.joseval.bots.core.DefaultActions;
import pe.joseval.bots.core.context.ContextHandler.ContextHandlingTypes;
import pe.joseval.bots.dm.actions.Action;
import pe.joseval.bots.dm.actions.BaseAction;
import pe.jose... |
package ru.stqa.pft.mantis.appmanager;
import org.subethamail.wiser.Wiser;
import org.subethamail.wiser.WiserMessage;
import ru.stqa.pft.mantis.model.MailMessage;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import java.io.IOException;
import java.util.List;
import java.util.stream.Co... |
package com.anly.githubapp.common.wrapper;
import android.content.Context;
import cn.sharesdk.framework.ShareSDK;
import cn.sharesdk.onekeyshare.OnekeyShare;
/**
* Created by mingjun on 16/8/18.
*/
public class SharePlatform {
public static void init(Context context) {
AppLog.d("SharePlatform init");
... |
// Copyright 2014 The Bazel 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 appl... |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project 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 ... |
package org.firstinspires.ftc.team7316.commands;
import org.firstinspires.ftc.team7316.util.Constants;
import org.firstinspires.ftc.team7316.util.Hardware;
import org.firstinspires.ftc.team7316.util.commands.Command;
import org.firstinspires.ftc.team7316.util.input.OI;
import org.firstinspires.ftc.team7316.util.subsys... |
package ru.concerteza.util.db.postgrescopy;
import com.google.common.collect.Collections2;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.text.StrSubstitutor;
import org.postgresql.P... |
/*
* 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.myblog.service;
/**
* Created with IntelliJ IDEA.
* User: Zephery
* Time: 2018/2/13 16:33
* Description:
*/
public interface ILogService {
void record(String key, String value);
} |
package com.xhh.demo.http.algorithms.chapter1;
import java.util.Iterator;
/**
* 下压堆栈(链表实现)
*
* <p>优点:可以处理任意类型的数据,所需的空间总是和集合的大小成正比,操作所需的时间总是和集合的大小无关
*
* @author tiger
* @version 1.0.0 createTime: 14-11-23
* @since 1.6
*/
public class Stack<Item> {
/**
* 栈顶节点
*/
private Node first;
/**
... |
/*
* Copyright 2019 Haulmont.
*
* 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 spring.dao;
import java.util.List;
import spring.model.Persona;
public interface IPersonaDAO {
public Persona getPersona(int id);
public void saveOrUpdate(Persona persona);
public void delete(int id);
public List<Persona> listarPersonas();
}
|
package com.patronusstudio.kaydirkazan.Contract;
import com.google.android.gms.ads.reward.RewardedVideoAd;
public interface AdmobContractJ {
void videolu_reklam_yuklendi(RewardedVideoAd mRewardedVideoAd);
void videolu_reklam_izlendi();
void videolu_reklam_yuklenemedi(String message);
}
|
// ============================================================================
//
// Copyright (C) 2006-2018 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
import java.util.Scanner;
import java.util.Arrays;
public class LadyBugs {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] field = new int[Integer.parseInt(scanner.nextLine())];
int[] indexes = Arrays.stream(scanner.nextLine().split(" ")).mapToInt(e ... |
import java.util.*;
public class ExerciseB {
public static final int NUM_ITER = 1000;
public static final int NUM_ELEMENTS = 5;
static class MyThread extends Thread {
private Map<Integer, Integer> database;
private Random numGenerator;
MyThread(Map<Integer, Integer> database) {
... |
package com.qingyun.mvpretrofitrx.mvp.entity;
public class NoticeDetail {
private String name;
private String text;
private String time;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getText() {
... |
/*
* Copyright (c) WhatsApp Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.gaumala.stickers;
import android.app.Dialog;
import android.os.Bundle;
import androidx.a... |
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annot... |
// Copyright 2000-2020 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.coverage;
import com.intellij.codeInspection.export.ExportToHTMLDialog;
import com.intellij.coverage.view.CoverageViewExtension;
import com.intellij.coverage... |
package com.pzin.reflection;
import java.util.Arrays;
@SuppressWarnings("SameParameterValue")
public class ReflectionHelper {
private ReflectionHelper() {
}
public static Object getFieldValue(Object object, String name) {
try {
var field = object.getClass().getDeclaredField(name);
... |
/**
* Wegas
* http://wegas.albasim.ch
*
* Copyright (c) 2013-2020 School of Business and Engineering Vaud, Comem, MEI
* Licensed under the MIT License
*/
package com.wegas.unit.i18n;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author Maxence Laurent (maxence.laurent at gmail.com)
*/
public cl... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* 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/LICE... |
package com.jjbanks.learning.util;
/**
*
* @author jjbanks.com
*
*/
public final class SpaceUtil {
private static final int MIN_LAT = -90;
private static final int MAX_LAT = 90;
private static final int MIN_LONG = -180;
private static final int MAX_LONG = 180;
/**
* Default constructor.... |
package com.burst.sdk.struct.imos;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
/**
* <i>native declaration : sdk_struct.h</i><br>
* This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
* a tool written by <a href="... |
/*
* Copyright 2014 - 2021 Blazebit.
*
* 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 org.web3j.protocol.rx;
import java.io.IOException;
import java.math.BigInteger;
import java.util.List;
import java.util.concurrent.ScheduledExecutorService;
import java.util.stream.Collectors;
import rx.Observable;
import rx.Scheduler;
import rx.Subscriber;
import rx.schedulers.Schedulers;
import rx.subscript... |
/* *** ODSATag: PQsort *** */
static <T extends Comparable<T>> T[] pqsort(T[] array) {
PriorityQueue<T> pq = new MinHeap<T>();
// MinHeap is a class that implements the
// priority queue ADT; we will see how it works
// in the next section.
for (T item: array)
pq.add(item);
T[] result = new T[arr... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* 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... |
/*
* 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 jcarstore.models;
import java.io.Serializable;
import java.util.Collection;
import javax.persistence.Basic;
import javax.persi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
package technologicalmayhem.magicalstorage.block;
import net.fabricmc.fabric.api.block.FabricBlockSettings;
import net.minecraft.block.*;
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.entity.EntityContext;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemPlacementCon... |
/*
* Copyright (c) 2008-2013, 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 ... |
/**
* 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.android.walkmyandroid;
import com.google.android.gms.location.LocationRequest;
class Constants {
static final int REQUEST_LOCATION_PERMISSION = 0;
static final int REQUEST_INTERVAL = 10000;
static final int REQUEST_FASTEST_INTERVAL = 5000;
static final int PRIORITY = LocationReques... |
import java.io.InputStream;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
public class Parser {
private LexicalAnalyzer lexer;
private final List<String> tokenList = new ArrayList<>();
public List<String> getTokenList() {
return tokenList;
}
private ... |
/*
* 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 osmedile.intellij.stringmanip.swap;
import org.apache.commons.lang3.StringUtils;
import osmedile.intellij.stringmanip.styles.Style;
import osmedile.intellij.stringmanip.swap.split.Splitter;
import osmedile.intellij.stringmanip.swap.split.Token;
import osmedile.intellij.stringmanip.swap.split.Type;
import java... |
/*
* Copyright (c) 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 Softwa... |
package org.openprovenance.prov.model;
import java.io.PrintStream;
import java.lang.reflect.Method;
import java.util.*;
import org.apache.commons.collections4.bag.HashBag;
import org.apache.log4j.Logger;
/**
* @author Trung Dong Huynh <tdh@ecs.soton.ac.uk>
* @author lavm
* Comparator Class
*
*/
public ... |
package mpicbg.stitching;
import mpicbg.models.Point;
import mpicbg.models.PointMatch;
public class PointMatchStitching extends PointMatch
{
/**
*
*/
private static final long serialVersionUID = 1L;
ComparePair pair;
/**
* Constructor
*
* Create a {@link PointMatch} with one weight.
*
* @param... |
package org.robolectric.shadows;
import android.graphics.Picture;
import android.view.ViewGroup.LayoutParams;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import java.util.HashMap;
import java.util.Map;
import org.junit.Be... |
/*
* 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 Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
package org.apache.rocketmq.exporter.model.metrics.clientrunime;
public class ConsumerRuntimeConsumeFailedMsgsMetric {
private String group;
private String topic;
private String caddrs;
private String localaddrs;
public ConsumerRuntimeConsumeFailedMsgsMetric(String group, String topic, String cadd... |
package io.quarkus.smallrye.graphql.runtime;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
import java.util.List;
/**
* GraphQL Config
* @author Phillip Kruger (phillip.kruger@redhat.com)
*/
@ConfigRoot(name = ... |
package edu.emory.bmi.tcia.client.definitions;
/**
* Definitions of TCIA Service Endpoints
*/
public class ServiceEndpoints {
public static String getImage = "getImage";
public static String getManufacturerValues = "getManufacturerValues";
public static String getModalityValues = "getModalityValues";
public stat... |
package com.example.test;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFact... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... |
package com.github.roarappstudio.btkontroller.representation;
/**
* 3-dimensional vector with conventient getters and setters. Additionally this class is serializable and
*/
public class Vector3f {
/**
* A float array was chosen instead of individual variables due to performance concerns. Converting the po... |
/*
* 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... |
/*
Desafio 002
Problema: Faça um programa que leia o nome de uma pessoa e mostre
uma mensagem de boas-vindas.
Resolução do problema:
*/
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in); // Input
System.out.print("Digite seu ... |
package com.oux.photocaption;
import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
/**
* Hacky fix for Issue #4 and
* http://code.google.com/p/android/issues/detail?id=18990
* <p/>
* ScaleGestureDetector seems to mess up the t... |
package cn.study.im.netty.exchanger;
import cn.hutool.core.lang.Assert;
import cn.study.im.netty.protocol.packet.WsMessageRequestPacket;
import cn.study.im.netty.utils.ObjectMapperUtils;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.TextWe... |
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
package org.rocksdb;
import java.util.*;
import java.io.I... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... |
package com.gypsophila.trygank.business.gank.presenter;
import android.content.Context;
import com.gypsophila.commonlib.activity.BaseActivity;
import com.gypsophila.commonlib.net.RequestParameter;
import com.gypsophila.trygank.business.gank.FilterType;
import com.gypsophila.trygank.business.gank.model.GankLoadListene... |
package org.imzdong.study.spring.self.annotation;
import org.springframework.beans.factory.InitializingBean;
public class GoodMan implements InitializingBean {
private String name;
public GoodMan(String name) {
this.name = name;
}
public String getName() {
return name;
}
pu... |
/*******************************************************************************
* Copyright FUJITSU LIMITED 2017
*******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See... |
/*
* 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 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope tha... |
/*
* 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 cn.blmdz.wapplet.services.cache;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.google.common.base.Optional;
import com.google.common.cache.CacheBuild... |
package generics15;
class Automobile{
}
public class Holder1 {
private Automobile a;
public Holder1(Automobile a) {
this.a = a;
}
Automobile get() {
return a;
}
}
|
package com.yangdb.fuse.unipop.controller.common.converter;
/*-
* #%L
* fuse-dv-unipop
* %%
* Copyright (C) 2016 - 2019 The YangDb Graph Database 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 ... |
/*
* 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 us.ascendtech.highcharts.client.chartoptions.chart.functions;
import jsinterop.annotations.JsFunction;
@JsFunction
public interface Drillup {
void drillup();
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Utils.fitness.CoEvolutionSinFitness;
import Utils.individuos.individuo;
import Utils.sel_mapa;
import java.io.*;
/**
*
* @author antares
*/
public class t_fitness_versus2 extends Thread {
public individ... |
/*
* Copyright 2021 Sonu Kumar
*
* 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 ... |
package com.csw.servlet.util;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;
@WebSe... |
package net.minecraft.command.arguments;
import com.google.gson.JsonObject;
import com.mojang.brigadier.arguments.ArgumentType;
import java.util.function.Supplier;
import net.minecraft.network.PacketBuffer;
public class ArgumentSerializer<T extends ArgumentType<?>> implements IArgumentSerializer<T> {
private final... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.