text stringlengths 7 995k |
|---|
package com.folio_sec.example.domain.simplebank;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.*;
import java.io.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gs.fw.common.mithra.*;
import com.gs.fw.common.mithra.attribute.*;
import com.gs.fw.common.mithra.util.*;
imp... |
package SimpleLinkedListApp;
public class Link {
public int iData; //Data item (key)
public double dData; // data item
public Link next; // next Link in list
//----------------------------------------------------------------
public Link(int id,double dd){
iData=id; ... |
/*
* Copyright 2019 Web3 Labs LTD.
*
* 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 w... |
package com.github.crob1140.confluence.content.expand;
import com.github.crob1140.confluence.content.Content;
import com.github.crob1140.confluence.content.ContentBodyType;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* This class represents the properties that can be expanded in... |
package cn.jia.workflow.service;
import cn.jia.workflow.entity.DeploymentExample;
import cn.jia.workflow.entity.ProcessDefinitionExample;
import cn.jia.workflow.entity.ProcessInstanceExample;
import cn.jia.workflow.entity.TaskExample;
import com.github.pagehelper.Page;
import org.camunda.bpm.engine.history.HistoricPro... |
/*
* Copyright 2014-2019 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... |
/*
* Copyright (c) 2005, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.test.jdbc3;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.p... |
package com.aliyun.tauris.plugins.input;
import com.aliyun.tauris.DecodeException;
import com.aliyun.tauris.annotations.Name;
import com.aliyun.tauris.annotations.Required;
import com.aliyun.tauris.metric.Gauge;
import com.aliyun.tauris.plugins.codec.PatternScanner;
import com.aliyun.tauris.TScanner;
import com.aliyun... |
package io.github.codemumbler.banking;
import java.util.ArrayList;
import java.util.List;
class Transactions {
private final List<Amount> amounts = new ArrayList<>();
double balance() {
double balance = 0d;
for (Amount amount : amounts) {
balance += amount.value();
}
return balance;
}
... |
package io.quarkus.micrometer.runtime;
import java.util.concurrent.CompletableFuture;
import javax.inject.Inject;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;
import io.micrometer.core.in... |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.Out... |
/******************************************************************
* File: Action.java
* Created by: Dave Reynolds
* Created on: 18 Apr 2014
*
* (c) Copyright 2014, Epimorphics Limited
*
*****************************************************************/
package com.epimorphics.appbase.tasks;
import... |
/*
* Copyright 2000-2009 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 net.minecraft.client.gui;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.util.MathHelper;
import org.lwjgl.input.Mouse;
public abstract class ... |
package fr.adrienbrault.idea.symfony2plugin.stubs;
import com.intellij.openapi.extensions.ExtensionPointName;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.Key;
import com.intellij.psi.search.GlobalSearchScope;
import com.intellij.psi.util.CachedValue;
import com.intellij.util.indexing.... |
package it.register.edu.graphql.exception;
public class ObjectNotFoundException extends RuntimeException {
public ObjectNotFoundException(String message, int objectId) {
super(message + " " + objectId);
}
public ObjectNotFoundException(String message, String objectId) {
super(message + " " + objectId);... |
package gov.noaa.pmel.tmap.las.client.laswidget;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.CheckBox;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
... |
/**
* 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... |
package com.runabove.model.instance;
import com.runabove.model.image.Image;
import com.runabove.model.ssh.SSHKeyPair;
/*
* Copyright (c) 2014, OVH
* 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 th... |
package com.example.srmurguia.myapplication;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.lay... |
package org.lcsim.geometry;
/**
*
* @author tonyj
*/
public interface Tracker extends Subdetector
{
} |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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.fernandaochoa.ejercicios;
import java.util.Date;
/* Manager19.java
Instituto Tecnológico de León
Ingeniería en Sistemas Computacionales
Programación Orientada a Objetos
Horario: Mar y Jue 7:00 - 8:45
Vie 7:50 - 8:40
Nombre de la alumna: Guzmán Hernández, Francisco
Ibarra Muñoz... |
/*
* Copyright 2012-2015 org.opencloudb.
*
* 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... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/*
* Copyright 2008 Hippo.
*
* 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... |
package com.findwise.hydra.stage;
import ch.qos.logback.classic.Level;
import com.findwise.hydra.Logging;
import com.findwise.hydra.local.LocalDocument;
import com.findwise.hydra.local.LocalDocumentID;
import com.findwise.hydra.local.RemotePipeline;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test... |
package com.simibubi.create.content.contraptions.components.crafter;
import static com.simibubi.create.content.contraptions.base.HorizontalKineticBlock.HORIZONTAL_FACING;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Map.Entry;
import org.apache.commons.lang3.tuple.... |
package demo_interface_inheritance;
public interface Eat {
void eat();
} |
/* All Contributors (C) 2020 */
package io.github.dreamylost;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
/**
* 给定一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组。
*
* <p>不可以包含重复的三元组
*
* @author 梦境迷离
* @time 2018-0... |
public class Islander {
public int figureGrowers = 0;
public String cyprusMoniker = null;
public Islander(String cypriotForename, int listHusbandman) {
this.cyprusMoniker = cypriotForename;
this.figureGrowers = listHusbandman;
}
public synchronized void inaugurate() {
for (int i = 0; i < figure... |
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to Y... |
package module820packageJava0;
import java.lang.Integer;
public class Foo271 {
Integer int0;
Integer int1;
Integer int2;
public void foo0() {
new module820packageJava0.Foo270().foo9();
}
public void foo1() {
foo0();
}
public void foo2() {
foo1();
}
public void foo3() {
foo2()... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
/*
* Copyright (c) 2010-2013 Evolveum and contributors
*
* This work is dual-licensed under the Apache License 2.0
* and European Union Public License. See LICENSE file for details.
*/
package com.evolveum.midpoint.prism.path;
import javax.xml.namespace.QName;
import com.evolveum.midpoint.util.DebugUtil;
import ... |
package com.ebs.common.jdbcspy;
import java.sql.Array;
import java.sql.Blob;
import java.sql.CallableStatement;
import java.sql.Clob;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.NClob;
import java.sql.PreparedStatement;
import java.sql.SQLClientInfoException;
import java.sql.SQLExcept... |
package br.com.mobiclub.quantoprima.service.authenticator;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import static android.accounts.AccountManager.ACTION_AUTHENTICATOR_INTENT;
/**
* Authenticator service that returns a subclass of AbstractAccountAuthenticator in onBind().... |
/*
* Copyright (c) 2021 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/* Copyright 2015 Esri
*
* 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, softw... |
package io.github.darealturtywurty.turtybot.util.math;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import javax.annotation.Nullable;
public class WeightedRandomBag<T extends Object> {
private final List<Entry> entries = new ArrayList<>();
private double accumulatedWeight;
... |
/*
* Copyright 2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* Copyright 2016-2018 shardingsphere.io.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* 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 adapter;
import interfaces.IListas;
/**
*
* @author vovomint
*/
public class AdapterLista implements IListas{
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 com.pocketsoap.salesforce.rest.user;
/**
* Represents user attributes
* @author nlipke-sfdc
*
*/
public class Atrributes {
private String type;
private String url;
/**
* Get the record type
* @return <code>"User"</code>
*/
public String getType() {
return type;
}
/**
* Get the URL (not in... |
package getImg;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import util.HtmlUtil;
import util.IntegerUtil;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
public class TestThread1 {
/**
*
*/
pri... |
/**
* The <tt> Command </tt> class is really just a tuple class.
* The only thing of intrest is that this Object contains a
* callback that mutates the current list of records.
**/
import java.util.function.*;
public class Command {
private char selectionChar;
private String helpMsg;
private Consumer<OL... |
package oasis.names.tc.legalxml_courtfiling.wsdl.webservicesprofile_definitions_4;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import oasis.names.tc.legalxml_courtfiling.schema.x... |
package com.abhinav.qcards;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Iterator;
import android.app.Activity;
import android.content.Context;
import android.content.res.... |
/*
Copyright 2020 The Kubernetes 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 agreed to in writing, softwar... |
package es.uniovi.asw.model;
import java.util.Date;
public class Votado {
private Long idVotacion;
private Long idVotante;
private Date haVotado;
public Date getHaVotado() {
return haVotado;
}
public void setHaVotado(Date haVotado) {
this.haVotado = haVotado;
}
public Votado(){
haVotado = new Date()... |
package github.cweijan.ultimate.test.code;
public enum AdminTypeEnum {
admin,
user
} |
package com.houseofkraft.util;
import com.github.tomaslanger.chalk.*;
import com.houseofkraft.exception.InvalidLevelException;
import java.io.FileWriter;
import java.io.IOException;
public class Logger {
public String fileLocation = null;
public boolean fileSaving = false, debug = false;
private FileWrit... |
package com.messagebird.exceptions;
/**
* Thrown if an error occurs during request signing.
*/
public class RequestValidationException extends RuntimeException {
public RequestValidationException() {
}
public RequestValidationException(String message) {
super(message);
}
public Request... |
package com.diozero.internal.spi;
/*
* #%L
* Organisation: diozero
* Project: Device I/O Zero - Core
* Filename: AbstractDeviceFactory.java
*
* This file is part of the diozero project. More information about this project
* can be found at http://www.diozero.com/
* %%
* Copyright (C) 2016 - 2021 d... |
package online.advertisement.system.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import online.advertisement.system.model.AppUser;
import online.advertisement.system.repository.AppUserRepo... |
/*
* Copyright 2009-2013 by The Regents of the University of California
* 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 from
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... |
/**
* Copyright 2018 Jochen Wiedmann
*
* 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 br.com.green.greenpm.batch.item;
/**
*
* @author Adail Carvalho
*
* @since 2018-05-07
*
*/
public class UserItemInput {
private Long id;
private String username;
private String dscUsername;
private String password;
private String flgIsAdmin;
private... |
/*
* Copyright 2017-present Facebook, 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... |
package com.planet_ink.coffee_mud.Races;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.c... |
package eu.dnetlib.iis.core.examples.javamapreduce;
import java.io.IOException;
import org.apache.avro.mapred.AvroKey;
import org.apache.avro.mapred.AvroValue;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;
import eu.dnetlib.iis.common.javamapreduce.MultipleOutputs;
import eu.d... |
package com.modastylz.api.gateway.routes;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class RouteConfiguration implements Iterable<RouteConfigurator> {
private final Iterator<RouteConfigurator> internalIterator;
@Override
public Iterator<RouteConfigurator> iterat... |
package mekanism.common.inventory.container;
import javax.annotation.Nonnull;
import mekanism.common.inventory.slot.SlotEnergy.SlotDischarge;
import mekanism.common.inventory.slot.SlotOutput;
import mekanism.common.recipe.inputs.AdvancedMachineInput;
import mekanism.common.recipe.machines.AdvancedMachineRecipe;
import... |
/*
* Copyright 2000-2014 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 io.example.springsecuritydemo.models;
import java.util.Collection;
import java.util.Collections;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;
public class... |
/*
* Integrated Rule Inference System (IRIS):
* An extensible rule inference system for datalog with extensions.
*
* Copyright (C) 2009 Semantic Technology Institute (STI) Innsbruck,
* University of Innsbruck, Technikerstrasse 21a, 6020 Innsbruck, Austria.
*
* This library is free software; you can redistribu... |
package com.gmall.beans;
import lombok.Data;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class OmsCartItem implements Serializable{
@Id
private String id;
private String productId;
private String productSkuId;
private... |
package com.dio.desafio.dominio;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import java.util.LinkedHashSet;
import java.util.Optional;
import java.util.Set;
@Getter
@Setter
@EqualsAndHashCode
public class Dev implements IDev{
private String nome;
private Set<Conteudo> conte... |
/*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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 com.x.organization.core.entity;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax... |
package es.upm.miw.apaw_practice.adapters.mongodb.filmforum.persistence;
import es.upm.miw.apaw_practice.adapters.mongodb.filmforum.daos.FilmCommentRepository;
import es.upm.miw.apaw_practice.adapters.mongodb.filmforum.entities.FilmCommentEntity;
import es.upm.miw.apaw_practice.adapters.mongodb.filmforum.entities.Film... |
package me.bokov.tasks.modules.authentication;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.spi.CDI;
import javax.resource.spi.AuthenticationMechanism;
import javax.security.enterprise.AuthenticationException;
import javax.security.enterprise.AuthenticationStatus;
import javax.secu... |
/*
* GridMedianOperator.java
*
* Created on February 14, 2006, 9:05 PM
*
*/
package ika.geo.grid;
/**
*
* @author Bernhard Jenny, Institute of Cartography, ETH Zurich.
*/
public class GridMedianOperator extends GridPercentileFilterOperator{
/** Creates a new instance of GridMedianOperator */
publi... |
/*
* Copyright (C) 2017 Jeremy Apthorp
*
* Licensed either under the Apache License, Version 2.0, or (at your option)
* under the terms of the GNU General Public License as published by
* the Free Software Foundation (subject to the "Classpath" exception),
* either version 2, or any later version (collectively, t... |
package cp6;
public class ClassTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
String s = new String();
s="abcdefABCDEF";
int c =s.length();
System.out.println(c);
String s2 = s.substring(c-1);
System.out.println(s2);
}
} |
package org.tdl.vireo.state.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.junit.Test;
import org.tdl.vireo.model.MockEmbargoType;
import org.tdl.vireo.model.MockSubmission;
import org.tdl.vireo.state.State;
import play.modules.spring.Spring;
import play.test.UnitTest;
/**... |
/*
* 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 2013-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
/* Soot - a J*va Optimization Framework
* Copyright (C) 2004 Jennifer Lhotak
*
* 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 the License, or (at your optio... |
package org.fernanortega.pidoorbell.androidapp;
import android.annotation.SuppressLint;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import com.android.volley.Request... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DeviceInterfaceModule;
import java.util.concurrent.locks.Lock;
/**
* This is a custom made program by Team 9915 to change the Modern Robotics Color Sensor I2C Address.
* <p>MR ... |
package fr.umlv.ditto.graphs;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Objects;
import java.util.function.Consumer;
public class AdjGraph implements Graph {
private final ArrayList<LinkedList<Edge>> adj;
private final int nodes; // number of nodes
priva... |
package io.github.moulberry.notenoughupdates.miscfeatures;
import com.google.common.collect.Lists;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import io.github.moulberry.notenoughupdates.NotEnoughUpdates;
import io.github.moulberry.notenoughupdates.core.conf... |
/**
* 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-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
/*
* Copyright 2012-2017 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 com.github.goblinbr.bchscanner;
import java.io.IOException;
import java.util.List;
import java.util.Set;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import com.github.goblinbr.bchscanner.JavaScanner;
import com.github.goblinbr.bchscanner.call.Cal... |
import Generator.GenerateTemplate;
import Reader.PropertiesReader;
import ThreadControl.ThreadControl;
import ThreadControl.ThreadTask;
public class Main {
public static void main(String[] args) {
long start = System.currentTimeMillis();
PropertiesReader propertiesReader = new PropertiesReader(... |
/*
* 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.wangwenjun.concurrent.classloader.chapter1;
/***************************************
* @author:Alex Wang
* @Date:2017/4/1 QQ:532500648
* QQ交流群:286081824
***************************************/
public class Singleton {
private static Singleton instance = new Singleton();
public static int x =... |
package de.szalkowski.activitylauncher;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.TextView;
public class RecentTaskListAdapter extends ArrayAdap... |
package com.test.mybatis.dao;
import java.util.List;
import org.apache.ibatis.session.SqlSession;
import com.test.mybatis.mapper.PeopleMapper;
import com.test.mybatis.modul.People;
import com.test.mybatis.util.SqlSessionUtil;
public class PeopleDao extends SqlSessionUtil implements PeopleMapper {
private SqlSessio... |
package ru.nsu.likhachev.network.filetransfer;
import ru.nsu.likhachev.network.filetransfer.messages.SMessageFileDataStatus;
import ru.nsu.likhachev.network.filetransfer.messages.SMessageFileMetadataStatus;
/**
* Server-sent messages listener interface
*
* Copyright (c) 2016 Alexander Likhachev.
*/
public interf... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.l.
*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.search.documents;
import java.util.Objects;
/**
* Represents a geometric bounding box.
*/
public final class GeometryBoundingBox {
private final double west;
private final double south;
pri... |
package android.support.v7.view.menu;
// compiled from: MenuView.java
public interface n {
// compiled from: MenuView.java
public static interface a {
void a(h hVar);
boolean a();
h getItemData();
}
void a(f fVar);
} |
package com.sc.sqlserverdemo;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
/**
* Created by Admin on 2019/6/10.
*/
public class DBBean {
Connection con = null;
Statement stat = null;
PreparedStatement... |
package com.zftlive.android.library.third.universalimageloader;
/**
* 当前包为universal-image-loader-1.9.3.jar的源代码
* https://github.com/nostra13/Android-Universal-Image-Loader
*/
public class PackageInfo {
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.