text stringlengths 7 995k |
|---|
package com.hp.dao;
import java.util.List;
import com.hp.entity.AdminInfo;
public interface AdminInfoDao {
//查询所有
public List<AdminInfo> queryAdmin(String sql,Object...values);
//修改
public int updateUser(String sql,Object...values);
} |
package be.whocarez.jdeps;
import static java.nio.charset.StandardCharsets.UTF_8;
import static java.util.function.Predicate.not;
import static java.util.stream.Collectors.toList;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.google.android.gms.base;
public final class R {
public static final class attr {
public static final int buttonSize = 0x7f0... |
package com.skripsi.explorer;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
import com.skripsi.... |
package apsh.backend.vo;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScheduleProductionResourceTableProductionVo {
String productionId;
List<ResourceInScheduleProductionResourceTablePro... |
public void solve(int testNumber, ScanReader in, PrintWriter out) {
int n = in.scanInt();
int m = in.scanInt();
g = new HashSet[n + 1];
for (int i = 1; i <= n; i++) g[i] = new HashSet<>();
int[][] ee = new int[m][2];
visited = new boolean[n + 1];
for (int i = 0; i < m; i++) {
int a =... |
/**
* Copyright © 2019 同程艺龙 (zhihui.li@ly.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 applicable la... |
package org.adorsys.adpharma.client.jpa.articlelot;
import java.util.List;
import java.util.ResourceBundle;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.ObservableList;
import javafx.concurrent.WorkerStateEvent;
import javafx.event.ActionEvent;
import ... |
package com.inz.z.base.view;
import android.content.Context;
import android.os.Bundle;
import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
/**
* @author Zhenglj
* @version 1.0.0
* Create by inz in 2019/05/23 15:36.
*/
public abstract class A... |
public class p08_Lottery {
public static void main(String[] args) {
for (int i = 1; i <= 10; i++) {
for (int j = 1; j <= 10; j++) {
for (int k = 1; k <= 10; k++) {
if (i < j && j < k) {
System.out.printf("%d %d %d%n", i, j, k);
... |
package org.sysethereum.agents.contract;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.Callable;
import org.web3j.abi.EventEncoder;
import org.web3j.abi.FunctionEncoder;
import... |
package com.linln.common.data;
import com.linln.common.utils.HttpServletUtil;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
/**
* 分页排序数据
* @author 小懒虫
* @date 2018/12/8
*/
public class PageSort {
private static final Integer pageSizeDef = 10;
private sta... |
/**
* This class is generated by jOOQ
*/
package org.labkey.deviceproxy.model.jooq.tables.records;
import java.sql.Timestamp;
import javax.annotation.Generated;
import org.jooq.Field;
import org.jooq.Record2;
import org.jooq.Record6;
import org.jooq.Row6;
import org.jooq.impl.UpdatableRecordImpl;
import org.labke... |
/*
*
*
* 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
* distrib... |
/*********************************************************************
*
* Copyright (C) 2002 Andrew Khan
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of th... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 University of Manchester
*
* 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 right... |
/*
* 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.coursera.androidcapstone.client.ui.gift;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
import org.coursera.androidcapstone.client.R;
import org.coursera.androidcapstone.client.ui.common.UIActivityBase;
public class CreateGiftInChainActivity extends ... |
/*
* 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")... |
package de.vitagroup.num.service.zars;
import java.nio.charset.StandardCharsets;
import org.springframework.context.support.ReloadableResourceBundleMessageSource;
public class TestMessageSource extends ReloadableResourceBundleMessageSource {
public TestMessageSource() {
setBasename("classpath:resourcebundle/re... |
package com.fashion.spider.util;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import javax.servlet.http.HttpServletRequest;
/**
* @descrip... |
package com.smartnews.jpa_entity_generator.rule;
import lombok.Data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Rule used to generate annotations for a given field.
*/
@Data
public class FieldAnnotationRule implements Serializable, FieldMatcher {
private String class... |
package ticketviewer;
import java.util.Scanner;
import java.util.InputMismatchException;
/**
* InputProcessor is the controller of the program, handling all the user input
*/
public class InputProcessor
{
// Scanner is used for reading user input
private Scanner scanner = new Scanner(System.in);
// Used to exit t... |
package de.epsdev.bungeeautoserver.api.interfaces;
public interface FTPStatusEmitter {
void startDownload(String directoryName);
void startUpload(String directoryName);
void finishDownload(long size);
void finishUpload(long size);
void finishTotal(long totalSize);
} |
// snippet-sourcedescription:[DescribeVoicesSample Produces a list of all voices available for use when requesting speech synthesis with Amazon Polly..]
//snippet-keyword:[AWS SDK for Java v2]
// snippet-service:[Amazon Polly]
// snippet-keyword:[Code Sample]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[... |
/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: ../../chrome/android/java/src/org/chromium/chrome/browser/customtabs/dynamicmodule/IModuleEntryPoint.aidl
*/
package org.chromium.chrome.browser.customtabs.dynamicmodule;
public interface IModuleEntryPoint extends android.os.IInterface
{
/** Local-si... |
/*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2018 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld,
* John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke,
* Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2002-2008 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... |
/*
* 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 eu.rafaelaznar.rest;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class User {
private String... |
package com.android.server.am;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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:... |
/*
* Copyright 2014 Jeffrey M. Barber; see LICENSE for more details
*/
package farm.bsg.wake.sources;
/**
* Things did not go so well in the land of rendering sources
*/
public class SourceException extends RuntimeException {
private static final long serialVersionUID = 921111150445411032L;
public SourceE... |
package com.dtstack.jfilebeat.common.utils;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.*;
public class RuntimeUtils {
private static InetAddress addr;
private static String localIps;
public static Set<InetAddress> currentLocalAddresses() {
S... |
package com.c2b.coin.user.mapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import com.c2b.coin.user.entity.MarketingActivityPlan;
import com.coin.config.mybatis.BaseMapper;
public interface MarketingActivityPlanMapper exten... |
/*
Copyright (c) 2015, Alcatel-Lucent Inc
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 condi... |
package org.bian.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.bian.dto.CRPartyStateControlInputModelPartyStateControlActionRequest;
import javax.validat... |
/*
* 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 p01_sort_by_name_and_age;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import static java.lang.System.in;
public class Main {
public static void main(String[] args) throws IOExc... |
/*******************************************************************************
* Copyright or © or Copr. Institut des Sciences du Mouvement
* (CNRS & Aix Marseille Université)
*
* The DOCoMETER Software must be used with a real time data acquisition
* system marketed by ADwin (ADwin Pro and Gold, I and II) or... |
package org.ovirt.engine.core.dao.network;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.lang.NotImplementedException;
import org.junit.Test;
import org.ov... |
package me.badbones69.crazycrates.multisupport.nms;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.server.v1_9_R2.NBTTagList;
import net.minecraft.server.v1_9_R2.BlockPosition;
import net.minecraft.server.v1_9_R2.NBTCompressedStreamTools;
i... |
package org.lumongo.client.result;
import org.lumongo.cluster.message.Lumongo.BatchDeleteResponse;
public class BatchDeleteResult extends Result {
@SuppressWarnings("unused")
private BatchDeleteResponse batchDeleteResponse;
public BatchDeleteResult(BatchDeleteResponse batchDeleteResponse) {
this.batchDeleteRes... |
package seedu.address.logic.parser;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;
import static seedu.address.commons.core.Messages.MESSAGE_INVALID_POOL_DISPLAYED_INDEX;
import seedu.address.commons.core.index.Index;
import seedu.address.logic.commands.UnpoolCommand;
import seedu.a... |
package game;
import java.util.Random;
import javafx.scene.image.Image;
/**
* This is the dragon sprite that the player fights at the second level,
* which moves at a randomized speed.
*
* @author Soravit Sophastienphong
*/
public class DragonSprite extends Sprite {
/**
* @param xpos The x position o... |
package com.appgorepositories;
import android.app.Application;
import android.content.Context;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com... |
import java.util.Arrays;
import java.util.List;
import org.vertx.java.core.Handler;
import org.vertx.java.core.eventbus.Message;
import org.vertx.java.core.json.JsonObject;
import org.vertx.java.platform.Verticle;
public class SingleLoanRequestor extends Verticle {
public void start() {
final List<String... |
package com.ciaoshen.sia.ch01.knight;
import com.ciaoshen.sia.ch01.knight.aop.MinstrelAround;
public class BraveKnight implements Knight {
private Quest quest;
public BraveKnight(Quest quest) {
this.quest = quest;
}
/**
* Implement @MinstrelAroundAdvice aspect.
*/
@MinstrelArou... |
// Copyright 2000-2019 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.siyeh.ig.classlayout;
import com.intellij.codeInspection.InspectionProfileEntry;
import com.siyeh.ig.LightJavaInspectionTestCase;
import org.jetbrains.annotations.Nul... |
package Inputoutput;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
public class MainClass4 {
public static void main(String[] args) throws Exception {
// File path = new File("E:\\JSP\\aaa.txt");
// FileOutputStream fos = new FileOutputStream(path);
// BufferedOutput... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright 2018 JDCLOUD.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 applicable law or agreed to in... |
package com.fightermap.backend.spider.core.repository;
import com.fightermap.backend.spider.common.enums.AreaType;
import com.fightermap.backend.spider.common.enums.SourceType;
import com.fightermap.backend.spider.core.model.entity.Area;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.L... |
package ru.EXXO.Ratings;
public class FIOratingResult extends ratingResult {
private String fio;
public FIOratingResult(String fio, double result, int count, int target_id, int rating_id) {
super(result, count, target_id, rating_id);
this.fio = fio;
}
public String getFio() {
... |
/*
* Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0
*
... |
/*
* 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 io.swagger.client.model;
import java.util.Objects;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.google.gson.annotations.SerializedName;
/**
* Category
*/
public class Category {
@SerializedName("id")
private Long id = null;
@SerializedName(... |
package models;
import javax.persistence.*;
import javax.validation.constraints.*;
@Entity
@Table(name="locations")
public class Location {
@Id
@SequenceGenerator(name="locationSeq", sequenceName="sq_location", allocationSize=1)
@GeneratedValue(strategy = GenerationType.SEQUENCE, generator="locationSeq")... |
/*******************************************************************************
* Copyright 2012 EMBL-EBI, Hinxton outstation
*
* 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... |
package org.bouncycastle.jcajce.provider.asymmetric.dsa;
import java.io.IOException;
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.SecureRandom;
import java.security.SignatureException;
import java.security.S... |
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package com.github.zhenwei.pkix.openssl;
import java.io.IOException;
interface PEMKeyPairParser {
PEMKeyPair parse(byte[] encoding)
throws IOException;
} |
package com.desertkun.brainout.content.components;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.math.MathUtils;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Json;
import com.badlogic.gdx.utils.JsonValue;
import com.desertkun.brainout.BrainOut;
import com.desertkun.brainout... |
/*
* 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 u... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... |
/**
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.web.shared.util;
public class ParseUtils {
/**
* This method exists because Java's Boolean.parseBoolean is too permissive (that method maps "true" to true, any
* other string to false).
*
* @return
... |
/*
* Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package mage.abilities.effects.common;
import mage.abilities.Ability;
import mage.abilities.Mode;
import mage.abilities.effects.OneShotEffect;
import mage.cards.Cards;
import mage.cards.CardsImpl;
import mage.constants.Outcome;
import mage.filter.FilterCard;
import mage.game.Game;
import mage.players.Player;
import ma... |
package com.platform.entity;
import java.io.Serializable;
/**
* 实体
* 表名 nideshop_goods_issue
*
* @author lipengjun
* @email 939961241@qq.com
* @date 2017-08-23 14:12:34
*/
public class GoodsIssueEntity implements Serializable {
private static final long serialVersionUID = 1L;
//主键
private Integer... |
package com.revolsys.collection.iterator;
import java.util.Iterator;
import java.util.NoSuchElementException;
import com.revolsys.util.Cancellable;
public class CancelIterable<T> implements Iterator<T>, Iterable<T> {
public static <V> Iterable<V> i(final Cancellable cancellable, final Iterable<V> iterable) {
... |
package org.jeecg.modules.access.service.impl;
import org.jeecg.modules.access.entity.CePingChangSuoYiLanBiao;
import org.jeecg.modules.access.mapper.CePingChangSuoYiLanBiaoMapper;
import org.jeecg.modules.access.service.ICePingChangSuoYiLanBiaoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImp... |
package org.joy.util.messgae;
import java.text.MessageFormat;
import java.util.ResourceBundle;
public class Messages {
private static final String BUNDLE_NAME = "org.joy.util.messgae.messages";
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
publ... |
package cn.focus.eco.house.zipkin.brave;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.apache.http.impl.nio.client.HttpAsyncClientBuilder;
import org.apache.http.nio.... |
package com.xz.utils.appUtils;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import androidx.annotation.RequiresPermission;
import androidx.core.content.FileProvider;
import java.io.File;
/**
* 系统相关工具包
*/
public class SystemUtil {
/**
* 兼容... |
package com.bewitchment.common.block;
import com.bewitchment.Util;
import com.bewitchment.registry.ModObjects;
import com.bewitchment.registry.ModPotions;
import net.minecraft.block.Block;
import net.minecraft.block.BlockFire;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.Entity;
import net... |
package st.gravel.support.compiler.jvm;
/*
This file is automatically generated from typed smalltalk source. Do not edit by hand.
(C) AG5.com
*/
import java.math.BigInteger;
import st.gravel.support.jvm.NonLocalReturn;
import st.gravel.support.compiler.jvm.CastTo;
import st.gravel.support.compiler.jvm.CastTo.CastTo... |
package org.egov.swservice.web.models.users;
import java.util.List;
import org.egov.common.contract.response.ResponseInfo;
import org.egov.swservice.web.models.OwnerInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@... |
package com.google.android.gms.ads.rewarded;
public class ServerSideVerificationOptions {
/* renamed from: a */
private final String f19238a;
/* renamed from: b */
private final String f19239b;
public static final class Builder {
/* access modifiers changed from: private */
/* r... |
package com.braveyet.weathertest3.unity;
import com.braveyet.weathertest3.db.City;
import com.braveyet.weathertest3.db.County;
import com.braveyet.weathertest3.db.Province;
import com.braveyet.weathertest3.gson.Weather;
import com.google.gson.Gson;
import org.json.JSONArray;
import org.json.JSONException;
import org.... |
package Constructores;
public class EjemploC {
int n1,n2,result;
public EjemploC(int n1, int n2){
this.n1=n1;
this.n2=n2;
System.out.println("datos ingresados: " + "Primer Numero: "+this.n1 +" Segundo Numero: "+ this.n2);
}
public void multiplicacion(){
result = n1 *... |
package se.vidstige.jadb;
import se.vidstige.jadb.managers.Bash;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
public class JadbDevice {
@SuppressWarnings("squid:S00115")
public enum State {
Unknown,
Offline,
Device,
Recovery,
BootLoader,
... |
/*
* Copyright 2013-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package edu.pdx.cs410J.podili;
import edu.pdx.cs410J.ParserException;
import org.junit.Test;
import java.io.StringReader;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.containsString;
public class PhoneBillTextParserTest {
@Test
public void parseBill() throws Pars... |
package edu.harvard.mgh.lcs.sprout.study.model.transform;
import javax.persistence.*;
import java.io.Serializable;
import java.util.*;
@Entity
@Table(schema="dbo", name="narrative")
@NamedQueries({
@NamedQuery(name = NarrativeEntity.BY_INSTANCE_ID, query = "FROM NarrativeEntity WHERE instanceId = :instanceId"),
@Na... |
package com.shixincube.camerapicker.state;
import android.content.Context;
import android.view.Surface;
import android.view.SurfaceHolder;
import com.shixincube.camerapicker.CameraInterface;
import com.shixincube.camerapicker.view.CameraView;
public class CameraMachine implements State {
private Context context... |
package qea.monitoring.impl.translators;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import qea.exceptions.ShouldNotHappenException;
import qea.structure.impl.other.Verdict;
import qea.structure.intf.QEA;
public class DefaultTranslator extends OfflineTranslator {
public DefaultTranslat... |
/* Copyright Airship and Contributors */
package com.urbanairship.messagecenter;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
import com.urbanairship.AirshipCompon... |
/*
This file is part of the ZeroFusion MapleStory Server
Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
ZeroFusion organized by "RMZero213" <RMZero213@hotmail.com>
This program is free software: you can redistribute it and/or modify
it ... |
import java.util.*;
public class Table {
String tableName;
ArrayList<Record> alRecord;
ArrayList<Field> alField;
//=====================================================================
// Constructor for Table Class
//=====================================================================
public Table(ArrayLis... |
/*
* Copyright 2015-2020 The OpenZipkin 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 a... |
package io.github.emilyydev.samples.fabric.squirtgun;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType;
import me.lucyy.squirtgun.command.argument.GreedyStringArgument;
import me.lucyy.squirtgun.command.context.CommandContext;
import me.lucyy.squirtgun.command.nod... |
/*-
* #%L
* FXFileChooser
* %%
* Copyright (C) 2017 - 2021 Oliver Loeffler, Raumzeitfalle.net
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... |
package com.example.myapplication.adapters;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RatingBar;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import com.example.myapplication.R;
import com.example.myapplicat... |
package mobi.chouette.model;
/**
* Object reference to a concrete object.
*
* @param <T>
*/
public class SimpleObjectReference<T extends NeptuneIdentifiedObject> implements ObjectReference<T> {
private T object;
public SimpleObjectReference(T object) {
this.object = object;
}
@Override
public String getO... |
package io.dronefleet.mavlink.common;
import io.dronefleet.mavlink.annotations.MavlinkFieldInfo;
import io.dronefleet.mavlink.annotations.MavlinkMessageBuilder;
import io.dronefleet.mavlink.annotations.MavlinkMessageInfo;
import io.dronefleet.mavlink.util.EnumValue;
import java.lang.Enum;
import java.lang.Object;
impo... |
package io.quarkus.deployment.builditem.substrate;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Objects;
import org.jboss.jandex.MethodInfo;
import io.quarkus.builder.item.MultiBuildItem;
/**
* @deprecated Use {@link io.quarkus.deployment.builditem.nativeimage.ReflectiveMethodBuildIte... |
package com.googlecode.jsonrpc4j.spring;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.googlecode.jsonrpc4j.JsonRpcService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config... |
package ui.controller;
import bll.service.UserService;
import model.entity.User;
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.h... |
package com.omniprise.cim.model;
/*-
* #%L
* ERCOT CIM Processor
* %%
* Copyright (C) 2017 OmniPrise, 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.ap... |
/*
* 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 u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.