text stringlengths 3.08k 15.2k |
|---|
/**
* Copyright 2020 Dhatim
*
* 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 writi... |
package itesm.mx.expediciones_biosfera.behavior.fragments;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.provide... |
package com.muzi.library;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.support.annotation.IntDef;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.util.AttributeSet;... |
/*****************************************************************
* 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
* ... |
package br.com.digitalhouse.digital.pimarvel.view.serie;
import android.content.Intent;
import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolb... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package com.google.android.gms.internal;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.DeadObjectException;
import android.os.IBinder;
import android.os.IInterface;
import androi... |
/*
* JPPF.
* Copyright (C) 2005-2019 JPPF Team.
* http://www.jppf.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 re... |
package com.example.administrator.app_plzdoit;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.Message;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;... |
/*
* Copyright (C) 2013-2017 microG Project Team
*
* 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 ... |
/*
* Copyright 2010-2012 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) 2008 University of Durham, England 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 o... |
/*******************************************************************************
* Copyright 2014-2021 <NAME> and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* h... |
package pt.pcaleia.bks.mitm;
import java.math.BigDecimal;
import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.NavigableSet;
import java.util.Set;
import java.util.TreeSet;
import pt.pcaleia.util.asserts.ArgumentAssertions;
import pt.pcaleia.util.asserts.NumberArgumentAs... |
package org.faudroids.mrhyde.git;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.api.Status;
import org.eclipse.jgit.api.errors.GitAPIException;
import org.eclipse.jgit.diff.DiffEntry;
import org.eclipse.jgit.diff.DiffFormatter;
import org.eclipse.jgit.lib.ObjectReader;
import org.eclipse.jgit.lib.Ref;
impor... |
package com.stewhouse.gresturlconnection;
import android.os.AsyncTask;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.HashMap;
import javax.net.ssl.HttpsURLConnection... |
import java.sql.CallableStatement;
import java.sql.SQLException;
import java.sql.Types;
import java.util.Scanner;
/**
* Defines the functionality of signup
*
* @author <NAME> (sbasak4)
*/
public class Signup {
/**
* Shows the signup menus
*/
public static void signUpUI() {
Scanner sc = n... |
/*
* Copyright 2000-2011 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... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, <NAME>
*
* Project Info: https://plantuml.com
*
* If you like this project or if you fin... |
package com.mmnaseri.cs.clrs.ch18.s3;
import com.mmnaseri.cs.clrs.ch18.s1.BTreeNode;
import com.mmnaseri.cs.clrs.ch18.s1.Indexed;
import com.mmnaseri.cs.clrs.ch18.s1.NodeDefinition;
import com.mmnaseri.cs.clrs.ch18.s1.Storage;
import com.mmnaseri.cs.clrs.ch18.s2.ExpandableBTree;
import com.mmnaseri.cs.qa.annotation.Qu... |
/*
* Copyright (c) 2017 org.hrodberaht
*
* 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... |
/**
* SelectionListLinkedCIO.java
*
* A sub-class of StateLinkedCIO.
*
* The concrete representation of a SelectionList widget.
*
* Revision History
* ----------------
* 10/02/2001: (JWN) Created file.
*/
// Package Definition
package edu.cmu.hcii.puc.cio;
// Import Declarations
imp... |
// Copyright 2017 The Nomulus 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 a... |
package seedu.bookmark.logic.commands;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static seedu.bookmark.logic.parser.CliSyntax.PREFIX_BOOKMARK;
import static seedu.bookmark.logic.parser.CliSyntax.PREFIX_GENRE;
import static seedu.bookm... |
package org.pointstone.cugappplat.net;
import com.orhanobut.logger.Logger;
import org.pointstone.cugappplat.base.BaseApplication;
import org.pointstone.cugappplat.util.LogUtil;
import org.pointstone.cugappplat.util.NetUtil;
import org.pointstone.cugappplat.weixin.CUGUserInfoApi;
import org.pointstone.cugappplat.weixi... |
/*
Technology Exponent Common Utilities For Java (TECUJ)
Copyright (C) 2003,2007 <NAME>
www.tek271.com
This file is part of TECUJ.
TECUJ is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; version 2... |
/* Copyright 2018 <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 o... |
/*
* Copyright 2015 Adaptris Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.carto.advancedmap.baseclasses.views;
import android.app.Activity;
import android.content.Context;
import android.view.View;
import com.carto.advanced.kotlin.components.PopupButton;
import com.carto.advanced.kotlin.components.ProgressLabel;
import com.carto.advanced.kotlin.components.popupcontent.packagepo... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package gov.ehawaii.hacc.web.controllers;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.collections4.MapUtils;
import org.jsoup.Jsoup;
import org.jsoup.safety.Whitelist;
import org.springframework.beans.factory.annot... |
package com.github.simonpercic.oklog.core;
import java.util.ArrayList;
import java.util.List;
/**
* Log data builder.
*
* @author <NAME> <a href="https://github.com/simonpercic">https://github.com/simonpercic</a>
*/
public class LogDataBuilder {
// region BodyState
public enum BodyState {
PLAIN... |
package org.lcsim.detector.converter.compact;
import java.util.Iterator;
import org.jdom.Element;
import org.lcsim.detector.DetectorElement;
import org.lcsim.detector.IDetectorElement;
import org.lcsim.detector.ILogicalVolume;
import org.lcsim.detector.IPhysicalVolume;
import org.lcsim.detector.LogicalVolume;
import ... |
package com.kristian.android.activities;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.KeyEvent;
import ... |
package com.brentonbostick.capsloc.geom;
import static com.brentonbostick.capsloc.CapslocApplication.APP;
import com.brentonbostick.capsloc.math.DMath;
import com.brentonbostick.capsloc.math.OverlappingException;
import com.brentonbostick.capsloc.math.Point;
import com.brentonbostick.capsloc.ui.paint.Cap;
import com.... |
/*
* $Id$
*
* Copyright (C) 2003-2015 JNode.org
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; either version 2.1 of the License, or
* (at your option) any later version.
*
*... |
package net.minecraft.world.gen;
import net.minecraft.world.gen.ChunkProviderSettings$1;
import net.minecraft.world.gen.ChunkProviderSettings$Factory;
public class ChunkProviderSettings {
public final float coordinateScale;
public final float heightScale;
public final float upperLimitScale;
public final f... |
package core;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import java.util.... |
package org.jeecg.modules.message.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.common.api.dto.message.MessageDTO;
import or... |
/*
* LaunchModel.java
*
* Created on Fri Mar 05 09:40:44 EST 2004
*
* Copyright (c) 2004 Spallation Neutron Source
* Oak Ridge National Laboratory
* Oak Ridge, TN 37830
*/
package xal.app.launcher;
import xal.tools.messaging.MessageCenter;
import xal.tools.data.*;
import java.util.*;
import java.io.File;
/... |
/* __ __ _
* \ \ / /__ _ __ (_) ___ ___
* \ \/ / _ \ '_ \| |/ __/ _ \
* \ / __/ | | | | (_| __/
* \/ \___|_| |_|_|\___\___|
*
*
* Copyright 2017-2021 Venice
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... |
package ut2004.exercises.e02.valkovic;
import cz.cuni.amis.pogamut.base3d.worldview.object.Location;
import cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId;
import cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint;
import java.util.*;
import java.util.concurrent.atomic.AtomicRefere... |
/*
* Copyright 2009 <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... |
package edu.berkeley.nlp.crf;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import edu.berkeley.nlp.classify.Encoding;
import edu.berkeley.nlp.classify.FeatureExtractor;
import edu.berkeley.nlp.math.DifferentiableFunction;
import edu.berkeley.nlp.math.DoubleArrays;
import edu.berkele... |
//This is shared between all android p+ projects so be careful!
package com.rtsoft.shared;
import com.rtsoft.shared.SharedActivity;
import com.rtsoft.shared.AppGLSurfaceView;
import android.os.Build;
import android.content.DialogInterface;
import android.widget.Button;
import android.widget.TextView;
import... |
package org.demo.view.traditional;
import org.demo.domain.Patient;
import org.demo.security.SecurityUtils;
import org.demo.service.UIController;
import org.demo.view.traditional.singlesubscription.SingleSubscriptionStreamManager;
import org.springframework.security.access.AccessDeniedException;
import com.fasterxml.j... |
package shef.nlp.supple.prolog.cafe;
import jp.ac.kobe_u.cs.prolog.lang.*;
import jp.ac.kobe_u.cs.prolog.builtin.*;
/*
* *** Please do not edit ! ***
* @(#) PRED_calculate_skip_4.java
* @procedure calculate_skip/4 in plcafe_supple_io.pl
*/
/*
* @version Prolog Cafe 0.8 November 2003
* @author <NAME> (<EMAIL>)
... |
/*
* Copyright 2000-2015 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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.deployment;
import com.yahoo.config.application.api.DeploymentSpec;
import com.yahoo.vespa.hosted.controller.Application;
import com.yahoo.vespa.hosted.contro... |
/*******************************************************************************
* Copyright 2012 by the Department of Computer Science (University of Oxford)
*
* This file is part of LogMap.
*
* LogMap is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser Gener... |
package fi.nls.oskari.control.users;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import fi.nls.oskari.annotation.OskariActionRoute;
import... |
public class MyClass {
public static long M = 0x5DEECE66DL, P = 53L, mask = (1L << 48) - 1L;
public static int[] append(int[] ori, int ne) {
int len = ori.length;
int[] toRet = java.util.Arrays.copyOf(ori, len+1);
toRet[len] = ne;
return toRet;
}
public static String sbin... |
/*-
* <<
* sag
* ==
* Copyright (C) 2019 sia
* ==
* 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 kg.apc.jmeter.dummy;
import kg.apc.jmeter.gui.GuiBuilderHelper;
import kg.apc.jmeter.modifiers.DummySubPostProcessor;
import kg.apc.jmeter.samplers.DummySampler;
import org.apache.jmeter.samplers.SampleResult;
import org.apache.jmeter.testelement.TestElement;
import org.apache.jmeter.util.JMeterUtils;
import o... |
/*
* Copyright 2009 Weaver authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
package com.gypsyengineer.tlsbunny.tls13.fuzzer;
import com.gypsyengineer.tlsbunny.tls13.client.Client;
import com.gypsyengineer.tlsbunny.tls13.connection.Analyzer;
import com.gypsyengineer.tlsbunny.tls13.connection.Engine;
import com.gypsyengineer.tlsbunny.tls13.connection.EngineException;
import com.gypsyengineer.tl... |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.envers.strategy.spi;
import java.io.Serializable;
import or... |
/*
* Pixel Dungeon
* Copyright (C) 2012-2015 <NAME>
*
* Shattered Pixel Dungeon
* Copyright (C) 2014-2021 <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 3 of th... |
/*
* Copyright 2017 Makoto Consulting Group, 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... |
package fx.maven;
import java.lang.ProcessBuilder;
import java.lang.InterruptedException;
import java.lang.Throwable;
import java.util.Map;
import java.util.List;
import java.io.File;
import java.io.FileWriter;
import java.io.StringWriter;
import java.io.PrintWriter;
import java.io.IOException;
import java.nio.file... |
/* DO NOT EDIT */
/* This file was generated from files.stone */
package com.dropbox.core.v2.files;
import com.dropbox.core.stone.StoneSerializers;
import com.dropbox.core.stone.StructSerializer;
import com.fasterxml.jackson.core.JsonGenerationException;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fa... |
/*
* Copyright 2018 Google LLC 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 applica... |
/**
* CHANGELOG
*
* 07.07.2012 wendt - File created
*
*/
package secondaryprocess.datamanipulation;
import logger.clsLogger;
import memorymgmt.enums.eContentType;
import memorymgmt.enums.ePhiPosition;
import memorymgmt.enums.ePredicate;
import memorymgmt.enums.eRadius;
import org.slf4j.Logger;
i... |
package com.shangbaishuyao.demo.FlinkDemo07;
import com.shangbaishuyao.demo.bean.ItemCount;
import com.shangbaishuyao.demo.bean.UserBehavior;
import org.apache.commons.compress.utils.Lists;
import org.apache.flink.api.common.eventtime.SerializableTimestampAssigner;
import org.apache.flink.api.common.eventtime.Watermar... |
package juice.redis.internal;
import redis.clients.jedis.JedisPubSub;
import redis.clients.jedis.ScanParams;
import redis.clients.jedis.ScanResult;
import redis.clients.jedis.Tuple;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* @author <NAME>
*/
public interf... |
/**
* Copyright (C) 2011 <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... |
/*
* Copyright (c) 2015, the IRMA Team
* 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... |
package dao.managers;
import static dao.DAOCommon.initPreparedStatement;
import static dao.DAOCommon.silentClose;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.UUID;
import... |
package io.muun.apollo.domain.action.operation;
import io.muun.apollo.data.db.public_profile.PublicProfileDao;
import io.muun.apollo.data.external.Globals;
import io.muun.apollo.data.net.HoustonClient;
import io.muun.apollo.data.preferences.KeysRepository;
import io.muun.apollo.data.preferences.UserRepository;
import ... |
package com.refinitiv.eta.json.converter;
import com.fasterxml.jackson.databind.JsonNode;
import com.refinitiv.eta.codec.*;
import com.refinitiv.eta.json.util.JsonFactory;
import com.refinitiv.eta.rdm.DomainTypes;
import java.util.Iterator;
import java.util.Objects;
import static com.refinitiv.eta.json.converter.Buf... |
import java.util.ArrayList;
import java.util.Iterator;
import org.nlogo.api.Argument;
import org.nlogo.api.Color;
import org.nlogo.api.Context;
import org.nlogo.api.ExtensionException;
import org.nlogo.api.LogoException;
import org.nlogo.api.LogoListBuilder;
import org.nlogo.api.Reporter;
import org.nlogo.core.LogoLis... |
/*
* This file is part of libbluray
* Copyright (C) 2010 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any late... |
package de.fau.cs.mad.fly.profile;
import java.util.HashMap;
import java.util.Map;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.sql.DatabaseCursor;
import de.fau.cs.mad.fly.db.FlyDBManager;
/**
* Manage scores of all player.
*
* @ <NAME>
*/
public class ScoreManager {
private ... |
package com.knowledgegraphnavigator;
import com.markwatson.semanticweb.QueryResult;
import java.sql.SQLException; // Cache layer in JenaApis library throws this
public class EntityDetail {
static public QueryResult genericResults(Sparql endpoint, String entityUri)
throws SQLException, ClassNotFoundException... |
// Copyright 2004 The Apache Software Foundation
//
// 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 ... |
/*
* Copyright 2019 BioRAFT, Inc. (http://bioraft.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/**
* Copyright (c) 2012, <NAME> and other Contributors.
* All rights reserved.
*
* This program and the accompanying materials are made available
* under the terms of the BSD 3-Clause licence which accompanies
* this distribution, and is available at
* http://opensource.org/licenses/BSD-3-Clause
*/
packa... |
package com.tonydiperna.pokedex3000.models;
import java.util.Arrays;
public class Pokemon {
public static final String NAME = "name";
public static final String RESOURCE_URI = "resource_uri";
public static final String ABILITIES = "abilities";
public static final String EGG_GROUPS = "egg_groups";
... |
package info.paolociccarese.project.ld4l.pipeline.commands;
import info.paolociccarese.project.dpf.java.core.IStage;
import info.paolociccarese.project.dpf.java.core.IStageCommand;
import info.paolociccarese.project.dpf.java.core.IStageListener;
import info.paolociccarese.project.jsondp.java.core.JsonDpArray;
import i... |
/* Copyright (c) 2009, University of Oslo, Norway
* 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, thi... |
/*
* 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");... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package inspecoes;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Vector;
impor... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.simon816.chatui.lib;
import com.google.common.collect.Lists;
import com.simon816.chatui.ui.AnchorPaneUI;
import com.simon816.chatui.ui.LineFactory;
import com.simon816.chatui.ui.UIComponent;
import com.simon816.chatui.util.TextUtils;
import com.simon816.chatui.util.Utils;
import org.spongepowered.a... |
package org.decomposer.contrib.hadoop.phrases;
import java.io.IOException;
import org.apache.hadoop.io.FloatWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Reducer;
/**
* if you get A B C => [{B C:1234}, {A:1234567}, {A B C:12}, {C:12345}, {A B:2345}, {B:234567}]
* you need F(A B... |
package br.com.anki.ankiaob;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Parcelable;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import andr... |
package com.vmware.spring.workshop.dao.impl.jpa;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.p... |
package com.aurum.adapters;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.database.DataSetObserver;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.LayoutInflater;
import android.view.View;
import android.vi... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2010-2013 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 Licens... |
package kernitus.plugin.OldCombatMechanics.module;
import com.google.common.base.Functions;
import com.google.common.collect.ImmutableMap;
import kernitus.plugin.OldCombatMechanics.OCMMain;
import kernitus.plugin.OldCombatMechanics.utilities.reflection.MemoizingFeatureBranch;
import kernitus.plugin.OldCombatMechanics.... |
package org.firstinspires.ftc.teamcode.Crap;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.hardware.ColorSensor;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import org.firstinspires.ftc.teamcode.HardwareMap_Mechanum;
/**
* Cre... |
package de.mpg.cbs.core.intensity;
import java.net.URL;
import de.mpg.cbs.libraries.*;
import de.mpg.cbs.utilities.*;
/*
* @author <NAME>
*/
public class IntensityPropagate {
// parameters
public static final String[] normtypes = {"max","mean","min"};
public static final String[] targettypes = {"zero","mas... |
/*******************************************************************************
* BSD License
*
* Copyright (c) 2017, AT&T Intellectual Property. All other rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the foll... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.personnel.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.u... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package websim.agents.behaviours;
import jade.core.Agent;
import jade.core.behaviours.CyclicBehaviour;
import jade.lang.acl.ACLMessage;
import java.awt.Color;
import java.math.BigDecimal;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
import websim.components.DevOpsWatcher;
i... |
package com.zyc.doctor.ui.dialog;
import android.app.Dialog;
import android.content.Context;
import android.graphics.Color;
import android.view.Display;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
impor... |
package org.camunda.demo.camel;
import java.util.Properties;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.converter.jaxb.JaxbDataFormat;
import static org.camunda.bpm.camel.component.CamundaBpmConstants.*;
import org.camunda... |
/*
* Copyright (C) 2015 The CloudKit 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 ap... |
package cn.com.pyc.suizhi.bean;
import android.os.Parcel;
import android.os.Parcelable;
/**
* 播放模型 (可作为全局播放模型使用,包括图书,音乐,视频)
* <p>
*
* @author hudq
*/
public class DrmFile implements Parcelable {
private String fileId; // 文件id
private String lyricId; // 歌词... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.