text
stringlengths
3.08k
15.2k
package org.jlab.mya.stream; import java.util.ArrayList; import java.util.List; import java.util.SortedSet; import java.util.TreeSet; import org.jlab.mya.event.EventCode; import org.jlab.mya.event.FloatEvent; /** * This is intended to be used as the "bucket" in a modified implementation of the largest triangle three...
package com.readtracker.android.db; import com.j256.ormlite.field.DataType; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import com.readtracker.android.support.Utils; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Represents a book in t...
package org.kiwiproject.test.util; import static com.google.common.base.Preconditions.checkState; import static java.util.stream.Collectors.toUnmodifiableList; import static org.kiwiproject.collect.KiwiLists.second; import lombok.experimental.UtilityClass; import lombok.extern.slf4j.Slf4j; import java.io.IOException...
/* * 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 ...
/* Università di Pisa - Laboratorio del corso di Reti di Calcolatori - A.A. 2018-2019 TURING: disTribUted collaboRative edItiNG - Client Programma sviluppato singolarmente da <NAME>, matricola 507264 */ package turing; import turing.tipidato.*; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStrea...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. * * Oracle and Java are registered trademarks of Oracle and/or its affiliates. * Other names may be trademarks of their respective owners. * * The contents of this file are su...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.gui.components.filter.condition; import com.google.common.base.Strings; import com.haulmont.chile.core.annotations.MetaClass; im...
/* Copyright 2014 <NAME> <EMAIL> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
package src.misc; import java.io.FileNotFoundException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; import java.awt.event.*; import javax.swing.*; import java.awt.BorderLayout; import src.*; import src.utils.CompareTools; public class Vsftpd extends LogObject implements Runnable, LogFo...
/* * Copyright 2015 Open Networking Laboratory * * 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...
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStr...
/* * Copyright 2019 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
package org.wikibrain.sr.evaluation; import gnu.trove.map.TIntDoubleMap; import gnu.trove.map.hash.TIntDoubleHashMap; import org.apache.commons.lang3.ArrayUtils; import org.wikibrain.sr.SRResult; import org.wikibrain.sr.SRResultList; import org.wikibrain.sr.utils.KnownSim; import java.util.ArrayList; import java.util...
package org.myazure.szzh.controller; import java.util.List; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; im...
package com.example.musicplayer.ui; import android.content.ContentResolver; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.MediaStore; import android.view.View; import android.widget.Button; ...
package br.com.orange.proposta.cartao; import br.com.orange.proposta.apisexternas.cartoes.*; import br.com.orange.proposta.apisexternas.solicitacao.APIExternaSolicitacao; import br.com.orange.proposta.apisexternas.solicitacao.ResultadoSolicitacao; import br.com.orange.proposta.avisoviagem.AvisoViagem; import br.com.or...
package com.github.costinm.dmesh.lm3; import android.bluetooth.BluetoothDevice; import android.net.wifi.ScanResult; import android.net.wifi.aware.DiscoverySession; import android.net.wifi.aware.PeerHandle; import android.net.wifi.p2p.WifiP2pDevice; import android.os.Bundle; import android.os.SystemClock; import androi...
package edu.zhdata.android.zhapp; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Resources; import android.graphics.PorterDuff; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.os.Handler; import androi...
/* 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, merge, publish, distrib...
package com.paperspacecraft.scripting.pattern; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.tuple.Pair; import org.junit.Assert; import java.util.List; import java.util.regex.Pattern; import java.util.stream.Collectors; class PseudoRegexTest...
/* * Project: DB18B20 OneWire sensor API Wrapper * Copyright (c) 2018 <NAME> * * @author <NAME> - <EMAIL> */ package it.zagomattia.ds18b20; import com.dalsemi.onewire.OneWireAccessProvider; import com.dalsemi.onewire.OneWireException; import com.dalsemi.onewire.adapter.DSPortAdapter; import com.dalsemi.onewire.c...
package dev.slimevr.vr.processor.skeleton; import java.util.HashMap; import java.util.Map; public enum SkeletonConfigValue { HEAD( 1, "Head", "headShift", "Head shift", 0.1f, new BoneType[] { BoneType.HEAD } ), NECK( 2, "Neck", "neckLength", "Neck length", 0.1f, new BoneType[] { BoneType.N...
/** * Copyright (c) ObjectFabric Inc. All rights reserved. * * This file is part of ObjectFabric (objectfabric.com). * * ObjectFabric is licensed under the Apache License, Version 2.0, the terms * of which may be found at http://www.apache.org/licenses/LICENSE-2.0.html. * * This file is provided AS IS w...
/* * EVE Swagger Interface * An OpenAPI for EVE Online * * OpenAPI spec version: 0.8.6 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ package io.swagger.client.eve.model; import java....
/* * 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.webank.wedatasphere.qualitis.request; import static com.webank.wedatasphere.qualitis.project.request.CommonChecker.checkObject; import static com.webank.wedatasphere.qualitis.project.request.CommonChecker.checkString; import com.fasterxml.jackson.annotation.JsonProperty; import com.webank.wedatasphere.qua...
package schoolbuy.ecut.cn.schoolbuy; import android.annotation.TargetApi; import android.app.Activity; import android.content.ClipData; import android.content.ComponentName; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import an...
package com.sun.javafx.tk; /** * TKStage - Peer interface for a Stage * */ public interface TKStage { /** * Listener for this stage peer to pass updates and events back to the stage * * @param listener The listener provided by the stage */ void setTKStageListener(TKStageListener listener...
/* * 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 ...
// 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 edu.kit.exp.server.jpa.entity; import static javax.persistence.CascadeType.DETACH; import static javax.persistence.CascadeType.MERGE; import static javax.persistence.CascadeType.REFRESH; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Fe...
package home.smart.fly.animations.ui.activity; import android.app.ProgressDialog; import android.content.ClipData; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.os.Build; import android.os.Bundl...
package com.evercare.app.adapter; import android.content.Context; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.text.Html; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; im...
/* * BSD 3-Clause License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * ...
/* * Copyright 2007-2021, <NAME>, Co., Ltd. * All rights reserved. */ package com.ciicgat.api.core; import com.ciicgat.api.core.kubernetes.KubernetesClientConfig; import com.ciicgat.sdk.util.system.WorkRegion; import feign.Client; import okhttp3.Headers; import okhttp3.HttpUrl; import okhttp3.MediaType; import okh...
import sigil.*; import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ZeroSignature extends SProcessorModel { private LinkedList timeQueue; private int maxQueueSize = 100; private double yScale = 1.1; private JFrame gFrame; private int differential ...
/* * Copyright (c) 2011, 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 ...
package org.newdawn.slick.svg.inkscape; import java.util.StringTokenizer; import org.newdawn.slick.geom.Transform; import org.newdawn.slick.svg.NonGeometricData; import org.newdawn.slick.svg.ParsingException; import org.w3c.dom.Element; /** * A set of utility for processing the SVG documents produced by I...
package okhttp3.internal.http2; import java.io.IOException; import java.net.ProtocolException; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.concurrent.TimeUnit; import okhttp3.C3401Response; import okhttp3.Headers; import okhttp3.Interceptor; import okhttp3.OkHttpClient;...
/* * 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 jjbridge.engine.v8.inspector; import jjbridge.api.inspector.JSInspector; import jjbridge.api.runtime.JSReference; import jjbridge.api.runtime.JSRuntime; import jjbridge.api.value.JSObject; import jjbridge.engine.v8.V8Engine; import org.java_websocket.client.WebSocketClient; import org.java_websocket.handshake....
package de.tum.in.www1.artemis.service.compass.umlmodel.parsers; import static de.tum.in.www1.artemis.service.compass.utils.JSONMapping.*; import java.io.IOException; import java.util.*; import org.apache.commons.lang3.EnumUtils; import com.google.common.base.CaseFormat; import com.google.gson.JsonArray; import com...
package liquibase.nosql.parser.json; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.TreeNode; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind....
/*************************************************************** * * 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. * * T...
package de.kp.works.ts; /* * Copyright (c) 2019 - 2021 Dr. Krusche & Partner PartG. 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/licen...
package com.github.goforce.fsmpdfmerge.controller; import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.Base64; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestBody; import org.spr...
/** * */ package com.rackspacecloud.android; import java.util.ArrayList; import android.app.AlertDialog; import android.app.ListActivity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.AsyncTask; import android.os.Bundle; import android.view...
/* Copyright (c) 2020-2021, <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 conditions and the following...
/* * Copyright 2017-present Open Networking Laboratory * * 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...
package ie.gmit.dip; import java.util.ArrayList; import java.util.List; import java.util.Scanner; /** * <p>A UI that calls other classes' API methods. Methods can add log entries as a response, which are displayed to users.</p> * * @version 1.0 * @since 1.8 */ public final class Runner { private static boole...
package edu.ttu.krlab.alm.datastruct.sparc; import java.io.BufferedWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import edu.ttu.krlab.alm.ALM; ...
/* * Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute * Copyright [2016-2019] EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
package vest.doctor.http.server; import io.netty.handler.codec.http.HttpHeaderNames; import io.restassured.RestAssured; import io.restassured.config.RestAssuredConfig; import io.restassured.specification.RequestSpecification; import org.hamcrest.Matchers; import org.testng.Assert; import org.testng.annotations.AfterCl...
import com.google.gson.annotations.Expose; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import java.util.*; import java.util.stream.Collectors; /** * Describes puzzle and its attributes */ public class Puzzle { //todo: set Puzzle properties to user co...
package ingsw.group1.findmyphone; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.eis.smslibrary.SMSMessage; import com.eis.smslibrary.SMSPeer; import java.util.regex.Pattern; import ingsw.group1.findmyphone.location.GeoPosition; /** * Class aimed to read and write the messages...
/** 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 not use...
package org.trianacode.shiwaall.workflowCreation; import org.shiwa.desktop.data.description.ConcreteBundle; import org.shiwa.desktop.data.description.bundle.BundleFile; import org.shiwa.desktop.data.description.core.DataMapping; import org.shiwa.desktop.data.description.core.Mapping; import org.shiwa.desktop.data.desc...
package org.frameworkset.schedule; import java.util.concurrent.ExecutorService; import java.util.concurrent.RejectedExecutionHandler; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; import org.frameworkset.spi.BeanNameAware; imp...
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS...
package leetcode.problems; /** 410. Split Array Largest Sum * Given an array nums which consists of non-negative integers and an integer m, * you can split the array into m non-empty continuous subarrays. * Write an algorithm to minimize the largest sum among these m subarrays. * * Example 1: * Input: nums = [7,...
/* * Copyright © 2021 <NAME> <<EMAIL>> http://io7m.com * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND...
/* * This file is part of LanternServer, licensed under the MIT License (MIT). * * Copyright (c) LanternPowered <https://www.lanternpowered.org> * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a c...
package com.seeds.economic.assistance.myapplication2.data; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.P...
package tempest; import java.awt.Color; import java.io.Serializable; import java.text.SimpleDateFormat; import java.time.Duration; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.LinkedList; import java.util.Random; import java.util.UUID; import tempest.interfaces.CSVInter...
/* * Copyright (c) 2018 by <NAME>. * * The author licenses this file to you 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 requ...
package uncc; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import uncc.objects.Book; import uncc.objects.Rental; import uncc.objects.Student; import uncc.tables.BookTable; import uncc.tables.HSQLDatabaseTable; import uncc.tables.RentalTable; impo...
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
/* * * StreamWIDE (Team on The Run) * * @createdBy AndroidTeam on jeu., 26 déc. 2019 15:13:16 +0100 * @copyright Copyright (c) 2019 StreamWIDE UK Ltd (Team on the Run) * @email <EMAIL> * * © Copyright 2019 StreamWIDE UK Ltd (Team on the Run). StreamWIDE is the copyright holder * of all code ...
package com.teamscale.upload.utils; import java.io.FileInputStream; import java.io.IOException; import java.security.GeneralSecurityException; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.s...
/* Copyright 2015 Esri * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, softw...
package poml.convert; import poml.io.Poml; import poml.io.Xml; public class Build { public static final String base="build.base"; public static final String plugin="plugin"; public static void all(Poml in, Xml out) { boolean b = in.conf.has(base); boolean p = in.conf.has(plugin); boolean exist = b ...
package com.devil.library.media.utils; import android.app.Activity; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; import android.util.Log; import com.devil.library.media.bean.MediaInfo; import java.io.File; import java.util.ArrayList; import java.util.HashMap...
package io.github.teonistor.chess.move; import io.github.teonistor.chess.board.Position; import io.github.teonistor.chess.core.GameState; import io.github.teonistor.chess.core.Player; import io.github.teonistor.chess.core.UnderAttackRule; import io.github.teonistor.chess.piece.Knight; import io.github.teonistor.chess....
package io.hefuyi.listener.ui.adapter; import android.app.Activity; import android.os.Handler; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import andr...
package org.dieesozialen.service; import org.dieesozialen.db.repos.AuthorityRepo; import org.dieesozialen.entity.Address; import org.dieesozialen.entity.Authority; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; @Service public clas...
/* * Copyright 2008 blue media labs ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
package com.blackboard.consulting.web; import java.text.DecimalFormat; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.annotation.Resource; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Mode...
import java.awt.Component; import java.awt.Graphics; import net.runelite.mapping.Export; import net.runelite.mapping.Implements; import net.runelite.mapping.ObfuscatedGetter; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("aj") @Implements("Canvas") public ...
package org.springframework.http; import java.io.Serializable; import java.nio.charset.Charset; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import jav...
/* * 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 net.phatcode.rel.multimedia; import org.lwjgl.BufferUtils; import org.lwjgl.LWJGLException; import org.lwjgl.openal.AL; import org.lwjgl.openal.AL10; import org.lwjgl.util.WaveData; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.nio.FloatBuffer; import java.nio.IntBuff...
package com.ezwel.htl.interfaces.server.entities; //import lombok.Data; //import lombok.EqualsAndHashCode; import org.apache.ibatis.type.Alias; import com.ezwel.htl.interfaces.commons.thread.Local; import com.ezwel.htl.interfaces.commons.utils.APIUtil; import com.ezwel.htl.interfaces.commons.annotation.APIModel...
/* * PreAbilityParserTest.java * Copyright 2007 (C) <NAME> <<EMAIL>> * * 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 ...
package com.mylhyl.circledialog.view; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.view.ViewParent; import android.widget.ImageView; import android.widget.Li...
/* * This file or a portion of this file is licensed under the terms of * the Globus Toolkit Public License, found in file ../GTPL, or at * http://www.globus.org/toolkit/download/license.html. This notice must * appear in redistributions of this file, with or without modification. * * Redistributions of this Soft...
/** * Copyright (C) 2016 <NAME> (<EMAIL>) and contributors * * DimensionDeserializer.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/LICEN...
package io.agrest.cayenne.compiler; import io.agrest.compiler.AnnotationsAgEntityBuilder; import io.agrest.meta.*; import io.agrest.resolver.NestedDataResolver; import io.agrest.resolver.RootDataResolver; import io.agrest.resolver.ThrowingRootDataResolver; import org.apache.cayenne.dba.TypesMapping; import org.apache....
/* * Copyright 2008-2016 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
package com.hy.pull.service.game; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereo...
/* * Copyright (c) 2015 SONATA-NFV, UCL, NOKIA, NCSR Demokritos 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 * ...
import java.util.Random; import java.util.Scanner; public class HighLow { private static boolean[][] notPickedYet = new boolean[4][13]; // if a card is chosen this value changes so that it // cannot be chosen again private Customer customer; private Casino casino; private int bet; publ...
package ncats.stitcher.impl; import java.io.*; import java.net.*; import java.util.*; import java.util.regex.*; import java.util.logging.Level; import java.util.logging.Logger; import java.lang.reflect.Array; import java.sql.*; import org.neo4j.graphdb.Label; import org.neo4j.graphdb.Transaction; import javax.xml.st...
package de.tud.nhd.petimo.view.fragments.lists.adapters; import android.animation.Animator; import android.content.Context; import android.graphics.drawable.ColorDrawable; import android.support.v4.content.ContextCompat; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import a...
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
package de.deutschebahn.bahnhoflive.backend.local.model; import android.os.Build; import android.os.Parcel; import android.os.Parcelable; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.gms.maps.model.LatLng; import org.json.JSONArray; import org.json.JSONExceptio...
package nlp4j.stanford; import java.lang.invoke.MethodHandles; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Properties; import java.util.Set; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import edu.stanford.nlp.ling.CoreAnnotati...
/* * 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 Servelets_Funcionais; import ClassesJavaBean.Cartao; import ClassesJavaBean.Cliente; import ClassesDAO.ClienteDAO; import Clas...
package org.jtrim2.stream; import org.jtrim2.cancel.CancellationToken; /** * Defines a source of zero or more sequences of elements. If you only need to provide a single * sequence of elements, then consider using {@link SeqProducer} instead. The producer may or may not * be reusable depending on the implementatio...
/* * Copyright 2004-2013 ICEsoft Technologies Canada Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...