text stringlengths 7 995k |
|---|
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* 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
* ... |
/*
* This represents a C "for" statement.
*
* Copyright (c) 2008, Carnegie Mellon University
* This software is distributed under the terms of the
* Simplified BSD License (see tdl/LICENSE.TXT)
*
*/
public class DataForStatement extends DataIterationStatement
{
/* Class variables */
public final sta... |
package io.deephaven.qst.table;
import io.deephaven.api.TableOperations;
import io.deephaven.api.TableOperationsAdapter;
import io.deephaven.qst.TableCreator.OperationsToTable;
import java.util.Objects;
/**
* A table operations adapter that mixes-in {@linkplain StackTraceElement stack trace elements}.
*
* @param ... |
/*
* Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg
*
* 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 require... |
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package pw.cotra.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import pw.cotra.dao.SysUserDao;
import pw.cotra.po.SysUser;
import pw.cotra.service.SysUserService;
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserDao,... |
package org.cloud.sonic.simple.controller;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.cloud.sonic.simple.config.WebAspect;
import org.cloud.sonic.simple.models.base.CommentPage;
import org.cloud.sonic.simple.models.domain.TestCases;
import org.... |
/*
* Copyright 2016-17 inpwtepydjuf@gmail.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... |
// Array-based implementation of the ADT list.
public class ComparableListArrayBased implements ComparableListInterface
{
private static final int MAX_LIST = 50;
private Comparable items[]; // an array of list items
private int numItems; // number of items in list
public ComparableListArrayBa... |
/*
* Copyright 2003 - 2013 The eFaps 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 law or ... |
/* Generated By:JJTree: Do not edit this line. OLetItem.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=true,NODE_PREFIX=O,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.orientechnologies.orient.core.sql.parser;
import java.util.Map;
pu... |
/*
* Copyright 2012-2019 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package msf.mfcfc.node.interfaces.internalifs.data;
import java.util.List;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.google.gson.annotations.SerializedName;
import msf.mfcfc.rest.common.AbstractResponseBody;
public class InternalIfReadListResponseBody extends AbstractResponseBody {
@Ser... |
// jTDS JDBC Driver for Microsoft SQL Server and Sybase
// Copyright (C) 2004 The jTDS Project
//
// 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, ... |
package at.mw.games;
public interface Player<P extends Player<P>> {
P opponent();
} |
/*
* 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 dhbwka.wwi.jpa;
import java.util.List;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import or... |
package org.mockserver.examples.proxy.web.controller;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.mockserver.examples.proxy.model.Book;
import org.mockserver.examples.proxy.web.controller.pageobjects.BookPage;
import org.mockserver.examples.prox... |
/*
* Copyright (c) 2017 Richard Jones <richard@mechanicalcat.net>
* All Rights Reserved
*
* 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 limitati... |
/*
* Copyright 2002-2014 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 ap... |
package com.tiger.easyrpc.remote.netty4;
import com.tiger.easyrpc.core.EasyRpcManager;
import com.tiger.easyrpc.core.cache.client.MessageToChannelManager;
import com.tiger.easyrpc.core.config.ConsumerConfig;
import com.tiger.easyrpc.remote.RpcException;
import com.tiger.easyrpc.remote.api.Client;
import com.tiger.easy... |
//Name: Duy Nguyen
public class Gambler{
String name;
private double balance;
boolean isHouse;
int numGameWon;
int numGameLost;
public Gambler(String name, double balance, boolean isHouse){
this.name = name;
this.balance = balance;
this.isHouse = isHouse;
}
public String toString() {
return this.name;
... |
/**
* <p>Company: www.black-shop.cn</p>
*
* <p>Copyright: Copyright (c) 2018-2050</p>
* <p>
* black-shop(黑店) 版权所有,并保留所有权利。
*/
package cn.blackshop.gateway.config;
import java.util.ArrayList;
import java.util.List;
import lombok.AllArgsConstructor;
import org.springframework.cloud.gateway.config.GatewayProperties... |
/*
* 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 bayern.steinbrecher.screenswitcher;
public class ScreenCreationException extends Exception {
public ScreenCreationException() {
}
public ScreenCreationException(String message) {
super(message);
}
public ScreenCreationException(String message, Throwable cause) {
super(mess... |
/**
* Copyright (C) 2015, GIAYBAC
*
* Released under the MIT license
*/
package com.example;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author THOQ LUONG Mar 22, 2015 3:49:22 PM
*/
public class Table {
//--------------------------------------------------------------------------
// Member... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common
* Development and Distribution License("CDDL")... |
package by.tms.DNweb.repository;
import by.tms.DNweb.entity.Card;
import org.springframework.data.repository.CrudRepository;
import java.util.List;
public interface CardRepository extends CrudRepository<Card,Long> {
List<Card> findCardsByUserId(int userId);
Card findCardByCardNumber(String cardNumber);
} |
package de.spricom.dessert.resolve;
/*-
* #%L
* Dessert Dependency Assertion Library for Java
* %%
* Copyright (C) 2017 - 2022 Hans Jörg Heßmann
* %%
* 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 t... |
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ecs20140526.models;
import com.aliyun.tea.*;
public class PurchaseReservedInstancesOfferingRequest extends TeaModel {
@NameInMap("RegionId")
@Validation(required = true)
public String regionId;
@NameInMap("ResourceGroupId")
... |
package net.poksion.chorong.android.samples.ui;
import android.databinding.DataBindingUtil;
import android.support.annotation.LayoutRes;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import net.poksion.chorong.android.samples.R;
import net.poksion.chorong.android.samples.... |
package org.hl7.fhir.r5.model.codesystems;
/*
* #%L
* org.hl7.fhir.r5
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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... |
/*
* Copyright 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... |
package org.meridor.stecker.impl;
import java.io.IOException;
import java.nio.file.FileVisitResult;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.SimpleFileVisitor;
import java.nio.file.attribute.BasicFileAttributes;
public class FileSystemHelper {
public static Path createTempDirec... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/** * 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 license... |
package com.jpeng.jptabbar.animate;
import android.view.View;
import android.view.animation.AnticipateInterpolator;
import com.nineoldandroids.animation.ObjectAnimator;
import com.nineoldandroids.view.ViewHelper;
/**
* Author jpeng
* Date: 16-11-15
* E-mail:peng8350@gmail.com
* 实现旋转的动画类
*/
public class RotateAni... |
package net.hexogendev.hexogen.api;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
public class Build {
public static final int CURRENT_VERSION = VERSION_CODES.AIR;
private static final List<String> map;
static {
map = new CopyOnWriteArrayList<String>();
map.add(VERSION_CODES.UNKNO... |
/*
* JaamSim Discrete Event Simulation
* Copyright (C) 2016 Harvey Harrison
*
* 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 io.antmedia.statistic;
import io.antmedia.statistic.type.WebRTCAudioReceiveStats;
import io.antmedia.statistic.type.WebRTCAudioSendStats;
import io.antmedia.statistic.type.WebRTCVideoReceiveStats;
import io.antmedia.statistic.type.WebRTCVideoSendStats;
public interface IStatsCollector {
public static final S... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v0/services/gender_view_service.proto
package com.google.ads.googleads.v0.services;
public interface GetGenderViewRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v0.services.GetG... |
package com.echopen.asso.echopen.utils;
import android.graphics.drawable.Drawable;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
public class TouchEffect implements OnTouchListener
{
@Override
public boolean onTouch(View v, MotionEvent event)
{
if (event.g... |
package org.knowm.xchange.dto.trade;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.Order;
import org.knowm.xchange.currency.*;
/**
* <p>
* DTO representing a limit order
* </p>
* <p>
* A limit order lets you ... |
package com.didactilab.jsjvm.client.flow;
public interface FlowFinalInstruction {
} |
//
// ========================================================================
// Copyright (c) 1995-2020 Mort Bay Consulting Pty Ltd and others.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available und... |
package calculator;
public class Transaction {
} |
/*
* 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 ... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/* JAT: Java Astrodynamics Toolkit
*
* Copyright (c) 2002 National Aeronautics and Space Administration. All rights reserved.
*
* This file is part of JAT. JAT is free software; you can
* redistribute it and/or modify it under the terms of the
* NASA Open Source Agreement
*
*
* This program is distributed in ... |
// This file was generated by Mendix Modeler.
//
// WARNING: Code you write here will be lost the next time you deploy the project.
package interfaceshared.proxies;
public class OutgoingConfirmation extends interfaceshared.proxies.OutgoingMessage
{
/**
* Internal name of this entity
*/
public static final java.... |
package com.techprimers.mybatis.springbootmybatis.controller;
import com.techprimers.mybatis.springbootmybatis.mapper.QuestionDynamicSqlSupport;
import com.techprimers.mybatis.springbootmybatis.mapper.QuestionMapper;
import com.techprimers.mybatis.springbootmybatis.model.Course;
import com.techprimers.mybatis.springbo... |
public class PassouLimiteArrayException extends Exception{
private int numerador;
private int denominador;
public PassouLimiteArrayException(String message, int numerador, int denominador) {
super(message);
this.numerador = numerador;
this.denominador = denominador;
}
} |
/*
* The MIT License
*
* Copyright (c) 2014- High-Mobility GmbH (https://high-mobility.com)
*
* 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 l... |
package com.pacgame.uiElement.layer;
import com.pacgame.View;
import com.pacgame.provider.LayerProvider;
import com.pacgame.provider.color.ColorProvidedObject;
import com.pacgame.uiElement.ILayerBuilder;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
public class FlowLayerBuilder implements IL... |
package com.rockpaperscissor.dialogs;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import com.rockpaperscissor.R;
public class SettingDialog extends Fragment {
private ImageButton bgmCheckBox;
... |
package domain;
import org.joda.time.DateTime;
import org.junit.Assert;
import org.junit.Test;
import domain.helpers.FakeReserva;
public class ReservaTest {
@Test
public void seADataCaiNoPeriodoEntreInicioEFimDaReservaIndicaReservado(){
DateTime carnaval = new DateTime(2014, 3, 4, 0, 0, 0);
DateTime primeiro... |
/*
* Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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/li... |
package manage;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import java.io.File;
public class AtlassianHelper extends HelperBase{
... |
package com.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.HomeSubjectEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】
*
* @author hhxx
* @email hx9741479@139.com
* @date 2020-05-17 23:43:48
*... |
/**
* Copyright 2008 - 2015 The Loon Game Engine 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 appl... |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... |
/*
Copyright 2016 Goldman Sachs.
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... |
/*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. 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... |
package com.smart.mvc.service.mybatis.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.smart.mvc.dao.mybatis.Dao;
import com.smart.mvc.exception.DaoException;... |
/**
* 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... |
/*
* PhoneGap is available under *either* the terms of the modified BSD license *or* the
* MIT License (2008). See http://opensource.org/licenses/alphabetical for full text.
*
* Copyright (c) 2005-2010, Nitobi Software Inc.
* Copyright (c) 2010, IBM Corporation
*/
package com.phonegap.accelerometer;
import net.... |
package com.zendesk.maxwell.producer.partitioners;
import com.zendesk.maxwell.row.RowMap;
import org.apache.commons.codec.digest.DigestUtils;
public class MaxwellKinesisPartitioner extends AbstractMaxwellPartitioner {
boolean md5Keys;
public MaxwellKinesisPartitioner(String partitionKey, String csvPartitionColumn... |
/*******************************************************************************
*
* Copyright FUJITSU LIMITED 2017
* ... |
/*
* 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 © 2015 Cask Data, 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 t... |
/*
* Copyright 2016 Gili Tzabari.
* Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
*/
package com.github.cowwoc.pouch.dropwizard.scope;
import java.net.URI;
/**
* Values specific to an HTTP request.
* <p>
* Implementations are not thread-safe.
*
* @author Gili Tzaba... |
package com.horowitz.mickey;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.util.Map;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.SwingUtilities;
import com.horowitz.mickey.data.ContractAnalysis;
import com.horowitz.mickey.data.Contra... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package net.minecraft.inventory.container;
import net.minecraft.advancements.CriteriaTriggers;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.inventory.IInventory;
import net.minecraft.inve... |
package com.appiumair.util;
import com.appiumair.controller.AppiumTools;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.util.Scanner;
/**
* APK安装器
*/
public class APKInstaller {
sta... |
/* The following code was generated by JFlex 1.4.1 on 12/23/12 10:47 PM */
/*
* 12/23/2012
*
* JsonTokenMaker.java - Scanner for the JSON.
*
* This library is distributed under a modified BSD license. See the included
* RSyntaxTextArea.License.txt file for details.
*/
package org.fife.ui.rsyntaxtextarea.modes... |
// this is solution for leetcode problem nu. 6, zigzag-array in java8.
class Solution {
public String convert(String s, int n) {
Map<Integer, StringBuilder> map = new HashMap<>();
int pos = 0;
boolean goDown = true;
// default goDown is true, so pos++ is done and pos=1 now.
... |
/*
* Copyright 2002-2020 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package codeforces.round_600_649.round_636;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
public final class B {
public static void main(String[] args) {
final FastScanner fs... |
/*
* Copyright (c) 2011, 2013, 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 ... |
/*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2020 TechReborn
*
* 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, inc... |
package com.kleematik.katapdi.infra.batch;
import com.kleematik.katapdi.infra.batch.model.Movie;
import lombok.extern.slf4j.Slf4j;
import org.springframework.batch.item.file.MultiResourceItemReader;
import org.springframework.core.io.FileSystemResource;
import java.io.File;
import java.util.Arrays;
@Slf4j
public cla... |
/*
* The MIT License
* Copyright © 2014-2021 Ilkka Seppälä
*
* 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 manager;
import misc.Kontrol;
import user_interface.GameScreen;
public class ManajerKontrol {
Kontrol kontrol;
GameScreen gameScreen;
public ManajerKontrol(Kontrol kontrol, GameScreen gameScreen) {
this.kontrol = kontrol;
this.gameScreen = gameScreen;
}
public boolean update() {
if(kontrol.getN... |
package org.codehaus.jettison.badgerfish;
import java.awt.Color;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.net.URI;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Random;
import java.util.Set;
import javax.xml.stream.XMLStreamException;
import javax.... |
package ch.rweiss.jmcli.chart;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.apache.commons.lang3.StringUtils;
import ch.rweiss.jmcli.AbstractCommand;
import ch.rweiss.jmcli.IntervalOption;
import ch.rweiss.jmcli.JvmOption;
import ch.rweiss.jmcli.chart.config.Cha... |
package com.cmayen.almacen.core.models.dao;
import com.cmayen.almacen.core.models.entity.Producto;
import org.springframework.data.jpa.repository.JpaRepository;
public interface IProductoDao extends JpaRepository<Producto, Long> {
} |
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... |
/*
* 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 rip.orbit.hcteams.persist;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCollection;
import net.frozenorb.qlib.qLib;
import net.frozenorb.qlib.redis.RedisCommand;
import net.frozenorb.qlib.util.UUIDUtils;
import org.bukkit.scheduler.BukkitRunnable;
import redis.clients.jedis.Jedis;
import rip.orbit.hc... |
package com.example.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import androidx.constraintlayout.widget.Barrier;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInst... |
package teamblep.blepcore.common.tileentity.core;
import com.sun.istack.internal.NotNull;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.text.ITextComponent;
import net.minecraft.util.text.TextComponentTranslation;
import ne... |
/*
* 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... |
package com.powerdata.openpa.pwrflow;
/*
* Copyright (c) 2016, PowerData Corporation, Incremental Systems Corporation
* All rights reserved.
* Licensed under the BSD-3 Clause License.
* See full license at https://powerdata.github.io/openpa/LICENSE.md
*/
import java.io.BufferedWriter;
import java.io.File;
import... |
import java.util.Arrays;
/**
This program demonstrates the heapsort algorithm.
*/
public class HeapSortDemo
{
public static void main(String[] args)
{
int[] a = ArrayUtil.randomIntArray(20, 100);
System.out.println(Arrays.toString(a));
HeapSorter.sort(a);
System.out.println(Arrays.... |
/*
* Copyright 2009-2012 Joubin Houshyar
*
* 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... |
// The author disclaims copyright to this source code.
package nl.jvdploeg.flat.rx;
import java.util.Map.Entry;
import java.util.Set;
import nl.jvdploeg.flat.Change;
import nl.jvdploeg.flat.Model;
import nl.jvdploeg.flat.Node;
import nl.jvdploeg.flat.Path;
import nl.jvdploeg.flat.Version;
import nl.jvdploeg.flat.impl... |
package com.google.android.gms.internal.ads;
/* compiled from: com.google.android.gms:play-services-ads@@19.4.0 */
final /* synthetic */ class zzbov implements zzbxz {
private final zzbwk zzfql;
zzbov(zzbwk zzbwk) {
this.zzfql = zzbwk;
}
public final void zzail() {
this.zzfql.zzajz();... |
/*
* (#) io.wisestone.file.service.StorageProperties.java
* Created on 2016-09-22
*
* Copyright 2015 brainage.net
*
* 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.... |
package uk.gov.hmcts.reform.fpl.config;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.NullAndEmptySource;
import org.junit.jupiter.params.provider.ValueSource;
import static org.assertj.core.api.Assertions.assertThat;
import static org.a... |
package clase_06;
import java.util.Scanner;
public class Monedero {
private String empresa;
private String celular;
private Double monto;
private Double saldo;
private String token;
private String usuario;
private Boolean estado;
public Monedero(String emp, String cel, String usu) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.