text stringlengths 7 995k |
|---|
package com.yugandhar.mdm.config.app.properties;
/* Generated Aug 7, 2017 3:52:46 PM by Hibernate Tools 5.2.1.Final using Yugandhar custom templates.
Generated and to be used in accordance with Yugandhar Licensing Terms. */
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.fact... |
/*
* #!
* Ontopia Classify
* #-
* Copyright (C) 2001 - 2013 The Ontopia 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... |
/**
* 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... |
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.ant;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
/**
* Tests for the net.sourceforge.pmd.ant package
*
* @author Boris Gruschko ( bo... |
package com.jetfiretool.core.util;
/**
* Hash算法大全<br>
* 推荐使用FNV1算法
*
* @author Jetfire
*/
public class HashUtil {
/**
* 加法hash
*
* @param key 字符串
* @param prime 一个质数
* @return hash结果
*/
public static int additiveHash(String key, int prime) {
int hash, i;
for (hash = key.length(), i = 0; i < ... |
/*
* Licensed to Crate under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. Crate licenses this file
* to you under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compl... |
package ch.ethz.scu.obit.microscopy.gui.viewers.data.model;
import ch.ethz.scu.obit.at.gui.viewers.data.model.AbstractNode;
import ch.ethz.scu.obit.at.interfaces.ILazyNode;
import ch.ethz.scu.obit.processors.data.model.DatasetDescriptor;
/**
* Customized Node to be used in a JTree allowing different icons for differ... |
/**
* Wegas
* http://wegas.albasim.ch
*
* Copyright (c) 2013-2020 School of Business and Engineering Vaud, Comem, MEI
* Licensed under the MIT License
*/
package com.wegas.core.security.ejb;
import com.wegas.core.ejb.cron.EjbTimerFacade;
import com.wegas.core.exception.client.WegasConflictException;
import com.w... |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.vicyor.application.repository;
import com.vicyor.application.dto.SKUOrderDTO;
import com.vicyor.application.po.UserShoppingCart;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
imp... |
package com.threelambda.btsniffer.bt;
import io.netty.buffer.ByteBufUtil;
import io.netty.buffer.Unpooled;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.codec.digest.DigestUtils;
import org.junit.Test;
import org.springframework.util.StringUtils;
import java.util.Map;
/**
* @author ym
* @date 2019/10... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
package frc.robot.Commands;
import edu.wpi.first.wpilibj2.command.CommandBase;
import frc.robot.OI;
import frc.robot.Su... |
import java.util.List;
public class MaximumCoinsGain {
/*
17.9
*/
public static int computeMaximum(List<Integer> coins) {
return 0;
}
} |
/*
* Copyright (c) 2008-2019, 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 ... |
package com.redhat.mercury.service.contactdialog.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.redhat.mercury.service.contactdialog.model.CurrentAccountSdReferenceIdCurrentAccountFulfillmentArrangementCrReferenceId... |
public class TreeNode {
int val;
TreeNode left;
TreeNode right;
TreeNode(int x) { val = x; }
TreeNode(int x, TreeNode left, TreeNode right){
this.val = x;
this.left = left;
this.right = right;
}
} |
/*
* 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
* distribut... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* 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 ... |
/*
* 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 (c) 2009-2010, J. M. Dieterich and B. Hartke
2010-2014, J. M. Dieterich
2016-2020, J. M. Dieterich and B. Hartke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
... |
package playground.algorithm;
public class SearchInRotatedSortedArray {
public int search(int[] nums, int target) {
int left = 0, right = nums.length - 1;
while (left <= right) {
int middle = left + ((right - left) >> 1);
if (nums[middle] == target) {
return... |
package com.prowidesoftware.swift.model.mx.dic;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builde... |
package ArithmeticCode.SwordToOffer.code;
/**
* 翻转单词顺序列.md
*/
public class Test44 {
public static void main(String[] args) {
System.out.println(new Test44().ReverseSentence("I am a student."));
System.out.println(new Test44().ReverseSentence2("I am a student."));
System.out.println(new T... |
/*
* Copyright (c) 2018 Otávio Santana and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
* The Eclipse Public License is available at http://www.ec... |
package io.github.vampirestudios.artifice.api.builder.data.worldgen;
import com.google.gson.JsonObject;
import net.minecraft.resources.ResourceKey;
import net.minecraft.world.level.levelgen.DensityFunction;
import net.minecraft.world.level.levelgen.synth.NormalNoise;
public class JsonHelper {
private JsonObject js... |
package com.codenameflip.chatchannels.commands;
import com.codenameflip.chatchannels.ChatChannels;
import com.codenameflip.chatchannels.structure.IChannelRegistry;
import org.bukkit.command.CommandExecutor;
/**
* ChatChannels
*
* @author Cameron Fletcher
* @since 06/03/2018
*/
public interface ChatChannelsComman... |
/*
* Copyright 2002-2012 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... |
@org.checkerframework.framework.qual.DefaultQualifier(org.checkerframework.checker.nullness.qual.Nullable.class)
public class MyException extends Exception {
public MyException() { }
public final String getTotalTrace() {
final StringBuilder sb = new StringBuilder();
//:: error: (iterating.... |
package ke.co.skyworld.wso2_monitoring;
public class UserAccounts {
private int user_id;
private String user_status;
private String user_status_description;
private String user_status_date;
private String account_access_mode;
private String username;
private String first_name;
private ... |
/*
* 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 ... |
/*
* ResponseListener
* Connect SDK
*
* Copyright (c) 2014 LG Electronics.
* Created by Hyun Kook Khang on 19 Jan 2014
*
* 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
*
* htt... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
package Utils;
import jakarta.faces.view.ViewScoped;
import jakarta.inject.Named;
import java.io.Serializable;
/**
*
* @author csgn
*/
@Named("navigation")
@ViewScoped
public class Navigation implements Serializable {
final private String path = "/modules/";
final private String extension = ".xhtml";
private St... |
package vip.mate.core.file.util;
import cn.afterturn.easypoi.excel.ExcelExportUtil;
import cn.afterturn.easypoi.excel.ExcelImportUtil;
import cn.afterturn.easypoi.excel.entity.ExportParams;
import cn.afterturn.easypoi.excel.entity.ImportParams;
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
import org.apach... |
import entity.Person;
import entity.Student;
import org.junit.Assert;
import org.junit.Test;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;
public class StringFormatterTest {
@Test
public void format1() {
StringFormatter stringFormatter = new StringFormatter(null);
... |
package nextstep.subway.line.domain;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import static org.assertj.core.api.Assertions.assertThat;
import static org.as... |
/*
* Copyright © 2018 Apple Inc. and the ServiceTalk project 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 requi... |
/*
* Copyright 2013-2017 consulo.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 required by applicable law or agreed to ... |
package gms.dataacquisition.seedlink.clientlibrary.data.formats;
import gms.dataacquisition.seedlink.clientlibrary.data.Format.Uncompressed;
public class Ascii extends Uncompressed {
@Override
public int code() { return 0; }
@Override
public int sampleLength() { return 1; }
@Override
public String name() { re... |
package Catman2D.Logic;
public interface LogicListener {
public abstract void onUpdate();
} |
/*
* 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... |
/*
* 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 under t... |
// SPDX-License-Identifier: MIT
package com.mercedesbenz.sechub.owaspzapwrapper.config;
import java.io.File;
import java.io.IOException;
import com.mercedesbenz.sechub.commons.TextFileReader;
import com.mercedesbenz.sechub.commons.model.SecHubScanConfiguration;
import com.mercedesbenz.sechub.commons.model.SecHubWebSc... |
package com.dremio.exec.store.jdbc.dialect.arp;
import com.fasterxml.jackson.annotation.*;
import com.google.common.collect.*;
import java.util.*;
public class VariableOperatorDefinition extends OperatorDefinition
{
VariableOperatorDefinition(@JsonProperty("names") final List<String> names, @JsonProperty("variabl... |
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "li... |
/*
* Copyright 2002-2018 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... |
/*
* Copyright (c) 2020-2021, Antonio Gabriel Muñoz Conejo <antoniogmc at gmail dot com>
* Distributed under the terms of the MIT License
*/
package com.github.tonivade.purejson;
import static com.github.tonivade.purefun.data.ImmutableList.toImmutableList;
import static com.github.tonivade.purefun.data.ImmutableMap... |
package COMSETsystem;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Map;
public class Statistics {
public static void agent_statistics(Simulator simulator, AgentEvent ag, ResourceEvent resource, long arriveTime) {
... |
/*
* Swift Parallel Scripting Language (http://swift-lang.org)
* Code from Java CoG Kit Project (see notice below) with modifications.
*
* Copyright 2005-2014 University of Chicago
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... |
/*
* 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 ... |
/*
* 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 logica.impresion;
/**
*
* @author Toshiba
*/
public class Objeto {
private int id;
private String nombre;
priva... |
package com.github.bael.course.unit2.examples.inheritance;
/*
* Транспортное средство
* */
public abstract class Vehicle {
private int velocity;
private int weight;
protected String destination;
protected abstract void move();
public void travel(String destination) {
this.destination = des... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.instrumentation.jaxrs.v2_0;
import static net.bytebuddy.matcher.ElementMatchers.named;
import static net.bytebuddy.matcher.ElementMatchers.namedOneOf;
import static net.bytebuddy.matcher.ElementMatc... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); ... |
package uk.co.epsilontechnologies.primer.domain;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
public interface Response {
void populate(HttpServletResponse httpServletResponse) throws IOException;
} |
package com.fourtk.movieflix.resources;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort.Direction;
import org.springframework.http.Response... |
/*
* ============================================================================
* JGribX
* ============================================================================
* Written by Andrew Spiteri <andrew.spiteri@um.edu.mt>
* Adapted from JGRIB: http://jgrib.sourceforge.net/
*
* Licensed under MIT: https://git... |
package com.example.mentalhealthguide;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.method.LinkMovementMethod;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.wid... |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... |
/*
* Copyright 2014-present Facebook, 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... |
/*******************************************************************************
* Copyright (c) 2019 Georgia Tech Research 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 obtain a copy of the License at
*
... |
package io.bootique.logback.sentry;
import com.google.inject.Binder;
import com.google.inject.Module;
/**
* Loads configuration for {@link io.sentry.Sentry}.
*
* @author Ibragimov Ruslan
* @since 0.16
*/
public class LogbackSentryModule implements Module {
@Override
public void configure(Binder binder) ... |
/*******************************************************************************
* Copyright 2017 Bstek
*
* 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/l... |
package com.github.zhenwei.pkix.mime.encoding;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
/**
* Reader for Base64 armored objects which converts them into binary data.
*/
public class Base64InputStream
extends InputStream {
/*
* set up the decoding table.
*/
... |
/*
* The MIT License
*
* Copyright (c) 2009-2021 PrimeTek
*
* 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... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.felhr.usbserial;
import com.felhr.utils.HexData;
import android.util.Log;
public class UsbSerialDebugger
{
private static final String CLASS_ID = UsbSerialDebugger.class.getSimpleName();
public static final String ENCODING = "UTF-8";
private UsbSerialDebugger()
{
}
public stati... |
package com.oulumo.ngrok.client.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* @author Zsolt Homorodi.
*/
public enum TunnelCreationTlsType {
@JsonProperty("true")
HttpsOnly,
@JsonProperty("false")
HttpOnly,
@JsonProperty("both")
Both
} |
package com.mytool.admin.dao;
import com.mytool.admin.dto.SmsCouponParam;
import org.apache.ibatis.annotations.Param;
/**
* 自定义优惠券管理Dao
* Created by macro on 2018/8/29.
*/
public interface SmsCouponDao {
/**
* 获取优惠券详情包括绑定关系
*/
SmsCouponParam getItem(@Param("id") Long id);
} |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distri... |
package com.auth0.jwt.algorithms;
import com.auth0.jwt.exceptions.SignatureGenerationException;
import com.auth0.jwt.exceptions.SignatureVerificationException;
import com.auth0.jwt.interfaces.DecodedJWT;
import org.apache.commons.codec.binary.Base64;
class NoneAlgorithm extends Algorithm {
NoneAlgorithm() {
... |
package jetbrains.mps.core.xml.textGen;
/*Generated by MPS */
import jetbrains.mps.text.rt.TextGenDescriptorBase;
import jetbrains.mps.text.rt.TextGenContext;
import jetbrains.mps.text.impl.TextGenSupport;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations;
import org.jetbrains.mps.openapi.l... |
package ca.ulaval.glo4003.gates.helpers;
import static ca.ulaval.glo4003.gates.helpers.AccessStatusMother.createAccessStatus;
import ca.ulaval.glo4003.gates.services.dto.AccessStatusDto;
public class AccessStatusDtoBuilder {
private String accessStatus = createAccessStatus().toString();
private AccessStatusDtoB... |
package org.apache.ofbiz.shipment.shipment;
import lombok.experimental.FieldNameConstants;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import java.sql.Timestamp;
import org.apache.ofbiz.entity.GenericValue;
import java.util.List;
import java.util.ArrayList;
/**
* Shipment Status
*/
@Fie... |
package utilities.swing;
import java.awt.Color;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.AbstractAction;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swi... |
/*
* 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 under t... |
package com.ocadotechnology.newrelic.apiclient.internal;
import com.ocadotechnology.newrelic.apiclient.ServersApi;
import com.ocadotechnology.newrelic.apiclient.internal.client.NewRelicClient;
import com.ocadotechnology.newrelic.apiclient.internal.model.ServerList;
import com.ocadotechnology.newrelic.apiclient.model.s... |
package org.batfish.representation.cumulus;
import java.io.Serializable;
import java.util.SortedMap;
import java.util.TreeMap;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/** An access-list for IPv4 prefixes */
public final class IpPrefixList implements Serializable {
private @Nullable Strin... |
/*
* Copyright 2012 GitHub 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 ... |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 ~ 2010 Patrick Huy <patrick.huy@frz.cc>
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License ... |
package com.mcmu.juanjesus.mcmuasteroids;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() ... |
package xyz.tdt4240.breakin.game.sprites.bricks;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.badlogic.gdx.math.Vector2;
import java.util.Timer;
import java.util.TimerTask;
import xyz.tdt4240.breakin.applica... |
package com.skymanlab.weighttraining.management.project.ApiManager;
import android.app.Activity;
import android.app.NotificationChannel;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import androidx.core.app.NotificationCompat;
import android... |
package me.tomassetti.turin.typesystem;
import me.tomassetti.jvm.JvmType;
import me.tomassetti.turin.parser.ast.virtual.ArrayLength;
import me.tomassetti.turin.symbols.Symbol;
import java.util.Map;
import java.util.Optional;
public class ArrayTypeUsage implements TypeUsage {
private static String LENGTH_FIELD_N... |
/*
* Copyright © 2015-2021 I.N.F.N.
* Copyright © 2015-2020 Santer Reply S.p.A.
*
* 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
*
... |
package smartthings.dw.cassandra.loadbalancing;
import com.datastax.driver.core.policies.LoadBalancingPolicy;
import com.datastax.driver.core.policies.TokenAwarePolicy;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeName;
import org.slf4j.Logger;
import org.slf4j.... |
package com.example.gulimall.ware.controller;
import java.util.Arrays;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annot... |
package com.myrunning.leaderboard.model;
/**
* File: Admin.java
* Author: Joshua Forester
* Date: 9/10/2009
* Description: Bean class for Admin object.
**/
import java.util.List;
import java.io.Serializable;
import java.sql.Timestamp;
public class Admin extends Person implements Serializable {
private... |
package hundeklemmen.legacy.extra;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.logging.Level;
public class ActionBar {
// These are the Class instances. Needed to get fields or ... |
/*
* 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) 2008 by the Okapi Framework contributors
-----------------------------------------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in com... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute.v2019_07_01;
import com.fasterxml.jackso... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.firefox.FirefoxDriver;
/**
* Created by Роман on 13.03.2020.
*/
public class NavigationHelper extends HelperBase {
public NavigationHelper(FirefoxDriver wd) {
super(wd);
}
public void gotoGrou... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (th... |
/*
* 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 edu.neu.ccs.prl.meringue;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
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.Ba... |
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
package com.twilio.rest.media.v1;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.twilio.Twilio;
import com.twilio.converter.DateConverter;
import com.twilio.converter.Promoter;
import co... |
package com.qfedu.test;
import java.io.IOException;
import java.io.InputStream;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import com.qfedu.domain.Account;
import co... |
/**
* generated by Xtext 2.12.0
*/
package markHammil.mm.myDsl.tests;
import junit.textui.TestRunner;
import markHammil.mm.myDsl.MyDslFactory;
import markHammil.mm.myDsl.ScratchExpression;
/**
* <!-- begin-user-doc -->
* A test case for the model object '<em><b>Scratch Expression</b></em>'.
* <!-- end-user-doc ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.