text stringlengths 3.08k 15.2k |
|---|
package com.searchbox.framework.service;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pa... |
package org.cipres.treebase.auxdata;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
import org.cipres.treebase.domain.TBPersistable;
import org.cipres.treebase.domain.matrix.Matrix;
import org.cipres.treebase.domain.matrix.MatrixKind;
import org.cipres.treebase.domain.matrix.MatrixServi... |
package org.chargecar.algodev.policies;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import org.chargecar... |
package com.bitwig.extensions.controllers.nativeinstruments.maschine;
import java.util.HashMap;
import java.util.Map;
import com.bitwig.extension.controller.api.SettableColorValue;
public class NIColorUtil {
private static final Hsb BLACK_HSB = new Hsb(0, 0, 0);
private static final Map<Integer, Integer> fixedCol... |
package org.scec.vtk.plugins.EarthquakeCatalogPlugin.Components;
import java.io.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import org.scec.vtk.plugins.EarthquakeCatalogPlugin.EarthquakeCatalogPlugin;
import org.scec.vtk.tools.Prefs;
/**
* This class maintains the list of ... |
/*
* Copyright 2017 <NAME> <<EMAIL>>.
*
* 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 agr... |
/*
* 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 com.ppcrong.bletoolbox.ble;
import android.bluetooth.BluetoothGattCharacteristic;
import android.os.Bundle;
import android.view.WindowManager;
import android.widget.Switch;
import android.widget.TextView;
import com.ppcrong.bletoolbox.R;
import com.ppcrong.bletoolbox.base.ProfileBaseActivity;
import com.ppcro... |
package com.br.distanceCities.core;
import java.math.BigDecimal;
import com.br.distanceCities.enums.Unit;
import com.br.distanceCities.exception.DistanceException;
import com.br.distanceCities.exception.VincentyException;
import com.br.distanceCities.model.City;
import com.br.distanceCities.model.Distance;
public cl... |
package com.ringcentral.platform.metrics.names;
import org.junit.Test;
import static com.ringcentral.platform.metrics.names.MetricName.*;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.*;
public class MetricNameTest {
@Test
pub... |
/*捂脸猫FaceCat框架 v1.0
1.创始人-矿洞程序员-上海宁米科技创始人-脉脉KOL-陶德 (微信号:suade1984);
2.联合创始人-上海宁米科技创始人-袁立涛(微信号:wx627378127);
3.联合创始人-河北思尔企业管理咨询有限公司合伙人-肖添龙(微信号:xiaotianlong_luu);
4.联合开发者-陈晓阳(微信号:chenxiaoyangzxy),助理-朱炜(微信号:cnnic_zhu);
5.该框架开源协议为BSD,欢迎对我们的创业活动进行各种支持,欢迎更多开发者加入。
包含C/C++,Java,C#,iOS,MacOS,Linux六个版本的图形和通讯服务框架。
*/
packa... |
package bpi2015;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.opencsv.CSVWriter;
import bpi2015.model.Activity;
import bpi2015.model.Case;
public class Statistics {
private DataSet ds;
public... |
package JavaBoy.cpu.instructions;
import JavaBoy.cpu.CPU;
import JavaBoy.cpu.REGISTERS;
import JavaBoy.cpu.flags.FLAGS;
import JavaBoy.cpu.registers.RegisterPairs;
import static JavaBoy.utils.ArithmeticUtils.*;
public class Add implements Instruction {
@Override
public boolean execute(int opcode, CPU cpu) ... |
/*
* Copyright (c) 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, dis... |
/*
* Copyright 2021 YANDEX LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package com.yit.deploy.core.info;
import com.yit.deploy.core.config.DeployConfig;
import com.yit.deploy.core.exceptions.IllegalConfigException;
import com.yit.deploy.core.model.*;
import com.yit.deploy.core.records.*;
import java.util.*;
/**
* a collection of the deploy info models,
* used both for collecting info... |
/*
* Copyright 2014 <NAME>
*
* 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 wr... |
package com.vistaridge.inventory.entities;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "inventory_ledger_quantity")
public class InventoryLe... |
package com.twitter.common.base;
import java.io.IOException;
import java.net.MalformedURLException;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Iterables;
import org.junit.Test;
import com.twitter.common.base.Either.Transformer;
import com.twitter.common.base.Either.UnguardedExc... |
/*
* File: HangmanCanvas.java
* ------------------------
* Copyright @<NAME> and <NAME>
* --------------------------------------------------
* This file keeps track of the Hangman display.
*/
import acm.graphics.*;
public class HangmanCanvas extends GCanvas {
private int heightRef;
private int widthRef;
p... |
package org.jabref.gui.importer;
import java.util.List;
import java.util.Optional;
import javax.swing.undo.UndoManager;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import org.jabref... |
/*
* Copyright © 2015 <NAME>, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL") (colle... |
package com.dreamlab.edgefs.misc;
public final class Constants {
public static final String IP = "192.168.1.0";
public static final String PORT = "9019";
public static final String CONF_PATH = "./cluster.conf";
// public static final String CONF_PATH = "./cluster.conf";
// public static final String CONF_PATH = "./... |
package com.n3rditorium.pocketdoggie.persistence;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
import de.greenrobot.dao.AbstractDao;
import de.greenrobot.dao.Property;
import de.greenrobot.dao.internal.DaoConfig;
import com.n3rditorium... |
package mse.ch.tsm_mobop_app.cart;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.design.widget... |
/*
Calimero - A library for KNX network access
Copyright (C) 2006-2008 <NAME>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at yo... |
/*
* Copyright 2010 TimeSheet 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 ag... |
/*
* eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency,
* accountability and the service delivery of the government organizations.
*
* Copyright (C) 2018 eGovernments Foundation
*
* The updated version of eGov suite of products as by eGovernments Foundation
* ... |
/*
* This is the source code of Telegram for Android v. 1.3.2.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright <NAME>, 2013.
*/
package com.yahala.ui;
import android.animation.Animator;
import android.app.Activity;
impor... |
/*
Copyright (c) 2013, Groupon, 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 conditions and the following disc... |
/*
* Copyright 2011-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... |
/*
* Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) 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
*
* Un... |
/*
* Tencent is pleased to support the open source community by making Angel available.
*
* Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. 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. ... |
package priv.jesse.mall.web.admin;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.R... |
/*******************************************************************************
* Copyright 2015-2018 Capgemini SE.
*
* 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://... |
package com.zj.android.simpdialog.dialog;
import android.app.Activity;
import android.app.Dialog;
import android.content.res.ColorStateList;
import android.graphics.Typeface;
import androidx.annotation.ColorInt;
import androidx.annotation.ColorRes;
import androidx.annotation.DimenRes;
import androidx.annotation.Layout... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengles;
import org.lwjgl.system.*;
/**
* Native bindings to the <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/NV/NV_mesh_shader.txt"... |
package com.utm.workattendance.entity;
import com.utm.basic.entity.AbstractEntity;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.util.Collection;
@Entity
@Table(name = "student", schema = "", catalog = "workattendance")
public class StudentEntity extends AbstractEntity{
... |
/*
* 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.judal.storage;
/**
* This file is licensed under the Apache License version 2.0.
* 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... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are su... |
package main;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.scene.control.TextField;
import javafx.scene.control.ToggleGroup;
import javafx.scene.control.Toggle;
import javafx.scene.control.CheckBox;
import javafx.scene.control.RadioButton;
import javafx.scen... |
package neko.cosmetic.renderer;
import neko.cosmetic.Cosmetic;
import neko.cosmetic.CosmeticModelBase;
import neko.cosmetic.CosmeticTextures;
import neko.cosmetic.CosmeticUser;
import neko.main.Neko;
import net.minecraft.client.entity.AbstractClientPlayer;
import net.minecraft.client.model.ModelRenderer;
import net.mi... |
package com.cyberlink.cosmetic.action.api.event;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import net.sourceforge.stripes.action.DefaultHandler;
import net.sourceforge.stripes.action.Resolution;
import net.sourceforge.stripes.action.UrlBin... |
package com.study.shy.pipi.bean;
import java.util.List;
public class CategoryInfo {
/**
* categoryInfo : {"dataType":"CategoryInfo","id":36,"name":"生活","description":"匠心、健康、生活感悟","headerImage":"http://img.kaiyanapp.com/a1a1bf7ed3ac906ee4e8925218dd9fbe.png","actionUrl":"eyepetizer://category/36/?title=%E7%94... |
package dominatingset;
import static org.junit.Assert.*;
import java.util.Iterator;
import org.junit.Before;
import org.junit.Test;
import graph.CapGraph;
// @author <NAME>
public class GreedyAlgorithmJUnitTester {
private CapGraph graphNull, graphEmpty, graph1Node, graph1Node1Edge, graph2Node;
priva... |
package com.example.admin.VideoDecoding;
import android.graphics.Bitmap;
import android.os.AsyncTask;
import android.util.Log;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.logging.Level;
import java.util.logging.Logger;
import ... |
package de.dagere.peassEvaluation;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.Callable;
import org.apache.co... |
/***************************************************************************
* MIT License *
* Copyright (c) 2018 <NAME> *
* *
* Permission is h... |
package com.codepath.apps.simpletweets.fragments;
import android.app.Activity;
import android.graphics.Color;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresApi;
import android.support.v4.app.DialogFragmen... |
package com.foodie.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.text.TextUt... |
/*
* Entreri, an entity-component framework in Java
*
* Copyright (c) 2014, <NAME>
* 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 a... |
/*-
* ========================LICENSE_START=================================
* Smartconfig Maven Plugin
* *
* Copyright (C) 2016 BruceZhang
* *
* 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 ... |
/*
* Copyright (c) 2013-2021 Cinchapi 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 agr... |
/*-
* Copyright (c) 2014-2020 Red Hat, 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 o... |
/*
* 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 ... |
import java.security.acl.Group;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import genius.core.bidding.BidDetails;
import genius.core.boaframework.BOAparameter;
import genius.core.boaframework.NegotiationSession;
import genius.core.boaframework.NoModel;
import genius.core.boaframework.OMStrat... |
/*
* Copyright (c) 2020, 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 rs.lukaj.upisstats.scraper.download;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import rs.lukaj.upisstats.scraper.Main;
import rs.lukaj.upisstats.scraper.download.UceniciManager.UcData;
import java.io.IOException;
import java.net.Soc... |
package com.client.rokarr.activity;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import com.android.... |
package mindustry.graphics;
import arc.*;
import arc.struct.*;
import arc.graphics.*;
import arc.graphics.Pixmap.*;
import arc.graphics.g2d.*;
import arc.math.*;
import arc.math.geom.*;
import arc.scene.ui.layout.*;
import arc.util.*;
import arc.util.ArcAnnotate.*;
import arc.util.pooling.*;
import mindustry.entities.... |
package co.yixiang.utils;
import org.icepdf.core.pobjects.Document;
import org.icepdf.core.util.GraphicsRenderingHints;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.awt.image.RenderedImage;
import java.io.*;
import java.net... |
package br.com.gestao.services;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import javax.servlet.http.Part;
import com.fasterxml.... |
package org.apache.maven.scm.provider.svn.svnexe.command.branch;
/*
* 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 ... |
/*
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://duracloud.org/license/
*/
package org.duracloud.account.monitor;
import static org.duracloud.account.monitor.MonitorsDriver.Mo... |
package tfc.smallerunits.utils.world.common;
import it.unimi.dsi.fastutil.objects.ObjectArraySet;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.fluid.Fluid;
imp... |
/*
* This file is part of the PSL software.
* Copyright 2011-2015 University of Maryland
* Copyright 2013-2017 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... |
/*
Copyright 2008-2010 Gephi
Authors : <NAME> <<EMAIL>>
Website : http://www.gephi.org
This file is part of Gephi.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 2011 Gephi Consortium. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Ve... |
/*
* Copyright 2002-2004 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 re... |
package main.client.view;
import main.client.view.ExpressiveComponents.EyeComponents.LeftEye;
import main.client.view.ExpressiveComponents.EyeComponents.LeftEyeLash;
import main.client.view.ExpressiveComponents.EyeComponents.RightEye;
import main.client.view.ExpressiveComponents.EyeComponents.RightEyeLash;
import main... |
/******************************************************************************
* Compilation: javac BTree.java
* Execution: java BTree
* Dependencies: StdOut.java
*
* B-tree.
*
* Limitations
* -----------
* - Assumes M is even and M >= 4
* - should b be an array of children or list (it would ... |
package org.gusdb.wdk.model.user;
import static org.gusdb.fgputil.FormatUtil.NL;
import static org.gusdb.fgputil.FormatUtil.TAB;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Collections;
import java.util.LinkedHashMap;
import ja... |
/*
* Copyright (C) 2016 <NAME>
*
* 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 ... |
/*-
* Copyright (C) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle Berkeley
* DB Java Edition made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
*
* Please ... |
/*
* Copyright 2014 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 a... |
package limelight.ui.ninepatch;
import limelight.ui.model.Drawable;
import limelight.util.Box;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.awt.image.Raster;
public class NinePatch implements Drawable
{
private BufferedImage image = null;
private Info info;
private NinePatch(BufferedIma... |
/*
* Copyright 2011 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* Klarna Order Managment API
* API to handle order lifecycle
*
* OpenAPI spec version: 1.0
* Contact: <EMAIL>
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.klarna.rest.api... |
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
package market.world;
import market.traders.*;
import market.assets.*;
import market.assets.marketIndex.*;
import market.markets.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Random;
import market.entityCreator.*;
import market.entityCreator.SemiRandomValuesGenerator;
import market.gui... |
package Gestion;
import java.awt.BorderLayout;
import java.sql.*;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JScrollPane;
import javax.swing.border.MatteBorder;
import java.awt.Color;
import javax.swing.JL... |
package com.gym.agelockscan.utils;
import android.util.Log;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import com.gym.APP;
/**
* 带日志文件输入的,又可控开关的日志调试
*
* @author
... |
package seaweed.hdfs;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.HttpClientBuilder;
import seaweedfs.client.FilerGrpcClient;
import seaweedfs.client.FilerProto;
impo... |
package com.company;
public class Part3 {
private MySpecialLinkedList head;
private MySpecialLinkedList current[];
private MySpecialLinkedList last[]; //for nextInSameSemester()
private MySpecialLinkedList first[];//for nextInSameSemester()
private int size;
public class MySpecialLink... |
/**
* jsdp: A Java Stochastic Dynamic Programming Library
*
* MIT License
*
* Copyright (c) 2016 <NAME>
*
* 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, inc... |
/*
* Cribl LogStream
* REST API Reference of available endpoints and their supported operations for accessing, updating, creating, or deleting resources. Product documentation available at [docs.cribl.io](http://docs.cribl.io).
*
* OpenAPI spec version: 3.1.2-abb571bc
* Contact: <EMAIL>
*
* NOTE: This class is a... |
package demo.account;
import demo.event.AccountEvent;
import demo.event.AccountEventType;
import demo.event.EventService;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cac... |
/*******************************************************************************
* Copyright (c) 2021 <NAME>
*
* 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://... |
import java.io.*; // Import the File class
import java.util.*; // Import the Scanner class to read text files
class compSciList {
public void compSciClassList() {
try{
File compSciFile = new File("COMP_SCI_CLASS_LIST.txt");
Scanner compSciClassReader = new Scanner(compSciFile);
while (compSciC... |
package net.lvtushiguang.trip.adapter;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
import android.widget.TextView;
impo... |
/**
* Copyright 2015-2016 Maven Source Dependencies
* Plugin contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... |
package org.motechproject.tasks.service;
import com.google.common.collect.Multimap;
import org.motechproject.commons.api.MotechException;
import org.motechproject.event.MotechEvent;
import org.motechproject.event.listener.EventRelay;
import org.motechproject.tasks.domain.ActionEvent;
import org.motechproject.tasks.dom... |
package com.example.floatingwindow.service;
import android.app.Service;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PixelFormat;
import android.os.Binder;
import android.os.Build;
import android.os.Handler;
import android.os.IBinder;
import android.os.Message;
import android.s... |
/*
* @(#)$Id$
*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2001-2003 The Apache Software Foundation. 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. Redi... |
import java.util.*;
class WeightedNode implements Comparable<WeightedNode> {
public String name;
private ArrayList<WeightedNode> neighbors = new ArrayList<WeightedNode>();
private HashMap<WeightedNode, Integer> weightMap = new HashMap<>();
private boolean isVisited = false;
private WeightedNode parent;
private i... |
package io.extact.rms.platform.extension;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
import javax.enterprise.context.ApplicationScoped;
... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2011, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* T... |
/*
* Copyright 2005 MH-Software-Entwicklung. All rights reserved.
* Use is subject to license terms.
*/
package com.jtattoo.plaf.mcwin;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.plaf.*;
import com.jtattoo.plaf.*;
/**
* @author <NAME>
*/
public class McWinBorders ex... |
package net.minecraft.server;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.JsonSyntaxException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.net.URI;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.