text stringlengths 3.52k 24k |
|---|
package mthocur;
import android.graphics.Bitmap;
import android.graphics.Rect;
import com.ngdroidapp.Animation;
import com.ngdroidapp.NgApp;
import java.lang.reflect.Array;
import java.util.List;
import istanbul.gamelab.ngdroid.util.Log;
public class Player extends GameObject {
private int health;
privat... |
/*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 <NAME> (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to ... |
/*
* $Id$
*/
/*
/*
Copyright (c) 2000-2013 Board of Trustees of Leland Stanford Jr. University,
all rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of his software and associated documentation files (the "Software"), to deal
in the Software without restriction, in... |
package com.code.server.game.poker.playseven;
import com.code.server.constant.exception.DataNotFoundException;
import com.code.server.constant.game.PrepareRoom;
import com.code.server.constant.game.UserBean;
import com.code.server.constant.response.ErrorCode;
import com.code.server.constant.response.IfaceRoomVo;
impor... |
/* Copyright (c) 2011 Danish Maritime Authority.
*
* 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... |
import java.io.*;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import static java.lang.Math.*;
public class Encoder {
public List<String> header;
public int width;
public int height;
public List<List<Integer... |
package wypozyczalnia.Controllers;
import javafx.application.Platform;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import j... |
/**
* Licensed to Cloudera, Inc. under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Cloudera, Inc. licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use th... |
package org.endeavourhealth.core.database.rdbms.eds;
import com.google.common.base.Strings;
import org.endeavourhealth.common.fhir.IdentifierHelper;
import org.endeavourhealth.core.database.dal.eds.PatientLinkDalI;
import org.endeavourhealth.core.database.dal.eds.models.PatientLinkPair;
import org.endeavourhealth.core... |
package com.hazelcast.yarn.wordcount.offheap;
import sun.misc.Unsafe;
import com.hazelcast.yarn.impl.YarnUtil;
import java.util.NoSuchElementException;
public class Object2LongOffHeapMap {
private final Unsafe unsafe = YarnUtil.getUnsafe();
private long itemCount;
private final int addressSize;
priv... |
package com.zaitunlabs.zlcore.views;
import android.content.Context;
import android.os.Build.VERSION;
import android.os.Handler;
import android.os.Message;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
import com.zaitunlabs.zlcore.utils.DebugUtil;
public class ASGes... |
/*
* Copyright (c) 2018, 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
*
* Unles... |
/*
* The MIT License
*
* Copyright (c) 2016-2018, Yieldlab AG
*
* 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, ... |
/*
* 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.github.ciselab.lampion.support;
import com.github.ciselab.lampion.program.App;
import java.util.Random;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
/**
* This class provides a set of methods to create random strings of various length.
* It will sooner or later also create ran... |
package com.Ntut.utility;
import android.os.Handler;
import android.util.Log;
import com.Ntut.MainApplication;
import com.Ntut.model.CreditInfo;
import com.Ntut.model.GeneralCredit;
import com.Ntut.model.GeneralCreditInfo;
import com.Ntut.model.SemesterCredit;
import com.Ntut.model.StudentCredit;
import org.htmlclea... |
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.SearchView;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import android.Manifest;
import android.content.Intent;
import android.content.pm.PackageManager;
impor... |
package com.squareup.square.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/**
* This is a model class for ... |
package com.igormaznitsa.japagoge.mouse;
import com.sun.jna.*;
import com.sun.jna.platform.WindowUtils;
import com.sun.jna.platform.win32.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import java.util.conc... |
package Nuskin;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardCopyOption;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.util.Ar... |
// Copyright 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 the "license... |
/*
* Copyright (C) 2017 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 2017 <NAME> (github.com/eltos)
*
* 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... |
package com.alexvasilkov.telegram.chart.data;
import android.content.Context;
import android.content.res.AssetManager;
import android.os.Handler;
import android.os.Looper;
import android.util.Log;
import com.alexvasilkov.telegram.chart.domain.Chart;
import com.alexvasilkov.telegram.chart.domain.Chart.Source;
import c... |
/**
* SimMetrics - SimMetrics is a java library of Similarity or Distance
* Metrics, e.g. Levenshtein Distance, that provide float based similarity
* measures between String Data. All metrics return consistant measures
* rather than unbounded similarity scores.
*
* Copyright (C) 2005 <NAME> - Open Source Re... |
package com.conveyal.r5.analyst.fare.nyc;
import com.conveyal.r5.transit.TransitLayer;
import com.conveyal.r5.transit.TripPattern;
import gnu.trove.iterator.TObjectIntIterator;
import gnu.trove.map.TIntIntMap;
import gnu.trove.map.TIntObjectMap;
import gnu.trove.map.TObjectIntMap;
import gnu.trove.map.hash.TIntIntHash... |
package mapRunner.map;
import mapRunner.map.navigation.NavigationCommandType;
import mapRunner.map.navigation.Target;
import mapRunner.map.structure.MapStructure;
import mapRunner.map.structure.Roads;
import mapRunner.map.navigation.Navigation;
public class Pathfinder {
// Map settings
// public MapStr... |
// Copyright 2019 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... |
package com.kanba.movie.utils;
import android.app.Activity;
import android.content.Context;
import android.media.AudioManager;
import android.text.TextUtils;
import android.util.Log;
import com.alibaba.fastjson.JSON;
import com.kanba.movie.bean.Sniff;
import com.kanba.movie.entity.MovieDetailEntity;
import com.kanba.m... |
/**
* Copyright (c) 2012-2013 <NAME>
*
* This file is part of Handlebars.java.
*
* 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
*
... |
//---------------------------------------------------------------------------
// Copyright 2006-2009
// <NAME>, <EMAIL>, (TU Eindhoven, Netherlands)
// <NAME>, <EMAIL> (University Kassel, Germany)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in comp... |
/*
* 01/12/2009
*
* RegexAwareComboBox.java - A combo box that offers autocomplete assistance
* for regular expressions.
* This library is distributed under a modified BSD license. See the included
* RSTAUI.License.txt file for details.
*/
package org.fife.rsta.ui.search;
import javax.swing.ComboBoxModel;
impo... |
package com.unidev.polydata.insights.service;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.group;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.match;
import static org.springframework.data.mongodb.core.aggregation.Aggregation.newAggregation;
import static ... |
package com.perunlabs.deguicifier;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.math.BigInteger;
import java.nio.charset.Charset;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import com.google.inject.Binding;
import com.google.inject.Key;
i... |
package com.uber.kafkaSpraynozzle;
// Forgive me for any non-idiomatic ways this code behaves. I'm not a Java guy but the other clients suck.
import com.codahale.metrics.JvmAttributeGaugeSet;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.ScheduledReporter;
import com.codahale.metrics.jvm.Buff... |
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.CodeCleaner.classes;
import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs;
import com.runtimeconverter.runtime.classes.RuntimeClassBase;
import com.runtimeconverter.runtime.RuntimeEnv;
import com.project.convertedCode.global... |
package edu.emory.cci.aiw.cvrg.eureka.cas;
/*-
* #%L
* CAS Server
* %%
* Copyright (C) 2012 - 2016 Emory 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... |
package EntityFX.Core.Whetstone;
import java.io.FileNotFoundException;
import java.io.IOException;
import EntityFX.Core.Writer;
public class Whetstone {
private double[] loop_time = new double[9];
private float[] loop_mops = new float[9];
private float[] loop_mflops = new float[9];
private double... |
/*
* This file is part of ELKI:
* Environment for Developing KDD-Applications Supported by Index-Structures
*
* Copyright (C) 2019
* ELKI Development Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the... |
/**
* MIT License
*
* Copyright (c) 2017-2018 nuls.io
*
* 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, mo... |
/**
* Copyright (C) 2002-2015 The FreeCol Team
*
* This file is part of FreeCol.
*
* FreeCol 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 optio... |
package joshie.harvest.quests.player.meetings;
import com.google.common.collect.Sets;
import joshie.harvest.api.HFApi;
import joshie.harvest.api.calendar.Season;
import joshie.harvest.api.knowledge.Note;
import joshie.harvest.api.npc.NPC;
import joshie.harvest.api.npc.NPCEntity;
import joshie.harvest.api.quests.HFQues... |
/*
* Copyright (c) 2008-2014 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.coordinator.client.service.impl;
import java.net.URI;
import java.net.UnknownHostException;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Sche... |
package application.controller;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler... |
import java.util.*;
public class Test {
public static boolean isUnique(String s){
// change char to number and the corrosponding location in the char array +1
// if there is a number in the location already, return false
int length = s.length();
boolean count[] = new boolean[256];
Arrays.fill(count, fals... |
// Decompiled by Jad v1.5.8f. Copyright 2001 <NAME>.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
import java.io.*;
final class Decompressor {
public Decompressor(RandomAccessFile randomaccessfile, RandomAccessFile randomaccessfile1, int j) {
anInt311 = j;
dataFile = ra... |
package com.erikmafo.btviewer.sql;
import com.erikmafo.btviewer.sql.functions.AggregationExpression;
import com.google.cloud.bigtable.data.v2.models.Filters;
import com.google.cloud.bigtable.data.v2.models.Query;
import com.google.cloud.bigtable.data.v2.models.Range;
import com.google.protobuf.ByteString;
import org.j... |
package com.scm.dao.domain;
import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;
/**
* The persistent class for the SupplierMasterWorkAudits database table.
*
*/
@Entity
@Table(name="SupplierMasterWorkAudits")
@NamedQuery(name="SupplierMasterWorkAudit.findAll", query="... |
/*-
* #%L
* Genome Damage and Stability Centre ImageJ Core Package
*
* Contains code used by:
*
* GDSC ImageJ Plugins - Microscopy image analysis
*
* GDSC SMLM ImageJ Plugins - Single molecule localisation microscopy (SMLM)
* %%
* Copyright (C) 2011 - 2022 <NAME>
* %%
* This program is free software: you ca... |
package com.arnold.worldorganizations.Activity;
import android.annotation.SuppressLint;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ImageView;
import android.... |
package codes.fabio.androidboilerplate.mvp.base;
import android.support.annotation.CallSuper;
import android.support.annotation.NonNull;
import android.support.v4.util.Pair;
import com.jakewharton.rxrelay.BehaviorRelay;
import com.jakewharton.rxrelay.PublishRelay;
import java.util.ArrayList;
import java.util.List;
imp... |
package com.oranshuster.webcrawlerverifier;
import com.oranshuster.webcrawlerverifier.annotations.RetryCountIfFailed;
import com.oranshuster.webcrawlerverifier.bots.*;
import nl.basjes.parse.useragent.UserAgentAnalyzer;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.util.Ar... |
package dk.schaumburgit.stillsequencecamera.camera2;
import android.app.Activity;
import android.content.Context;
import android.content.res.Configuration;
import android.graphics.ImageFormat;
import android.graphics.Matrix;
import android.graphics.RectF;
import android.graphics.SurfaceTexture;
import android.hardware... |
/* JAT: Java Astrodynamics Toolkit
*
* Copyright (c) 2002 The JAT Project and the Center for Space Research (CSR),
* The University of Texas at Austin. All rights reserved.
*
* This file is part of JAT. JAT is free software; you can
* redistribute it and/or modify it under the terms of the
* NASA Open Source Agr... |
/*
* 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.blocker.photo;
import cn.yunlai.photo.R;
import com.nineoldandroids.animation.Animator;
import com.nineoldandroids.animation.AnimatorListenerAdapter;
import com.nineoldandroids.animation.AnimatorSet;
import com.nineoldandroids.animation.ObjectAnimator;
import uk.co.senab.photoview.PhotoView;
import uk.co... |
/*
* Copyright (C) 2017 Seoul National 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 applic... |
package core;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import com.fasterxml.jackson.databind.JsonNode;
import com.google.gson.Gson;
import mod... |
package com.seniorzhai.alfred;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.seniorzhai.alfred.network.NetworkUtil;
import com.seniorzhai.alfred.timer.Timer;
import java.util.Set;
/**
* Container class to address Jobs inside job ma... |
package protomoto.runtime;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.objectweb.asm.Label;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.commons.GeneratorAdapter;
import org.objectweb.as... |
package data;
import com.opencsv.CSVReader;
import com.opencsv.exceptions.CsvValidationException;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
import java.io.*;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.... |
package org.wlld.imageRecognition;
import org.wlld.MatrixTools.Matrix;
import org.wlld.MatrixTools.MatrixOperation;
import org.wlld.config.Kernel;
import org.wlld.imageRecognition.border.Border;
import org.wlld.imageRecognition.border.Frame;
import org.wlld.imageRecognition.border.FrameBody;
import org.wlld.imageRecog... |
package de.ellpeck.nyx.entities;
import de.ellpeck.nyx.Nyx;
import de.ellpeck.nyx.Registry;
import de.ellpeck.nyx.capabilities.NyxWorld;
import de.ellpeck.nyx.lunarevents.HarvestMoon;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.Entit... |
package at.mse.walchhofer.utilities.reflections;
import java.io.BufferedInputStream;
import java.io.Closeable;
import java.io.DataInputStream;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import java.net.URISyntaxE... |
import com.sun.tools.javac.Main;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.geometry.Pos;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.Separator;
import javafx.scene.control.TextField;
import javafx.scen... |
package cc.mrbird.web.controller;
import cc.mrbird.common.annotation.Log;
import cc.mrbird.common.controller.BaseController;
import cc.mrbird.common.domain.QueryRequest;
import cc.mrbird.common.domain.ResponseBo;
import cc.mrbird.common.util.FebsConstant;
import cc.mrbird.common.util.HttpUtils;
import cc.mrbird.web.do... |
/*
MIT License
Copyright(c) 2020 Futurewei Cloud
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... |
/*
* Copyright 2010-2013 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... |
/* ========================================================================== *
* Copyright (c) 2006, <NAME> <mailto:<EMAIL>> *
* All rights reserved. *
* ========================================================================== *
* ... |
/*
* Copyright (C) 2006 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... |
package com.twofours.surespot.billing;
import android.app.Activity;
import android.content.Context;
import com.twofours.surespot.billing.IabHelper.OnConsumeFinishedListener;
import com.twofours.surespot.billing.IabHelper.OnIabPurchaseFinishedListener;
import com.twofours.surespot.billing.IabHelper.OnIabSetupFinishedL... |
package edu.southwestern.util.graphics;
import java.awt.Color;
import java.awt.image.BufferedImage;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.lang.ProcessBuilder.Redirect;
import java.util.ArrayList;
import ... |
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
public class Decipher {
public static void main(String[] args) {
String text = readFile("DemCifrado.txt");
HashMap<String, Integer> p... |
package com.ss.android.ugc.bytex.access_inline.visitor;
import com.ss.android.ugc.bytex.access_inline.Context;
import com.ss.android.ugc.bytex.access_inline.ShouldSkipInlineException;
import com.ss.android.ugc.bytex.common.Constants;
import com.ss.android.ugc.bytex.common.graph.FieldEntity;
import com.ss.android.ugc.b... |
package logic;
import java.awt.Color;
import java.awt.geom.Point2D;
import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;
public class Rectangle implements Serializable, Comparable<Rectangle>{
public static double collisionTolerance = 0.001;
public static int DIRECTION_UP ... |
/*******************************************************************************
* Copyright 2009 OpenSHA.org in partnership with
* the Southern California Earthquake Center (SCEC, http://www.scec.org)
* at the University of Southern California and the UnitedStates Geological
* Survey (USGS; http://www.usgs.gov)
*... |
/*
* Copyright (C) 2011 <NAME>. (http://www.everit.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
package com.nizlumina.common.nyaa.Parser;
import android.support.annotation.NonNull;
import android.util.Pair;
import com.nizlumina.common.nyaa.NyaaEntry;
import com.nizlumina.common.nyaa.NyaaFansubGroup;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpull.v1.XmlPull... |
/*
* @(#)file Server.java
* @(#)author Sun Microsystems, Inc.
* @(#)version 1.6
* @(#)lastedit 03/10/07
* @(#)build jmxremote-1_0_1_04-b58 2005.11.23_16:04:12_MET
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
*/
package com.likya.tlossw.jmx;
im... |
/*
*
* Copyright (c) 2015 University of Massachusetts
*
* 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) 2011, 2017 Oracle and/or its affiliates. All rights reserved.
*
* This file was distributed by Oracle as part of a version of Oracle NoSQL
* Database made available at:
*
* http://www.oracle.com/technetwork/database/database-technologies/nosqldb/downloads/index.html
*
* Please see the LICENS... |
package com.boubei.tssx.ftl;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Table;
import org.springframework.beans.factory.annotation.Autowired;
import... |
package com.fbd.core.util.report.util;
import java.io.File;
import java.text.DecimalFormat;
import java.text.Format;
import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.beanutils.PropertyUtils;
import org.apache.commons.io.FileUtils;
impor... |
/*
* Copyright (c) 2010-2015 <NAME>, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.apache.rya.indexing.external.matching;
/*
* 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 ... |
package com.wztechs.remo;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Point;
import android.os.*;
import android.text.Editable;
import android.text.InputType;
import android.view.KeyEvent;
import android.view.MotionEvent;
import androi... |
/**
* 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.mobeho.calendar.weak;
import org.junit.Test;
import org.mobeho.calendar.calendar.YearType;
import org.mobeho.calendar.hilchati.weak.Convert;
import java.util.Arrays;
import static org.junit.Assert.assertEquals;
public class ConvertTest
{
// Just for tests
public static int numberOfParashot(YearT... |
/*
* Copyright 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 to in writing, software
distri... |
package ga;
import javafx.util.Pair;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Random;
public class GeneticAlgorithm {
/**
* Cria um cromossoma aleatóio.
*
* @param length dimensão do cromossoma
* @param alphabet alfabeto
* @return ... |
package com.zykj.landous2.adapter;
import java.util.ArrayList;
import java.util.Map;
import org.json.JSONException;
import com.loopj.android.http.JsonHttpResponseHandler;
import com.zykj.landous2.R;
import com.zykj.landous2.Tools.HttpUtils;
import com.zykj.landous2.activity.B2_ProductdetailsActivity;
import com.zykj... |
package net.mackinney.lepton;
import java.util.Arrays;
/**
* Maintains the board state
*/
class Board {
static final String TAG = "Board";
// board:You:Nortally:5:0:0:0:-3:0:0:2:0:3:0:3:0:-1:0:-4:4:0:1:0:-2:0:-2:-3:1:0:0:1:0:-fc00:e968:6179::de52:7100:0:1:-1:0:25:0:0:0:0:2:0:0:0
private static final i... |
/**
* Copyright 2011 The Buzz Media, 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 applicab... |
package io.github.gpein.magneto.domain.magnet;
import lombok.Getter;
import lombok.experimental.Accessors;
import java.util.Optional;
import java.util.stream.Stream;
public enum Department {
Ain(1, "Ain", "Rhône-Alpes", "Bourg-en-bresse"),
Aisne(2, "Aisne", "Picardie", "Laon"),
Allier(3, "Allier", "Auve... |
package org.talend.bonita;
import java.io.BufferedReader;
import java.io.File;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.http.HttpResponse;
i... |
//===============================================================================
// Copyright (c) 2015 eWorkplace Apps. ALL rights reserved.
// Main Author: <NAME>
// Original DATE: 5/21/2015
//===============================================================================
package com.eworkplaceapps.employeedirectory... |
/**
* 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 m... |
/*
Copyright 2020 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 in writing, software
distrib... |
package com.dedupeer.thrift;
import java.io.File;
import java.nio.ByteBuffer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.log4j.Logger;
import org.apache.thrift.TException;
import com.dedupeer.checksum.Checksum32;
impo... |
package hu.bme.mit.sette.core.tasks.testsuiterunner2;
import java.io.File;
import java.lang.reflect.Constructor;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import java.util.NoSuchElementException;
import org.apache.commons.lang3.tuple.Pair;
import org.slf4j.Logger;
import org.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.