text stringlengths 7 995k |
|---|
package com.google.android.gms.internal;
import com.google.android.gms.ads.internal.zzp;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
@zzha
public class zzdv implements Iterable<zzdu> {
private final List<zzdu> zzzm = new LinkedList();
private zzdu zzc(zzjn com_google_androi... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
package dao;
import pojo.Movie;
import java.util.List;
/**
* @Author: acer
* @Date: 2020/9/14 14:24
* @Description: 电影Dao层
*/
public interface MovieDao {
/**
* 获取所有电影的信息
* @return 返回一个电影集合
*/
List<Movie> getAllMovies();
/**
* 根据电影类型获取对应的电影集合
* @param type 电影类型
* @ret... |
package com.leetcode;
import java.util.Map;
import java.util.TreeMap;
public class CarPooling {
// [[2,1,5],[3,3,7]], capacity = 4
public boolean carPooling(int[][] trips, int capacity) {
Map<Integer, Integer> map = new TreeMap<>();
for (int i = 0; i < trips.length; i++) {
int[... |
/*******************************************************************************
*
* Copyright 2019 Adobe. All rights reserved.
* This file is licensed 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
* ... |
/*
* Copyright 2003-2004 The Apache Software Foundation
*
* 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 net.openhft.chronicle.hash.serialization.impl;
import net.openhft.chronicle.bytes.Bytes;
import net.openhft.chronicle.hash.serialization.SizedReader;
import net.openhft.chronicle.hash.serialization.SizedWriter;
import net.openhft.chronicle.wire.*;
import org.jetbrains.annotations.NotNull;
public abstract clas... |
package com.fererlab.wowzajersey.core.model;
/**
* model interface for POJOs
*/
public interface Model {
/**
* UUID of each instance
*
* @return universally unique identifier
*/
String getUuid();
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
/*
* Copyright 2017-2022 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 vekta.spawner;
import vekta.Resources;
import vekta.faction.Faction;
import vekta.faction.PlayerFaction;
import java.util.List;
import java.util.stream.Collectors;
import static vekta.Vekta.*;
public class FactionGenerator {
private static final float NEW_FACTION_RATE = .1F;
public static Faction createF... |
package org.arquillian.smart.testing.ftest.customAssertions;
import org.arquillian.smart.testing.ftest.testbed.project.Project;
import org.assertj.core.api.AbstractAssert;
import org.assertj.core.api.Assertions;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
... |
/*
* 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 com.gmail.anselm92.georeferencing;
import javafx.beans.binding.DoubleBinding;
import javafx.beans.property.BooleanProperty;
i... |
package com.github.mzule.activityrouter;
import com.github.mzule.activityrouter.annotation.Router;
import android.content.Intent;
/**
* Created by CaoDongping on 4/7/16.
*/
@Router(value = "home/:homeName", stringParams = "o")
public class HomeActivity extends DumpExtrasActivity {
@Override
public void fi... |
package nc.multiblock.container;
import nc.container.ContainerTile;
import nc.container.slot.*;
import nc.multiblock.fission.tile.port.TileFissionCellPort;
import nc.recipe.NCRecipes;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
public clas... |
package in.arjsna.audiorecorder.theme;
import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
public class ThemedToolbar extends Toolbar implements Themed {
public ThemedToolbar(Context context) {
this(context, null... |
package org.gradle.test.performance.mediummonolithicjavaproject.p214;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test4281 {
Production4281 objectUnderTest = new Production4281();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... |
package lab4Laurinaitis;
import laborai.studijosktu.MapKTUx;
import laborai.studijosktu.Ks;
import java.util.Locale;
import laborai.studijosktu.HashType;
public class KaciuTestai {
public static void main(String[] args) {
Locale.setDefault(Locale.US); // suvienodiname skaičių formatus
atvaizdzioT... |
package pl.edu.agh.iosr.surveylance.pages.question;
import org.apache.log4j.Logger;
import org.apache.tapestry5.annotations.ContentType;
import org.apache.tapestry5.ioc.annotations.Inject;
import org.apache.tapestry5.json.JSONObject;
import org.apache.tapestry5.services.Request;
import org.apache.tapestry5.util.TextSt... |
/*
* Copyright 2020 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... |
/*
* Copyright 2010 Chad Retz
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
package seedu.scheduler.logic.graph;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
c... |
package com.scs.simplephysics.tests;
import com.jme3.bounding.BoundingBox;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.Spatial;
import com.jme3.scene.shape.Box;
import com.scs.simplephysics.ICollisionListener;
import com.scs.simplephysics.ISimpleEntity;
import com.scs.simplephy... |
/*
* The MIT License (MIT)
Copyright (c) 2016 ETCHEMENDY ELORRI
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, mo... |
package com.example.project.exceptions.user;
public class LogoutException extends Exception {
public LogoutException() {
super("Cannot log out. No user was logged in.");
}
} |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2022 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation ... |
package org.opencb.opencga.storage.hadoop.variant.analysis.stats;
import org.opencb.commons.datastore.core.ObjectMap;
import org.opencb.opencga.core.tools.variant.SampleVariantStatsAnalysisExecutor;
import org.opencb.opencga.core.annotations.ToolExecutor;
import org.opencb.opencga.core.exception.ToolException;
import ... |
package controlador;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSess... |
package com.appsgeyser.sdk.ads.fastTrack.adapters;
import android.content.Context;
import android.os.Bundle;
import android.util.Log;
import android.view.ViewGroup;
import com.appsgeyser.sdk.GuidGenerator;
import com.appsgeyser.sdk.R;
import com.appsgeyser.sdk.ads.fastTrack.FastTrackSdkModel;
import com.appsgeyser.sdk... |
package com.synectiks.cms.entities;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerato... |
package ch.hsr.winescore.domain.models;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class FavoriteTest {
@Test
public void whenCallingConstructorWithParams_itSetsProperties() {
Favorite favorite = new Favorite("userId", "wineId");
assertEquals("userId", favorit... |
/**
* 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.microsoft.bingads.v10.campaignmanagement;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaTy... |
package com.mapswithme.util.statistics;
import android.support.annotation.NonNull;
public class Analytics
{
@NonNull
private final String mName;
public Analytics(@NonNull String name)
{
mName = name;
}
@NonNull
public String getName()
{
return mName;
}
} |
/*
* 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 eu.fox7.rexp.isc.analysis.schema.cm.transducer;
import eu.fox7.rexp.isc.analysis.schema.cm.RegExpFlattener;
import eu.fox7.rexp.regexp.base.RegExp;
import eu.fox7.rexp.regexp.core.Union;
import eu.fox7.rexp.regexp.core.extended.Choice;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Se... |
package ch.ethz.systems.netbench.ext.bare;
import ch.ethz.systems.netbench.core.network.Event;
public class BarePacketResendEvent extends Event {
private BareSocket bareSocket;
private BarePacket packet;
private boolean active;
BarePacketResendEvent(long timeFromNowNs, BarePacket packet, BareSocket ... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008-2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*
* ============LICENSE_START=======================================================
* PNF-REGISTRATION-HANDLER
* ================================================================================
* Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
* ==============================================... |
package com.lzy.imagepicker.ui;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.ActivityCompat;
import an... |
package de.flo56958.MineTinker;
import de.flo56958.MineTinker.Commands.Commands;
import de.flo56958.MineTinker.Data.CraftingRecipes;
import de.flo56958.MineTinker.Data.Lists;
import de.flo56958.MineTinker.Listeners.*;
import de.flo56958.MineTinker.Modifiers.ModManager;
import de.flo56958.MineTinker.Modifiers.Types.Pow... |
package library;
import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Id;
abstract public class Model {
@Id
private ObjectId _id;
public ObjectId getId() {
return _id;
}
public void setId(ObjectId id) {
this._id = id;
}
public Model withId() {
... |
package com.microsoft.applicationinsights.smoketest;
import java.util.Comparator;
import java.util.List;
import com.microsoft.applicationinsights.internal.schemav2.*;
import org.junit.Test;
import static org.junit.Assert.*;
@UseAgent("logging")
public class TraceLogBackTest extends AiSmokeTest {
@Test
@Tar... |
package org.hl7.fhir.r4.model;
/*
Copyright (c) 2011+, HL7, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,... |
/*
* 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) 2014 Benny Bobaganoosh
*
* 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.potato.admin.config.interceptor;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import javax.servlet.http.HttpServletRequest;
import javax... |
/*
* Copyright (c) 2011-2013 The original author or authors
* ------------------------------------------------------
* 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 distributi... |
package at.ac.uibk.igwee.wikidiff.lucene;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
/**
* Data Object for indexing purposes.
*
* Created by joseph on 6/6/16.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class LuceneDoc {
/**
* Document ID
*/
... |
package com.bumptech.glide.load.resource.bitmap;
import android.graphics.Bitmap;
import android.graphics.ImageDecoder;
import android.graphics.ImageDecoder.Source;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import com.bumptech.glide.load.Options;
im... |
package application.rest.department;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.sp... |
/*
* Copyright 2015 The Apache Software Foundation.
*
* 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 ghost.framework.context.resolver;
import ghost.framework.beans.resolver.ResolverCompatibleMode;
/**
* package: ghost.framework.context.resolver
*
* @Author: 郭树灿{gsc-e590}
* @link: 手机:13715848993, QQ 27048384
* @Description:解析对象接口
* @Date: 2020/3/18:17:04
* @param <S> 解析源
* @param <T> 解析目标
*/
public i... |
package it.auties.whatsapp.binary;
import it.auties.bytes.Bytes;
import it.auties.whatsapp.model.contact.ContactJid;
import it.auties.whatsapp.model.request.Node;
import it.auties.whatsapp.util.BytesHelper;
import it.auties.whatsapp.util.Validate;
import lombok.NonNull;
import java.nio.charset.StandardCharsets;
impor... |
package com.Enno.production.service;
import java.util.List;
import com.Enno.production.domain.ProComplete;
/**
* 整机Service接口
*
* @author ruoyi
* @date 2020-09-10
*/
public interface IProCompleteService
{
/**
* 查询整机
*
* @param completeId 整机ID
* @return 整机
*/
public ProComplete ... |
package cosmos.commands.scoreboard.objectives;
import cosmos.commands.scoreboard.AbstractScoreboardCommand;
import cosmos.constants.ArgKeys;
import cosmos.constants.Outputs;
import cosmos.constants.Units;
import cosmos.statics.arguments.Arguments;
import cosmos.statics.arguments.ScoreboardArguments;
import cosmos.stat... |
package frc.robot;
import java.util.ArrayList;
import java.util.Arrays;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.joystickcontrols.JoystickControls;
im... |
package com.github.advanced_android.recyclerviewsamples.divider;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.support.v4.view.ViewCompat;
import android.support.v7.widget.Re... |
package com.example.mooderation.viewmodel;
import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.Transformations;
import androidx.lifecycle.ViewModel;
import com.example.mooderation.Participant;
import com.example.mooderation.backend.FollowRepository;
public class P... |
package org.rapidpm.vaadin.shared;
public enum CustomerStatus {
ImportedLead,
NotContacted,
Contacted,
Customer,
ClosedLost
} |
package org.andengine.examples;
import org.andengine.engine.camera.Camera;
import org.andengine.engine.options.EngineOptions;
import org.andengine.engine.options.ScreenOrientation;
import org.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy;
import org.andengine.entity.IEntity;
import org.andengine.enti... |
package com.reactlibrary;
import android.graphics.Color;
import android.support.annotation.Nullable;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.uimanager.SimpleViewManager;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
... |
package com.futao.springmvcdemo.mq.rabbit.primitive.routing;
import com.futao.springmvcdemo.mq.rabbit.primitive.ExchangeTypeEnum;
import com.futao.springmvcdemo.mq.rabbit.primitive.RabbitMqConnectionTools;
import com.rabbitmq.client.BuiltinExchangeType;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Co... |
package single_dimensional_arrays.Exercises;
import java.util.Scanner;
public class Exercise28 {
private static final Scanner sc = new Scanner(System.in);
public static void main(String[] args){
int[] arr = new int[10];
System.out.println("Enter 10 integers below: ");
for(int i = 0; i < ... |
/*
* Copyright (c) 2020 Richard Hauswald - https://quantummaid.de/.
*
* 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
* ... |
/**
* Copyright (C), 2015-2022, XXX有限公司
* FileName: MemberMessagePageVo
* Author: Derek Xu
* Date: 2022/2/17 13:46
* Description:
* History:
* <author> <time> <version> <desc>
* 作者姓名 修改时间 版本号 描述
*/
package cn.com.xuct.calendar.ums.api.vo;
impor... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.... |
package com.mowesta.feign.auth;
import java.io.IOException;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
import org.apache.oltu.oauth2.client.HttpClient;
import org.apache.oltu.oauth2.client.OAuthClient;
import org.apache.oltu.oauth2.client.request.OAuthClientRequest;
import org.apac... |
/*
* Copyright 2019 ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Created by Gigigo Android Team
*
* Copyright (C) 2016 Gigigo Mobile Services SL
*
* 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 net.bytebuddy.matcher;
import net.bytebuddy.description.type.TypeDescription;
/**
* An element matcher that matches its argument for being another type's subtype.
*
* @param <T> The type of the matched entity.
*/
public class SubTypeMatcher<T extends TypeDescription> extends ElementMatcher.Junction.Abstra... |
package algorithms.sequentialpatterns.skopus;
///*******************************************************************************
// * Copyright (C) 2015 Tao Li
// *
// * This file is part of Skopus.
// *
// * Skopus is free software: you can redistribute it and/or modify
// * it under the terms of the GNU General Pub... |
/*
* Copyright 2007 Kasper B. Graversen
*
* 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... |
/*
MIT License
Copyright (c) 2020 Michele Zuccalà
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... |
package tests.restapi.scenarios.experiments;
import java.io.IOException;
import org.apache.wink.json4j.JSONArray;
import org.apache.wink.json4j.JSONException;
import org.apache.wink.json4j.JSONObject;
import org.testng.Assert;
import org.testng.annotations.AfterTest;
import org.testng.annotations.BeforeClass;
import... |
import java.io.IOException;
import java.util.Scanner;
public class Main1016 {
public static void main(String[] args) throws IOException {
Scanner ler = new Scanner(System.in);
int d = ler.nextInt();
int min = (60 * d) / 30;
System.out.println(min + " minutos");
}
} |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org)
* Copyright (C) 2017 Liu, Yuanyuan (liuyuanyuan@highgo.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 c... |
package org.openapitools.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.openapitools.jackson.nullable.Json... |
/*
* Copyright 2014-2016 CyberVision, 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 o... |
/*
* Copyright 2013 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 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... |
package com.site.springboot.core.entity;
public class Admin {
private Long adminId;
private String loginName;
private String loginPassword;
private String adminNickName;
private Byte locked;
public Long getAdminId() {
return adminId;
}
public void setAdminId(Long adminId) ... |
/**
* Copyright 2009-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
*
* Unle... |
/*
* Copyright (c) 2008-2021, 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.queencastle.web.config;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.ServletRegistration;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationC... |
/*
* 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 interpreter.ByteCode;
/**
*
* @author romeelchaudhari
*/
public class WriteCode extends ByteCode {
} |
/*
* Copyright 2006-2020 Prowide
*
* 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 threads.lite.host;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.common.primitives.Bytes;
import com.google.protobuf.ByteString;
import net.luminis.quic.ConnectionIssue;
import net.luminis.quic.QuicClientConnectionImpl;
import net.luminis.quic.QuicConnection;
impo... |
package org.helium.cloud.logger.annotation;
import org.helium.cloud.logger.model.LogLevel;
import java.lang.annotation.*;
/**
* 自动写日志注解
* 用法,标注到需要写日志的对应方法上
* <p>
*
* @author : zhangruibj@feinno.com
* @LogAppender 注解标识
* public Message getMessage(String messageId){
* doSomething();...
* return message;
* }... |
/*
* Copyright 2019-2020 Elypia CIC and Contributors (https://gitlab.com/Elypia/elypiai/-/graphs/master)
*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.management.sql.models;
import com.azure.core.annotation.BodyParam;
import com.azure.core.annotation.ExpectedResponses;
import com.azure.core.ann... |
import josx.util.*;
public class TestPriorities {
int i;
HighPriority1 hp1;
HighPriority2 hp2;
LowPriority1 lp1;
LowPriority2 lp2;
class HighPriority1 extends Thread {
boolean print = false;
boolean printing = true;
public synchronized void setPrint(boolean print) {
this.print = print;
}
publ... |
package com.ibm.inventory_management.app;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframew... |
/*
* 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 controllers;
import models.Airport;
import play.Logger;
import play.cache.Cached;
import play.mvc.Controller;
import play.mvc.Result;
import play.mvc.With;
import services.AirportDB;
import javax.inject.Inject;
@With(VerboseAction.class)
public class DemosController extends Controller {
private final A... |
/*
* Copyright 2019-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... |
package uk.gov.hmcts.ccd.domain.service.getcase;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.sameInstance;
import static org.junit.... |
package com.kb.mylibs.FrameWork;
import com.kb.mylibs.FrameHandle.FixedTickMgr;
import com.kb.mylibs.FrameHandle.FrameTimerMgr;
import com.kb.mylibs.FrameHandle.ITickedObject;
import com.kb.mylibs.FrameHandle.LogicTickMgr;
import com.kb.mylibs.FrameHandle.ResizeMgr;
import com.kb.mylibs.FrameHandle.SystemFrameData;
im... |
/*
* Copyright 2013-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.