text stringlengths 3.08k 15.2k |
|---|
/**
* Copyright (c) 2013, <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 above copyright
* notice, this list of conditio... |
/**
* This file is a part of sunlight project
* Copyright (c) $today.year sunlight authors (see file `COPYRIGHT` for the license)
*/
package com.ghisguth.gfx;
public class GeometryHelper {
private static final float[] quadVerticesArray = {
// X, Y, Z, U, V
1.0f, 0.0f, 0.0f, 1.0f, 0.0f,... |
// System.java - System-specific info.
/* Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
package java.lang;
import java.io.Fil... |
package com.martincarney.model.structure;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Random;
import com.martincarney.model.World... |
// Copyright 2000-2021 Nokia
//
// Licensed under the Apache License 2.0
// SPDX-License-Identifier: Apache-2.0
//
package com.alcatel.as.util.metering2.reporter.codahale.impl;
import java.util.Dictionary;
import java.util.Hashtable;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import org.osg... |
package util.settings;
import gui.forms.GUIMain;
import irc.Donor;
import irc.message.Message;
import irc.message.MessageQueue;
import lib.JSON.JSONArray;
import lib.JSON.JSONObject;
import util.Response;
import util.misc.Donation;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
... |
package io.cubyz.ndt;
import java.util.AbstractList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import io.cubyz.Constants;
import io.cubyz.math.Bits;
@Deprecated
public class NDTContainer extends NDTTag implements Iterable<NDTTag> {
HashMap<String, NDTTag> tag... |
// Copyright 2018 North Dakota State University
//
// 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 com.nickrobison.trestle.gaulintegrator;
import com.esri.io.PolygonFeatureWritable;
import com.nickrobison.trestle.common.DateFieldUtils;
import com.nickrobison.trestle.datasets.GAULObject;
import org.apache.hadoop.io.*;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import ja... |
package client;
import java.util.List;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.TimeUnit;
import org.apache.log4j.Logger;
import org.influxdb.InfluxDB;
import org.influxdb.dto.Point;
import org.influxdb.dto.Point.Builder;
import org.influxdb.dto.Query;
import org.influxdb.dto.Qu... |
package com.zwy.ts.contentproviderdemo;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.database.ContentObserver;
import android.database.Cursor;
import android.net.Uri;
import android.os.Handler;
import android.os.Message;
import android.os.Bun... |
package net.minecraft.world.level.block.state.pattern;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.MoreObjects;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache;
import java.util.Iterator;
impo... |
// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2006 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Ad... |
/*
Interval model for simulators.
Intervals and shapes are fixed for all series from a given class
Shapes differ between models. Shapes are randomised at construction, but and so
the calling class must make sure they are different between classes with calls to
randomiseShape.
Intervals are set externally by t... |
package com.siegetechnologies.cqf.core._v01.experiment.execution.result.zip;
/*-
* #%L
* cqf-ce-core
* %%
* Copyright (C) 2009 - 2017 Siege Technologies, 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 obtai... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
package vnmr.bo;
import java.awt.*;
import java.util.*;
import java.awt.ev... |
package backend.simboard;
import backend.disease.Disease;
import lib.CustomColor;
import java.awt.*;
public class SimBoardQuarOcto extends SimBoardOcto implements Quarantinable {
private Rectangle quarantine;
private int width, height, xShift, yShift, x2Origin, y2Origin, x3Origin, x4Origin, quarXOrigin, qua... |
package TaoProxy;
import java.nio.channels.AsynchronousChannelGroup;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import Configuration.TaoConfigs;
import Messages.ClientRequest;
import Messages.MessageCreat... |
package ellus.ESM.pinnable.SS;
import java.awt.Color;
import java.awt.Font;
import ellus.ESM.ESMW.ESMPD;
import ellus.ESM.ESMW.ESMPS;
import ellus.ESM.pinnable.pinSS;
import ellus.ESM.pinnable.Able.AblePanelTitle;
import ellus.ESM.pinnable.Able.AbleSMXConfig;
import ellus.ESM.setting.SCon;
import ellus.ESM.setting.SMa... |
package com.levelup.palabre.flickrforpalabre;
import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.levelup.palabre.api.datamapping.Category;
import com.levelup.pal... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2012 Oracle and/or its affiliates. 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("CD... |
package net.minecraft.client.gui;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.resources.I18n;
import net.minecraft.client.settings.GameSettings;
import java.util.ArrayList;
import java.util.Iterator;
import... |
package au.com.flexera.codingtest;
import java.lang.reflect.Array;
import java.util.*;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.LineIterator;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.ut... |
package com.kar.transferup.contacts;
import android.text.TextUtils;
import android.util.Log;
import org.json.JSONException;
import org.json.JSONObject;
/**
* Created by praveenp on 09-01-2017.
*/
public class RawContact {
private static final String TAG = RawContact.class.getSimpleName();
... |
/*
* MIT License
*
* Copyright (c) 2017 <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, m... |
package cn.sddman.download.util;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
public class VideoFileHelper {
public static Set audioSet = new HashSet();
public static Set videoSet = new HashSet();
public static Set subtitleSet = new HashSet();
static{
init();
}
private static v... |
package com.example.wwh.hotweather.activity;
/*
Created by Joe on 2016/8/20.
Email: <EMAIL>
*/
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import andro... |
package com.enterprise.entity;
import java.io.Serializable;
import com.enterprise.entity.page.PageModel;
/**
* 系统设置 实体类
*/
public class SystemSetting extends PageModel implements Serializable {
private int id;
private String name; //系统名称
private String www; //门户地址
private String ... |
/*
* Copyright (c) Facebook, Inc. and 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... |
/*
* $Id$
* $URL$
*
* ====================================================================
* Ikasan Enterprise Integration Platform
*
* Distributed under the Modified BSD License.
* Copyright notice: The copyright for this software and a full listing
* of individual contributors are as shown in the packaged... |
/*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package org.thoughtcrime.securesms.util;
import android.content.Context;
import android.content.DialogInterface.OnClickListener;
import android.media.MediaScannerConnection;
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AlertDialog;
impor... |
/*
*************************************************************************
* The contents of this file are subject to the Openbravo Public License
* Version 1.1 (the "License"), being the Mozilla Public License
* Version 1.1 with a permitted attribution clause; you may not use this
* file except in... |
/*
* Copyright (c) 2011-2018, <NAME>. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.org).
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
package rocks.inspectit.ocelot.config.model.instrumentation.actions;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.val;
import org.springframework.boot.convert.ApplicationConversionService;
import org.springframework.core.convert.ConversionException;
import org.spr... |
/*
* Copyright 2020 Justified Solutions
* SPDX-License-Identifier: Apache-2.0
*/
package com.justifiedsolutions.justpdf.pdf.contents;
import com.justifiedsolutions.justpdf.pdf.filter.PDFFilter;
import com.justifiedsolutions.justpdf.pdf.object.PDFArray;
import com.justifiedsolutions.justpdf.pdf.object.PDFDictionary... |
/* $This file is distributed under the terms of the license in LICENSE$ */
package edu.cornell.mannlib.vitro.webapp.beans;
import java.io.File;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
*... |
package quizduel;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
/**
* @author raeffu
*
* Class representing a duel.
*
* @member _player1
* @member _player2
* @member _currentPlayer
* Player who is playing
* @member _finished
* true if Quizduel.ROUND reached
*... |
/*
* Copyright (c) 2020 linqu.tech, 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 app... |
/*
* Copyright (c) 2014, grossmann
* 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 condit... |
package org.pm4j.core.pm.impl;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.Comparator;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.concurrent.ConcurrentHashMap;
import org.apache.commons.lang.ClassUtils;
import o... |
package org.apidb.apicomplexa.wsfplugin.motifsearch;
import java.util.HashMap;
import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.log4j.Logger;
import org.gusdb.wdk.model.WdkModelException;
import org.gusdb.wsf.plugin.PluginModelException;
import org.gusdb.wsf.plug... |
/*
* Copyright 2018 Telefonaktiebolaget LM Ericsson
*
* 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 applicab... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
// Copyright 2008,2011 <NAME>, <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... |
/*
* Copyright 2017 <NAME>
*
* Licensed under the MIT;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* The software is provided "AS IS", without warranty of any kind,
* express or implied, including b... |
/*
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or transmitted across a network connection link to be reconstructed later in the same or another computer environment.
Design an algorithm to serialize and deserialize a... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Zimbra Collaboration Suite Server
* Copyright (C) 2011 Zimbra, Inc.
*
* The contents of this file are subject to the Zimbra Public License
* Version 1.3 ("License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
... |
/*
* Copyright 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://www.apache.org/licenses/LICENSE-2.0
*
* or in... |
package io.github.edmm.plugins.cfn;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import com.scaleset.cfbuilder.cloudformation.Authentication;
import com.scaleset.cfbuilder.core.Fn;
import c... |
package cruise.umple.compiler;
import java.io.IOException;
import java.util.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.junit.*;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.... |
package com.manulaiko.shinshinjiru.presenter.details;
import com.manulaiko.shinshinjiru.ShinshinjiruApplication;
import com.manulaiko.shinshinjiru.api.event.*;
import com.manulaiko.shinshinjiru.api.model.dto.FuzzyDate;
import com.manulaiko.shinshinjiru.api.model.dto.MediaList;
import com.manulaiko.shinshinjiru.api.mod... |
package com.example.studentclubsmanagement.Adapter;
import android.content.Context;
import android.content.Intent;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
... |
package org.mqeval;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import javax.jms.DeliveryMode;
import javax.jms.Destination;
import javax.jms.Session;
import junit.framework.Assert;
import org.junit.Before... |
/*
* Copyright 2014-2016 Samsung Research America, 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 applica... |
package com.orctom.jenkins.plugin.buildtimestamp;
import hudson.Extension;
import hudson.model.AbstractProject;
import hudson.model.Descriptor;
import hudson.tasks.BuildWrapper;
import hudson.tasks.BuildWrapperDescriptor;
import hudson.util.ComboBoxModel;
import hudson.util.FormValidation;
import net.sf.json.JSONArray... |
package cruise.umple.umplificator.core.ui;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
imp... |
package com.makeus.minkyu.commentpopupsample.ui.view;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ScrollView;
/**
* Created by minkyu on 2015. 2. 1... |
package com.meterware.httpunit;
/********************************************************************************************************************
* $Id: NodeUtils.java 868 2008-04-01 11:54:31Z wolfgang_fahl $
*
* Copyright (c) 2000-2008, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaini... |
package evilcraft.blocks;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlaye... |
package laraifox.foxtail.rendering;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import javax.imageio.ImageIO;
import laraifox.foxtail.core.ICleanable;
import laraifox.foxtail.core.Logger;
import laraifox.foxtail.core.math.Vector4f;
import org.lwj... |
package org.dw.common.utils;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.dw.common.entity.Keyword;
/*
* 这个类主要是SQL清洗,将一个SQL文件中的注释、无意义的内容清理掉
* 支持: 每一行#开头的的注释 , 单行注释,多行注释等
*
* 使用hive 1.1... |
package com.sunflow.engine.eventsystem;
import org.lwjgl.glfw.GLFW;
import org.lwjgl.glfw.GLFWCursorEnterCallback;
import org.lwjgl.glfw.GLFWCursorPosCallback;
import org.lwjgl.glfw.GLFWKeyCallback;
import org.lwjgl.glfw.GLFWMouseButtonCallback;
import org.lwjgl.glfw.GLFWScrollCallback;
import org.lwjgl.glfw.GLFWWindo... |
package dispose.net.supervisor;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import java.util.stream.... |
/*
* MIT License
*
* Copyright (c) 2020 MrNemo64
*
* 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,... |
package com.d5.tool;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.bson.Document;
import org.joda.time.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.alibaba.... |
/*
* Copyright (c) 2014, 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... |
// Copyright (c) 2020-2021 Yinsen (<NAME>.
// Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
package org.aya.distill;
import kala.collection.SeqLike;
import kala.collection.SeqView;
import kala.collection.mutable.DynamicSeq;
import org.aya.api.distill.AyaDocile;
import... |
/*
* Copyright 2010 Internet Archive
*
* 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.swan.picturerepository.controller;
import java.security.Principal;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowi... |
package pl.edu.pg.eti.biocomp.algorithms;
import pl.edu.pg.eti.biocomp.models.Node;
import pl.edu.pg.eti.biocomp.models.Point;
import pl.edu.pg.eti.biocomp.models.Tree;
import pl.edu.pg.eti.biocomp.utils.Labels;
import pl.edu.pg.eti.biocomp.utils.Log;
import pl.edu.pg.eti.biocomp.utils.Matrix;
import java.util.Arrays... |
package org.fermat;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import org.apache.commons.cli.*;
import org.blockchainj.params.IoP.IoP_MainNetParams;
import org.blockchainj.params.IoP.IoP_RegTestParams;
import org.blockchainj.params.IoP.IoP_TestNet3Params;
import org.fermat.blockchain.Mi... |
/**
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the latest version of the GNU Lesser General
* Public License as published by the Free Software Foundation;
*
* This progr... |
import java.util.Random;
public class ConnectFourGameBoardData
//implements Comparable<ConnectFourGameBoardData>
{
private boolean gameState[][] = new boolean[7][0];// [1, 42) bits
private float odds[] = new float[7];// 28 Bytes
private byte lastChoice;// 1 Byte
private boolean solved = false; //... |
/*
* Copyright © 2021 CrashedLife
*
* 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 tw.fondus.fews.adapter.pi.irrigation.nchc;
import nl.wldelft.util.timeseries.SimpleTimeSeriesContentHandler;
import nl.wldelft.util.timeseries.TimeSeriesArrays;
import org.joda.time.DateTime;
import tw.fondus.commons.cli.util.Prevalidated;
import tw.fondus.commons.fews.pi.config.xml.log.LogLevel;
import tw.fon... |
package com.example.graciosa.kidsassistant.fragments;
import android.content.Context;
import android.os.Build;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.RequiresApi;
import androidx.recyclerview.widget.RecyclerView;
import com.example.grac... |
/*
* Copyright (c) 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 your option) any later version.
*
* This progr... |
package com.benfante.javacourse.thelibrary.core.app;
import com.benfante.javacourse.thelibrary.core.dao.AuthorDao;
import com.benfante.javacourse.thelibrary.core.dao.BookDao;
import com.benfante.javacourse.thelibrary.core.dao.DaoFactory;
import com.benfante.javacourse.thelibrary.core.dao.DaoFactoryCreator;
imp... |
package io.agora.agorartcengine.external.audio;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.Service;
import android.content.Intent;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.os.Binder;
impor... |
package edu.angelo.midtermprojectgupton;
import java.util.Random;
/**
* Tracker for a Minesweeper game.
* @author <NAME>
*/
public class MinesweeperTracker {
/**
* int: ROW_COUNT | The number of rows in the current game of Minesweeper.
*/
public final int ROW_COUNT;
/**
* int: COL_COUNT... |
package ru.pasha__kun.windowfx;
import javafx.beans.property.*;
import javafx.scene.Node;
import javafx.scene.image.Image;
import java.util.function.BooleanSupplier;
/**
* Represents virtual window.
*
* @author Pasha__kun
*/
public class Window {
private final BooleanProperty modal = new SimpleBooleanPropert... |
package io.ix0rai.bodaciousberries.block.entity;
import io.ix0rai.bodaciousberries.block.BasicBerryBush;
import io.ix0rai.bodaciousberries.block.BerryBush;
import io.ix0rai.bodaciousberries.block.BerryHarvesterBlock;
import io.ix0rai.bodaciousberries.particle.Particles;
import io.ix0rai.bodaciousberries.registry.Bodac... |
package model;
import java.util.Arrays;
public class Core {
public double basicOperation(double a, double b, char operator) throws UnsupportException {
switch (operator) {
case '+':
return a + b;
case '-':
return a - b;
case '*':
return a * b;
case '/':
return a / b;
default:... |
/*
* Copyright 2014-2016 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 applicable... |
/*
* 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")... |
/*
* Copyright (C) 2015 <NAME>. All rights reserved.
*/
package org.jsimpledb;
import java.io.ByteArrayInputStream;
import java.util.Arrays;
import java.util.Map;
import org.jsimpledb.annotation.JField;
import org.jsimpledb.annotation.JSimpleClass;
import org.jsimpledb.annotation.OnVersionChange;
import org.jsimp... |
/*************************************************************************
* Copyright 2009-2013 Eucalyptus Systems, Inc.
*
* 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; version 3 of the ... |
package it.gabryca.playershop.playershop_api;
import it.gabryca.playershop.PlayerShop;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import java.util.Opt... |
package dev.monoentity.worldofcolors_v3.entities;
import java.awt.Color;
import java.awt.Graphics;
import java.util.Random;
import dev.monoentity.worldofcolors_v3.Handy;
import dev.monoentity.worldofcolors_v3.gfx.Assets;
public class Particle extends Entity {
private Color c;
private int distance;
p... |
package Utility;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.x... |
package org.lucacanella.csvdiviner.Core;
import java.io.PrintStream;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.io.Reader;
import java.nio.file.NoSuchFileException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;
import com.google.gs... |
/*
* Copyright 2006 The National Library of New Zealand
*
* 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 b... |
/*
* Fotik
* Przeglądarka zdjęć, przekształcenia obrazu, filtry, FFT 2D
* <NAME> 01/2016
*/
package gui.dialogs;
import gui.GUI;
import gui.SimpleDialog;
import processing.LinearFilterFactory;
import processing.LinearFilterType;
import processing.ILinearFilter;
import java.awt.Color;
import java.awt.Component;
imp... |
package org.ednovo.gooru.core.api.model;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class Collection extends Resource implements Versionable {
/**
*
*/
private static final long serialVersionUID = -3271310636333972691L;
private static final String INDEX_TYPE = "scollection";
... |
/*
* The MIT License
*
* Copyright (c) 2014, <NAME> (<EMAIL>)
*
* 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
* ... |
package com.yukiemeralis.blogspot.eden.auth;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import com.yukiemeralis.blogspot.eden.Eden;
import com.yukiemeralis.blogspot.eden.core.CompletionsManager;
import com.yukiemer... |
package org.aerogear.mobile.auth.utils;
import static org.aerogear.mobile.core.utils.SanityCheck.nonNull;
import java.util.HashSet;
import java.util.Set;
import org.jose4j.jws.JsonWebSignature;
import org.jose4j.lang.JoseException;
import org.json.JSONException;
import org.json.JSONObject;
import org.aerogear.mobil... |
package algorithms.imageoverlay;
import java.util.LinkedList;
import java.util.List;
import algorithms.Algorithm;
import algorithms.Option;
import algorithms.Parameter;
import api.UsageException;
import archive.ArchiveFactoryCreator;
import archive.ArchiveReader;
import archive.ArchiveReaderFactory;
import archive.Ar... |
/*******************************************************************************
* Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.