text stringlengths 7 995k |
|---|
package de.nevini.modules.osu.mappers;
import de.nevini.modules.osu.api.model.OsuApiBeatmap;
import de.nevini.modules.osu.data.*;
import de.nevini.modules.osu.model.*;
import lombok.NonNull;
import static de.nevini.modules.osu.mappers.OsuMapperUtils.*;
public class OsuBeatmapMapper {
public static @NonNull OsuB... |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
/*
* Copyright (c) 2016-2021 Deephaven Data Labs and Patent Pending
*/
package io.deephaven.engine.table.impl;
import io.deephaven.chunk.LongChunk;
import io.deephaven.chunk.WritableChunk;
import io.deephaven.chunk.WritableLongChunk;
import io.deephaven.chunk.WritableObjectChunk;
import io.deephaven.chunk.attribute... |
package com.algokelvin.otto.bus;
import android.os.Handler;
import android.os.Looper;
import com.squareup.otto.Bus;
public class MainThreadBus extends Bus {
private final Handler mHandler = new Handler(Looper.getMainLooper());
@Override
public void post(final Object event) {
//Determine whether ... |
/*
* Copyright 2017-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 applica... |
/*
*
* * Copyright © 2017-2018 minsx.com 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
* ... |
/*
* Copyright (C) 2014 The Android Open Source Project
* Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Publi... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2022 DBeaver Corp and 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/LICE... |
package org.bukkit.inventory;
import com.google.common.collect.ImmutableMap;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang.Validate;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.Utility;
import org.bukkit.configuration.serialization.ConfigurationSeriali... |
package com.team2.pojo.base;
public class CountInfo {
Long userCount;
Long infoCount;
public Long getUserCount() {
return userCount;
}
public void setUserCount(Long userCount) {
this.userCount = userCount;
}
public Long getInfoCount() {
return infoCount;
}
public void setInfoCount(Long infoCount... |
package com.binance.dex.api.client;
import com.binance.dex.api.client.domain.*;
import com.binance.dex.api.client.domain.broadcast.*;
import com.binance.dex.api.client.domain.broadcast.Burn;
import com.binance.dex.api.client.domain.broadcast.CancelOrder;
import com.binance.dex.api.client.domain.broadcast.CreateValidat... |
/*
* Copyright 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 applica... |
package com.huan.rabbitmq.advance.returnlistener;
import com.rabbitmq.client.*;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* RabbitMQ 消息消费者
*
* @author huan.fu
* @date 2018/8/13 - 15:39
*/
public c... |
/*
*
* Copyright (c) 2020. Liquidlabs Ltd <info@liquidlabs.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 requir... |
package io.smallrye.reactive.operators;
import io.reactivex.Flowable;
public class MultiNever<T> extends AbstractMulti<T> {
public static final MultiNever<Object> INSTANCE = new MultiNever<>();
private MultiNever() {
// avoid direct instantiation.
}
@Override
protected Flowable<T> flowab... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.rahul.locationalarm.dashboard.newalarms.geofence;
import android.Manifest;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.a... |
/*
* 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) 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.apach... |
/*
* 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 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*****************************************************************
* 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
* ... |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
package com.atguigu.gmall.sms.controller;
import java.util.List;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.Req... |
package com.talhahasanzia.sampleapp.parsers;
import com.talhahasanzia.csv.core.ParseCallback;
import com.talhahasanzia.csv.core.Parser;
import com.talhahasanzia.csv.exceptions.ColumnsLengthException;
import com.talhahasanzia.csv.models.Row;
import com.talhahasanzia.sampleapp.models.SampleObject;
import java.util.Lin... |
package fact.it.www.control;
import fact.it.www.beans.RoomSize;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servle... |
package com.proximyst.spawnertax;
import com.google.common.base.Enums;
import lombok.Getter;
import lombok.val;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.entity.EntityType;
import org.bukkit.event.HandlerList;
import org.bukkit.permissions.Permission;
import org.bukkit.permissions.PermissionDefault;... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: app/proxyman/command/command.proto
package com.xray.app.proxyman.command;
/**
* Protobuf type {@code xray.app.proxyman.command.AlterInboundRequest}
*/
public final class AlterInboundRequest extends
com.google.protobuf.GeneratedMessageV3 imp... |
/*
* 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 2019 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://www.apache.org/licenses/LICENSE-2.0
*
* or in ... |
package m.co.rh.id.a_news_provider.app.ui.component.settings;
import android.app.Activity;
import android.os.Handler;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ProgressBar;
import android.widget.ScrollView;
import android.widget.TextView;
import com.google.android.material.floatin... |
package org.wikipedia.analytics;
import java.lang.System;
@kotlinx.serialization.Serializable()
public final class SessionData {
@org.jetbrains.annotations.NotNull()
public static final org.wikipedia.analytics.SessionData.Companion Companion = null;
private final org.wikipedia.util.MathUtil.Averaged<java.... |
package ghost.framework.web.module.interceptors;
import ghost.framework.beans.annotation.stereotype.Component;
import ghost.framework.context.bean.factory.AbstractBeanFactoryContainer;
/**
* package: ghost.framework.web.module.interceptors
*
* @Author: 郭树灿{gsc-e590}
* @link: 手机:13715848993, QQ 27048384
* @Descri... |
/*
* Copyright (c) 2000 World Wide Web Consortium,
* (Massachusetts Institute of Technology, Institut National de
* Recherche en Informatique et en Automatique, Keio University). All
* Rights Reserved. This program is distributed under the W3C's Software
* Intellectual Property License. This program is distributed... |
package kore.botssdk.view.tableview;
import android.content.Context;
import android.content.res.Resources;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AbsListView;
import android.widget.ArrayAda... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* Copyright (c) 1998 - 2011. University Corporation for Atmospheric Research/Unidata
* Portions of this software were developed by the Unidata Program at the
* University Corporation for Atmospheric Research.
*
* Access and use of this software shall impose the following obligations
* and understandings on the... |
package com.linkedin.dagli.transformer;
import com.linkedin.dagli.placeholder.Placeholder;
import com.linkedin.dagli.producer.ProducerType;
import com.linkedin.dagli.transformer.internal.PreparedTransformerInternalAPI;
import java.util.function.Function;
/**
* Transformers take at least one {@link com.linkedin.dagl... |
/*
* 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... |
package com.jagsaund.rxuploader.sample.model.wire;
import android.support.annotation.NonNull;
import com.google.gson.TypeAdapterFactory;
import com.ryanharter.auto.value.gson.GsonTypeAdapterFactory;
@GsonTypeAdapterFactory
public abstract class JSONModelTypeAdapterFactory implements TypeAdapterFactory {
@NonNull
... |
package p;
import q.S;
public class A {
S s= new S();
class B {
public B(){
Secondary sec= new Secondary();
sec.f(s);
}
}
} |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.content.browser;
import android.content.Context;
import android.content.res.Configuration;
import android.os.Parcel;
import andr... |
package mblog.base.utils;
import java.util.Date;
/**
* @author cdq2016/7/30.
*/
public class RelativeDateFormat {
private static final long ONE_MINUTE = 60000L;
private static final long ONE_HOUR = 3600000L;
private static final long ONE_DAY = 86400000L;
private static final long ONE_WEEK = 60480000... |
/*
* 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.imengyu.vr720.core.representation;
/**
* The Quaternion class. A Quaternion is a four-dimensional vector that is used to represent rotations of a rigid body
* in the 3D space. It is very similar to a rotation vector; it contains an angle, encoded into the w component
* and three components to describe t... |
package com.outlook.bigkun.idcard;
import com.outlook.bigkun.framework.Factory;
import com.outlook.bigkun.framework.Product;
import java.util.ArrayList;
import java.util.List;
/**
* @author zhanghk
* @since 2019/7/11
*/
public class IDCardFactory extends Factory {
private List<String> owners = new ArrayList()... |
package customList;
import gmailServices.FormattedMessage;
import javafx.geometry.Pos;
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;
import javafx.scene.layout.*;
/**
* Created by Ashok on 4/17/2017.
*/
public class CustomListCellView {
GridPane li... |
package models;
import com.google.gson.annotations.Expose;
import java.util.Objects;
public class Player {
/* -- @Expose to tell gson to add below fields to json returned to user -- */
@Expose
private char type;
@Expose
private int id;
/* -- end fields to serialize here -- */
/**
* Constructor f... |
/*
* 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 dev.morphia.issue463;
import dev.morphia.TestBase;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Id;
import org.bson.Document;
import org.bson.types.ObjectId;
import org.junit.Assert;
import org.junit.Test;
public class TestIssue463 extends TestBase {
@Test
public void save()... |
package mono.com.squareup.picasso;
public class Picasso_ListenerImplementor
extends java.lang.Object
implements
mono.android.IGCUserPeer,
com.squareup.picasso.Picasso.Listener
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"n_onImageLoadFailed:(Lcom/squareup/picasso/Pica... |
/*
* */
package com.synectiks.process.common.plugins.views.migrations.V20191203120602_MigrateSavedSearchesToViewsSupport.view;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.auto.value.AutoValue;
import com.synectiks.process.common.plugins.views.migrations.V20191203120602_MigrateSavedSearches... |
/*
* Copyright © 2015-2019 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
*
* Unless required by applicable la... |
package org.gradle.test.performance.mediummonolithicjavaproject.p73;
public class Production1470 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
... |
/**
* 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 p005cm.aptoide.p006pt.dataprovider.p010ws.p012v3;
import android.content.SharedPreferences;
import android.text.TextUtils;
import p005cm.aptoide.p006pt.dataprovider.interfaces.TokenInvalidator;
import p005cm.aptoide.p006pt.dataprovider.p010ws.BodyInterceptor;
import p005cm.aptoide.p006pt.preferences.managed.Ma... |
package tek.runtime;
import org.joml.Vector2f;
import org.joml.Vector3f;
import org.joml.Vector4f;
public class Transform {
public Vector3f position, rotation, scale, velocity;
{ //local creation
position = new Vector3f();
rotation = new Vector3f();
scale = new Vector3f(1f);
velocity = new Vector3f();
... |
/*
* 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 listinhadosucesso7;
/**
*
* @author Candido
*/
public class ListinhaDoSucesso7 {
/**
* @param args the command li... |
package com.anysoftkeyboard.ui.settings;
import static androidx.test.core.app.ApplicationProvider.getApplicationContext;
import android.content.res.Configuration;
import android.support.v4.app.Fragment;
import android.widget.LinearLayout;
import com.anysoftkeyboard.AnySoftKeyboardRobolectricTestRunner;
import com.any... |
package com.github.tobato.fastdfs.domain.proto.tracker.internal;
import com.github.tobato.fastdfs.domain.proto.CmdConstants;
import com.github.tobato.fastdfs.domain.proto.FdfsRequest;
import com.github.tobato.fastdfs.domain.proto.OtherConstants;
import com.github.tobato.fastdfs.domain.proto.ProtoHead;
import com.githu... |
/*******************************************************************************
* ___ _ ____ ____
* / _ \ _ _ ___ ___| |_| _ \| __ )
* | | | | | | |/ _ \/ __| __| | | | _ \
* | |_| | |_| | __/\__ \ |_| |_| | |_) |
* \__\_\\__,_|\___||___/\__|____/|____/
*
* Copyright (c... |
/*
* Copyright 2021 Shulie Technology, Co.Ltd
* Email: shulie@shulie.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 r... |
package com.wg.gpm.parser;
import com.google.common.collect.Lists;
import org.junit.Before;
import org.junit.Test;
import com.wg.gpm.message.PostDetails;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.Optional;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertF... |
package fruitymod.cards;
import com.megacrit.cardcrawl.actions.common.GainBlockAction;
import com.megacrit.cardcrawl.actions.common.MakeTempCardInDrawPileAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.cards.status.Dazed;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
... |
package net.minecraft.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.passive.EntityHorse;
impor... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.beloo.widget.chipslayoutmanager.layouter;
import android.support.annotation.IntRange;
import java.util.Iterator;
public abstract class AbstractPositionIterator implements Iterator<Integer> {
int pos;
int itemCount;
AbstractPositionIterator(@IntRange(from = 0) int itemCount) {
if (ite... |
/*
* 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 "licen... |
/*
* Copyright 2010-2012 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 "l... |
package e.a.a.a.y0.d.b;
import e.x.c.i;
import kotlin.jvm.internal.DefaultConstructorMarker;
public abstract class h {
public static final class a extends h {
public final h a;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(h hVar) {
... |
/*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.containerregistry.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.f... |
/*
* Copyright 2018 ARP Network
*
* 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... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package com.semantalytics.jena.function.console;
import org.apache.jena.sparql.expr.NodeValue;
import org.apache.jena.sparql.function.FunctionBase0;
import static org.apache.jena.sparql.expr.NodeValue.*;
import static org.fusesource.jansi.Ansi.Attribute.*;
import static org.fusesource.jansi.Ansi.ansi;
public class B... |
/*
* Copyright 2000-2016 Vaadin Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
package Pages;
import java.util.Scanner;
public class _0_Home {
static Scanner sc;
public static void run() throws Exception {
while(true){
System.out.println("###### Home Page #######");
menu();
System.out.print("please select an option: ");
_0_Home.sc ... |
package com.ust.calc.calculadora.clients;
public interface EmployeeDeleteClient {
/**
* Call other service where is the datasource with employees
*/
public void deleteEmployee(String id);
} |
package com.example.lin.a415.model;
/**
* Created by lin on 2018/4/15.
*/
public class SwitchVideoModel {
private String url;
private String name;
public SwitchVideoModel(String name, String url) {
this.name = name;
this.url = url;
}
public String getUrl() {
return url;... |
/*
* Copyright (c) 2000, 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 Softwa... |
package io.github.isanwenyu.demo;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an And... |
/*
* Copyright 2006-2008 Sxip Identity Corporation
*/
package org.openid4java.server;
import org.openid4java.association.Association;
import org.openid4java.association.AssociationException;
import java.util.*;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.jdbc.core.JdbcTe... |
package com.udacity.jdnd.course3.critter.entity;
import com.udacity.jdnd.course3.critter.pet.PetType;
import org.hibernate.annotations.ManyToAny;
import org.hibernate.annotations.Nationalized;
import javax.persistence.*;
import java.time.LocalDate;
import java.util.List;
@Entity
public class Pet {
@Id
@Gener... |
/*
* Copyright 2008-2009 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 xyz.flysium.dao.entity;
import java.io.Serializable;
import java.util.Date;
public class UserAccountBookCategoryDO implements Serializable {
private Long id;
private Long uid;
private Long gid;
private Long cid;
private Long creator;
private Long updater;
private Date createT... |
package com.ddhigh.halia.chat.client.io.packet;
import com.ddhigh.halia.chat.client.io.protocol.MsgType;
import com.ddhigh.halia.chat.client.io.protocol.Opcode;
import com.ddhigh.halia.chat.client.io.protocol.Packet;
import io.netty.buffer.ByteBuf;
@Packet(opcode = Opcode.PublicChatReq)
public class PublicChatReq ext... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
package com.microsoft.azure.toolkit.intellij.mysql;
import com.microsoft.azure.toolkit.intellij.common.AzureComboBox;
import com.microsoft.azure.toolkit.l... |
package lk.ijse.pos.dao.custom.impl;
import lk.ijse.pos.dao.CrudDAOImpl;
import lk.ijse.pos.dao.custom.OrderDAO;
import lk.ijse.pos.entity.Order;
public class OrderDAOImpl extends CrudDAOImpl<Order, Integer> implements OrderDAO{
@Override
public int getLastOrderId() throws Exception {
return (int) se... |
package com.prowidesoftware.swift.model.mx;
import com.prowidesoftware.swift.model.mx.dic.*;
import com.prowidesoftware.swift.model.mx.AbstractMX;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annota... |
package com.thoughtworks.xstream.persistence;
import java.util.AbstractList;
/**
* A persistent list implementation backed on a XmlMap.
*
* @author Guilherme Silveira
*/
public class XmlArrayList extends AbstractList {
private final XmlMap map;
public XmlArrayList(StreamStrategy streamStrategy) {
this.map ... |
// Copyright (C) 2018 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 applicable ... |
// Copyright 2018 Sebastian Kuerten
//
// This file is part of OpenMetroMaps.
//
// OpenMetroMaps 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 3 of the License, or
// (at your option... |
/*
* 3D City Database - The Open Source CityGML Database
* https://www.3dcitydb.org/
*
* Copyright 2013 - 2021
* Chair of Geoinformatics
* Technical University of Munich, Germany
* https://www.lrg.tum.de/gis/
*
* The 3D City Database is jointly developed with the following
* cooperation partners:
*
* Virtua... |
package mil.dds.anet.search;
import mil.dds.anet.beans.AuthorizationGroup;
import mil.dds.anet.beans.lists.AnetBeanList;
import mil.dds.anet.beans.search.AuthorizationGroupSearchQuery;
import mil.dds.anet.beans.search.ISearchQuery.SortOrder;
import mil.dds.anet.database.mappers.AuthorizationGroupMapper;
import mil.dds... |
package speedith.core.reasoning.rules.transformers.copTrans;
import speedith.core.lang.*;
import speedith.core.lang.cop.Arrow;
import speedith.core.lang.cop.COPDiagram;
import speedith.core.lang.cop.Cardinality;
import speedith.core.lang.cop.CompleteCOPDiagram;
import speedith.core.reasoning.ApplyStyle;
import speedit... |
/*
* #%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
* ... |
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at the
* <a href="http://www.apache... |
class Test {
String foo() {
return null;
}
void bar() {
if (foo() != null) {
foo().toLowerCase()<caret>
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.