text stringlengths 3.08k 15.2k |
|---|
package de.crysxd.ownfx;
import gnu.io.PortInUseException;
import gnu.io.UnsupportedCommOperationException;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import javax.naming.CommunicationException;
public class ArduinoCommunicator {
//The serial connection to comm... |
/**
* 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.gempukku.swccgo.cards.set5.light;
import com.gempukku.swccgo.cards.AbstractLostInterrupt;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.cards.effects.AddBattleDestinyEffect;
import com.gempukku.swccgo.cards.effects.usage.OncePerBattleEffect;
import com.gempukku.swccgo.common.I... |
public class Hakinda {
public static void burpee_bilgi(){
System.out.println("1)NASIL YAPILIR:\n"
+ " İlk önce bacaklarınız, birbirinden biraz ayrı olacak şekilde durun.\n"
+ " Vücudunuzu, squat pozisyonuna benzer şekilde çömelme noktasına gelene kadar indirin ve avuç... |
/*
* Copyright 2006 University of Virginia
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... |
/**
* Copyright 2019 HUAWEI Corporation.
* <p>
* 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
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law... |
/*
* 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 eu.daiad.web.repository;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.hbase.H... |
/*
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2015, CKSource - <NAME>. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file o... |
package com.june.dto.back.system.base;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import org.hibernate.validator.constraints.NotEmpty;
import org.springframework.format.annotat... |
package com.squareup.square.models;
import java.util.List;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonGetter;
/**
* This is a model class for CatalogProductSet type.
*/
... |
package activitytest.example.com.qualifiedparents;
import android.app.Application;
import android.content.Intent;
import android.graphics.Point;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.FloatingActionButton;
import android.support.v4.app.Fragment;
impor... |
/*
* $Id: QPanel.java,v 1.7 2008/01/28 21:28:37 edankert Exp $
*
* Copyright (c) 2002 - 2008, <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 mus... |
/*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... |
package at.asteraether.adventuretree.editor;
import at.asteraether.adventuretree.adventure.Adventure;
import at.asteraether.adventuretree.adventure.TextSpeed;
import at.asteraether.adventuretree.adventure.state.State;
import at.asteraether.adventuretree.adventure.variable.Variable;
import at.asteraether.adventuretree.... |
/*******************************************************************************
* Software Name : RCS IMS Stack
* <p/>
* Copyright (C) 2010-2016 Orange.
* <p/>
* 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 ... |
/*
* MIT License
*
* Copyright (c) 2021 IntellectualSites
*
* 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... |
package oracle.apps.uikit.hcm.infolets.bean;
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
*
**/
import java.util.ArrayList;
import java.util.List;
public class HcmInfoletsBean {
private List<HcmTeamPerson> _teamPersonList;
private List<HcmRequisition> _requisitionList;
//A... |
package engine.entity.building;
import java.util.AbstractMap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import configuration.EntityConfiguration;
import configuration.GameConfiguration;
import engine.Entity;
import engine.Position;
import engine.manager.GraphicsManager;
im... |
/*
* 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.main.smartmirror.smartmirror;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.vie... |
package org.dezzPro.quadtree;
import java.awt.*;
import java.util.*;
import java.util.function.BiConsumer;
public class QuadTreeNode<T extends Object2D> {
private static final int MAX_OBJECTS_PER_NODE = 2;
private static final int MAX_DEPTH = 6;
private Map<NodeType, QuadTreeNode<T>> nodes;
private int depth... |
/*
* Copyright 2016 Key Bridge LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package com.tvd12.ezyfox.testing.entity;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalTime;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import org.testng.annotations.Test;
import com.tvd12.ezyfox.collect.Sets;
import com.tvd12.ezyfox.builder.EzyObjectBuil... |
package services;
import models.Instruction;
import models.Settlement;
import models.TransactionType;
import org.junit.Test;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Currency;
import java.util.List;
import java.util.Map;
import static org.assertj.core.api.... |
package net.sourceforge.mayfly;
import net.sourceforge.mayfly.datastore.DataStore;
import java.sql.Connection;
import java.sql.Driver;
import java.sql.DriverManager;
import java.sql.DriverPropertyInfo;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Properties;
/**
* JDBC Driver for Mayfly.... |
package de.metas.migration.impl;
import java.util.Collection;
import java.util.HashSet;
import java.util.function.Supplier;
/*
* #%L
* de.metas.migration.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... |
/**
* Copyright 2019 University of Cambridge
*
* 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 ... |
/* TODO
ACTUAL TODOs:
- Import from .map file
Types:
1) 2D Sqrs
2) 2D Hexagons
3) 3D Globe
forEach:
1) VIEW
2) EDITOR
3) 3D
Names
Map generation (procedural)
Map EDITOR
map viewer
mapGeditor ~Pro
MG6
MapLab
*/
import java.util.*;
public abstract class Map implements Subscriber{
public HashMa... |
package life.genny.channel;
import java.lang.invoke.MethodHandles;
import java.util.List;
import org.apache.logging.log4j.Logger;
import org.json.JSONObject;
import io.vertx.core.MultiMap;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpServerRequest;
import io.vertx.cor... |
package xuul.flint.common.block;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.core.particles.ParticleTypes;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.sounds.SoundEvents;
import net.minecraft.sounds.SoundSource;
import net.minecraft.world.Inter... |
package com.igvig.wordler;
import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
import java.util.Set;
import java.util.stream.Collectors;
public class Wordler {
private static Scanner scanner;
private static final LinkedList<WordInfo> init... |
package Test;
import java.util.Scanner;
import modeles.Enseignant;
import modeles.Etudiant;
import modeles.Role;
import modeles.User;
import services.ServiceEns;
import services.ServiceEtudiant;
import services.ServiceUser;
public class Menu {
ServiceUser sU = new ServiceUser();
ServiceEtudiant sEt = new Se... |
package Application.Controllers;
import Application.Helpers.MusicAdder;
import Application.Helpers.Track;
import Application.Helpers.TrackPlayer;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
import javafx.scene.image.ImageView;
im... |
package com.opentravelsoft.action.manage.product;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.opentravelsoft.util.LabelValueBean;
import org.springframework.beans.factory.annotation.Autowired;
... |
/*
* Copyright 2004-2013 the Seasar Foundation and the Others.
*
* 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 ... |
/*
Copyright 2008 <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,... |
package com.esplibrary.packets;
import android.bluetooth.BluetoothGattCharacteristic;
import com.esplibrary.packets.InfDisplayData;
/*
factory for creating an InfDisplayData
*/
public class InfDisplayDataFactory {
InfDisplayData d;
/*Constants for accessing the BOGEY COUNTER IMAGE 1 byte inside of t... |
package ai.labs.templateengine;
import ai.labs.lifecycle.ILifecycleTask;
import ai.labs.memory.IConversationMemory;
import ai.labs.memory.IData;
import ai.labs.memory.IDataFactory;
import ai.labs.memory.IMemoryItemConverter;
import ai.labs.output.model.QuickReply;
import ai.labs.resources.rest.extensions.model.Extensi... |
/*-
* Copyright 2015 <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 t... |
package com.sinapsi.webservice.engine;
import com.google.gson.Gson;
import com.sinapsi.engine.ComponentFactory;
import com.sinapsi.engine.MacroEngine;
import com.sinapsi.engine.SinapsiVersions;
import com.sinapsi.engine.VariableManager;
import com.sinapsi.engine.components.ActionLog;
import com.sinapsi.engine.componen... |
/*
* Copyright (C) 2013 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
package eiteam.esteemedinnovation.tools.steam.upgrades.drillhead;
import com.google.gson.*;
import eiteam.esteemedinnovation.api.APIConfig;
import eiteam.esteemedinnovation.commons.OreDictEntries;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;
import org.apache.commons.io.FileUti... |
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import org.ggp.base.apps.player.Player;
import org.ggp.base.player.gamer.exception.GamePreviewException;
import org.ggp.base.player.gamer.statemachine.StateMachineGamer;
import org.ggp.base.util.game.Game;
import ... |
/**
* Copyright 2010 Bazaarvoice, 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 agre... |
package com.telenav.osv.ui.list;
import java.util.ArrayList;
import android.app.Activity;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.os.Build;
import android.support.v7.widget.RecyclerView;
import android.vie... |
package com.ppm.integration.agilesdk.connector.octane.model.workplan;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.ppm.integration.agilesdk.connector.octane.OctaneConstants;
import com.ppm.integration.agilesdk.connector.octane.model.GenericWorkItem;
import com.ppm.integration.a... |
/*
* Copyright 2019 <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 ... |
package A2Q2;
import java.util.*;
/**
* Adaptible priority queue using location-aware entries in a min-heap, based on
* an extendable array. The order in which equal entries were added is
* preserved.
*
* @author jameselder
* @param <E>
* The entry type.
*/
public class APQ<E> {
private final Ar... |
/**
* Copyright 2014-2015 Kakao Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
package net.voovo.push;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
... |
// Copyright (c) 2014 <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, distri... |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... |
package net.renfei.web.controller;
import net.renfei.core.entity.*;
import net.renfei.dao.entity.VAllInfoWithBLOBs;
import net.renfei.web.baseclass.BaseController;
import net.renfei.web.entity.AllInfoVO;
import net.renfei.web.entity.CategoryVO;
import net.renfei.web.entity.OGprotocol;
import org.springframework.beans.... |
/*
Original class created by <NAME>.
Contributions for CISC191 Roguelike project
from <NAME> and <NAME>.
*/
package roguelike;
import roguelike.entities.Player;
import roguelike.ui.Interface;
import roguelike.world.World;
import roguelike.world.WorldBuilder;
import java.awt.*;
import java.awt.event.InputEvent... |
package org.ros.internal.node.server;
import java.lang.reflect.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* The remote call mechanism depends on Java reflection to provide access to methods that can be
* remotely invoked via serializable arguments and method name. By ... |
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
//******************************************************
//Instituto Federal de São Paulo - Campus Sertãozinho
//Disciplina......: M3LPBD
//Programação de Computadores e Dispositivos Móveis
//Aluno...........: <NAME>
//******************************************************
package cadastrodedisciplinas;
import java.sq... |
/*
* Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved.
*/
/*
* Calculation
* You use the Calculation service for SAP Omnichannel Promotion Pricing in your sales channel application to determine the effective sales prices by applying promotional rules in the relevant customer context. The ... |
/******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* 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 a... |
package jimmy.mcgymmy.logic;
import static jimmy.mcgymmy.commons.core.Messages.MESSAGE_INVALID_FOOD_DISPLAYED_INDEX;
import static jimmy.mcgymmy.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND;
import static jimmy.mcgymmy.testutil.Assert.assertThrows;
import static org.junit.jupiter.api.Assertions.assertEquals;
import ... |
/**
* The BSD License
*
* Copyright (c) 2010-2018 RIPE NCC
* 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,
* ... |
import java.util.*;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.collection.IsIn.*;
// LC451: https://leetcode.com/problems/sort-characters-by-frequency/
//
// Given a string, sort it in decreasing order based on the frequency of characters.
public class FrequencySort {
// C... |
package macbury.forge.terrain.greedy;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Disposable;
import com.badlogic.gdx.utils.Pool;
import macbury.forge.blocks.Block;
import macbury.forge.utils.Vector3i;
import macbury.forge.voxel.ChunkMap;
import macbury.forg... |
/*
* Contributions to FindBugs
* 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 later ver... |
/*
* The MIT License
*
* Copyright (c) 2010, InfraDNA, Inc.
*
* 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, co... |
package tamil.util.regex;
import my.interest.lang.tamil.StringUtils;
import my.interest.lang.tamil.impl.FeatureSet;
import my.interest.lang.tamil.impl.rx.RxRegistry;
import tamil.lang.api.feature.Feature;
import tamil.lang.api.regex.RXFeature;
import tamil.util.IPropertyFinder;
import tamil.lang.TamilWord;
import jav... |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... |
package org.processmining.plugins.predictive_monitor.bpm.clustering;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeMap;
import org.processmining.plugins.predictive_monitor.bpm.clustering.comparator.ValueComparator;
import org.processmining.p... |
package p320f.p321a.p327d.p332e.p334b;
import java.util.concurrent.Callable;
import p024io.reactivex.exceptions.C13980a;
import p024io.reactivex.exceptions.CompositeException;
import p320f.p321a.C13802r;
import p320f.p321a.C13804t;
import p320f.p321a.p325b.C13194b;
import p320f.p321a.p326c.C13212n;
import p320f.p321a.... |
/**
* Copyright 2017 Syncleus, Inc.
* with portions copyright 2004-2017 <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
*
*... |
import java.io.*;
import java.net.*;
import java.util.*;
import edu.nps.moves.dis7.Vector3Double;
import edu.nps.moves.dis7.Vector3Float;
import edu.nps.moves.disutil.CoordinateConversions;
import edu.nps.moves.disutil.DisTime;
/**
* Creates and sends ESPDUs in IEEE binary format.
*
*
*/
public class anothe... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... |
package com.example.acetumor.components;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Environment;
import android.util.Base64;
import android.util.Log;
import android.widget.... |
package com.giant.initmember;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.ParseException;
import org.apa... |
/**
* Copyright 2013 Twitter, 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 in w... |
package com.dimitri.geonet.geonet;
import android.content.Intent;
import android.graphics.Color;
import android.support.v4.app.NavUtils;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Gravity;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.... |
package com.cpic.carmarket.base;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import android.app.ActivityManager;
import android.app.Application;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.util.Log... |
package org.keiosu.visuturing.gui.panels;
import java.awt.BorderLayout;
import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax... |
package com.sothawo.mapjfx.Styling.Image;
import com.sothawo.mapjfx.Styling.Fill;
import com.sothawo.mapjfx.Styling.Stroke;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
public class RegularShape extends ImageStyle {
private Number opacity;
private boolean rotateWithView;
... |
package com.introtoandroid.viewsamples;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.SystemClock;
import android.util.Log;
import android.view.ContextMenu;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.view.Con... |
package com.swiftype.android.search.helper;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import android.app.SearchManager;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
import 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 applicable law or agreed to in writing, software
* distributed u... |
/**
* Copyright 2015 LinkedIn Corp. 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... |
package com.toobei.common.view;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Handler;
import android.os.Message;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.style.UnderlineSpan;
import android.util.Attr... |
package psidev.psi.mi.jami.utils.comparator.xref;
import psidev.psi.mi.jami.model.CvTerm;
import psidev.psi.mi.jami.model.Xref;
import java.util.Comparator;
/**
* Unambiguous comparator for external identifiers (Xref database and id).
* It compares first the databases and then the ids (case sensitive) but ignores ... |
/*
* Copyright (C) 2013-2016 <NAME>, iMinds-DistriNet, KU Leuven
*
* 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 req... |
package com.waibao.qualityCertification.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.text.TextUtils;
import android.view.... |
package aos.cassandra.stress;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Collections;
import java.util.List;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurre... |
package com.enderzombi102.mception.client;
import net.fabricmc.loader.util.mappings.TinyRemapperMappingsHelper;
import net.fabricmc.mapping.tree.TinyMappingFactory;
import net.fabricmc.mapping.tree.TinyTree;
import net.fabricmc.tinyremapper.OutputConsumerPath;
import net.fabricmc.tinyremapper.TinyRemapper;
import org.... |
/*
* 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 co.edu.uniandes.csw.especialistas.persistence;
import co.edu.uniandes.csw.especialistas.entities.OrdenMedicaEntity;
import co.... |
/*
* 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.github.ilyavy.view;
import java.awt.Desktop;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nonnull;
import com.fasterxml.jackson.core.JsonP... |
package com.cnss.audiotest.a2dp;
import android.bluetooth.BluetoothA2dp;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothProfile;
import android.bluetooth.IBluetoothA2dp;
import android.content.Context;
import android.os.IBinder;
import android.uti... |
package com.open.capacity.answer.controller;
import com.aliyuncs.vod.model.v20170321.GetPlayInfoResponse;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.open.capacity.annotation.log.LogAnnotation;
import com.open.capacity.answer.dao.VideoFilesMapper;
import com.open.capacity.answer.entity.VideoF... |
package org.opentosca.yamlconverter.yamlmodel.yaml.element;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class ServiceTemplate extends YAMLElement {
private String tosca_definitions_version = "";
private String tosca_default_namespace = "";
private Stri... |
package WordEmbeddings;
import Functions.MapFunctions;
import Indexing.LuceneCustomClasses.SnowBallSpanishAnalyzer;
import Indexing.LuceneCustomClasses.StopwordLists;
import Indexing.PassageIndexHandler;
import javafx.scene.paint.Stop;
import org.deeplearning4j.models.embeddings.loader.WordVectorSerializer;
import org... |
/*
* Copyright (c) 2014, <NAME>
*/
package org.bierner.matchbook.matcher.realtime.indexing;
import com.google.common.collect.Lists;
import gnu.trove.set.hash.TLongHashSet;
import java.util.ArrayList;
import java.util.List;
import lombok.Delegate;
import org.bierner.matchbook.matcher.realtime.indexing.CapturingVecto... |
/**
* Grafeas API
* An API to insert and retrieve annotations on cloud artifacts.
*
* OpenAPI spec version: 0.1
*
*
* 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.
*
* Licensed under the Apache... |
package src.network;
import src.Main;
public abstract class Trainer implements Manager {
private Circuit[] circuits;
private double[] fitness;
public final int generationSize;
public final int inputs;
public final int[] layerSize;
public final int outputs;
private double mutationRate;
pri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.