text stringlengths 7 1.01M |
|---|
/*
* Copyright 2014-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://aws.amazon.com/apache2.0
*
* or in the "licen... |
package org.jkiss.dbeaver.ext.oracle.tasks;
import org.jkiss.dbeaver.ext.oracle.model.OracleTable;
import org.jkiss.dbeaver.model.DBUtils;
import org.jkiss.dbeaver.model.edit.DBEPersistAction;
import org.jkiss.dbeaver.model.exec.DBCException;
import org.jkiss.dbeaver.model.exec.DBCSession;
import org.jkiss.dbeaver.mod... |
/*
* 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 ABC028.B;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args) {
PrintWriter out = new PrintWriter(System.out);
Scanner sc = new Scanner(System.in);
Task task = new Task();
task.solve(sc, out);
out.flush();
... |
package br.uece.eesdevops.cearamovies;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@SpringBootApplication
@EnableTransactionManagement
public class IntroducaoSprin... |
package com.kalessil.phpStorm.phpInspectionsEA.inspectors.semanticalAnalysis.classes;
import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElemen... |
/**
*
*/
package org.activiti.designer.util;
import org.activiti.designer.features.CreateEndEventFeature;
import org.activiti.designer.features.CreateExclusiveGatewayFeature;
import org.activiti.designer.features.CreateInclusiveGatewayFeature;
import org.activiti.designer.features.CreateMailTaskFeature;
import org.... |
package org.docksidestage.postgresql.dbflute.exentity.customize;
import org.docksidestage.postgresql.dbflute.bsentity.customize.BsVendorCheckCursor;
/**
* The entity of VendorCheckCursor.
* <p>
* You can implement your original methods here.
* This class remains when re-generating.
* </p>
* @author DBFlute(Auto... |
package org.springframework.samples.petclinic.sfg;
import org.springframework.stereotype.Service;
@Service
public class HearingInterpreter {
private final WordProducer wordProducer;
public HearingInterpreter(WordProducer wordProducer) {
this.wordProducer = wordProducer;
}
public String what... |
/*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... |
/*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
package io.syndesis.qe.salesforce;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
* Represent a Salesforce contact.
*
* @author jknetl
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class Contact {
@Jso... |
package com.fishercoder.solutions;
import java.util.HashMap;
import java.util.Map;
/**
* 1309. Decrypt String from Alphabet to Integer Mapping
*
* Given a string s formed by digits ('0' - '9') and '#' . We want to map s to English lowercase characters as follows:
* Characters ('a' to 'i') are represented by ('1' ... |
/**
* The contents of this file are subject to the license and copyright
* detailed in the LICENSE and NOTICE files at the root of the source
* tree and available online at
*
* http://www.dspace.org/license/
*/
package org.dspace.app.xmlui.aspect.discovery;
import org.apache.commons.lang.StringUtils;
import org.... |
package com.yihong.test.beans;
public class MyBean {
private MyAnotherBean myAnotherBean;
public void setMyThirdBean(MyThirdBean myThirdBean) {
this.myThirdBean = myThirdBean;
}
private MyThirdBean myThirdBean;
public MyBean() {
}
public MyAnotherBean getMyAnotherBean() {
return myAnotherBean;
}
publ... |
/*
* 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 ... |
/*
* OpenAPI Petstore
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
package example_26;
/**
* Created by Nostromo on 2018-02-11.
*/
public class BreakNestedLoop2 {
}
|
package com.gt.board.vo.xml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "SubMenu")
@XmlAccessorType(XmlAccessType.FIELD)
public class MenuTypeSub ... |
//
// 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: 2020.01.... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses... |
package com.yhcoo.tsc.msg.common;
import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;
@Configuration
public class BeanConfig {
@Bean... |
package com.batch.android;
import com.batch.android.annotation.PublicSDK;
/**
* Reason for Batch failure
*
*/
@PublicSDK
public enum FailReason {
/**
* Network is not available or not responding
*/
NETWORK_ERROR,
/**
* Your API key is invalid
*/
INVALID_API_KEY,
/**
* Your API key has been... |
package tests.community;
/* Кейс: есть сообщество с подписчиком c правом на создание сообщества .
Перейти в раздел Администраторы
ОР - администратора нет корзины */
import app.testbase.TestBase;
import core.general.RunTestAgain;
import data.services.StudentService;
import org.openqa.selenium.By;
import org.testng.anno... |
/*
* Copyright 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 writing... |
/*
* 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 com.logicaldoc.gui.common.client.widgets;
import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.widgets.Label;
import com.smartgwt.client.widgets.layout.HLayout;
/**
* An useful panel to show informations to the user
*
* @author Marco Meschieri - Logical Objects
* @since 6.0
... |
package _050_Encapsulation;
public class Main {
public static void main(String[] args) {
// Player player = new Player();
// player.name = "Gurk";
// player.health = 100;
// player.weapon = "Dual crossbow";
//
// int damage = 10;
// player.loseHealth(damage);
// S... |
/**
*
*/
package org.openntf.domino.helpers;
import java.io.Serializable;
import java.util.Comparator;
import java.util.List;
import java.util.logging.Logger;
import org.openntf.domino.Document;
/**
* @author nfreeman
*
* Copyright Michael Zischeck and licensed under Apache License 2.0 ... |
package models;
import java.util.ArrayList;
import java.util.List;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.goog... |
/*
* Copyright (c) 1996, 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 Public License version 2 only, as
* published by the Free ... |
/*
* Created on Mar 29, 2009
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing... |
package com.marcobehler.saito.api;
import com.marcobehler.saito.api.dagger.DaggerSaitoApiComponent;
import com.marcobehler.saito.api.dagger.SaitoApiComponent;
import com.marcobehler.saito.core.Saito;
import com.marcobehler.saito.core.dagger.PathsModule;
import lombok.extern.slf4j.Slf4j;
import java.nio.file.Path;
/*... |
package joshie.enchiridion.library;
import joshie.enchiridion.helpers.MCClientHelper;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class LibraryProxyClient extends LibraryProxy {
pri... |
package org.robotframework.swing.context;
import java.awt.Panel;
import java.awt.Window;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import jdave.junit4.JDaveRunner;
import org.junit.runner.RunWith;
import org.robotframework.swing.operator.ComponentWrapper;
@RunWith(JDaveRunner.class)
public clas... |
/*
* Copyright (C) 2017 depot
*
* 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 wri... |
package ro.webdata.parser.xml.lido.core.leaf.roleActor;
import ro.webdata.parser.xml.lido.core.attribute.LidoSortOrder;
import ro.webdata.parser.xml.lido.core.complex.conceptComplexType.ConceptComplexType;
/**
* <link rel="stylesheet" type="text/css" href="../../../../../javadoc.css"/>
* <div class="lido">
... |
package org.smartregister.anc.library.activity;
import android.os.Bundle;
import com.vijay.jsonwizard.activities.FormConfigurationJsonFormActivity;
import org.smartregister.anc.library.R;
public class EditJsonFormActivity extends FormConfigurationJsonFormActivity {
@Override
protected void onCreate(Bundle s... |
/*
* 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 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) 2018. paascloud.net All Rights Reserved.
* 项目名称:附近有好吃的
* 类名称:PublicUtil.java
* 创建人:兰龙斌
* 联系方式:llb7891@163.com
* 开源地址: https://github.com/NewlyLan/nearbyEat.git
*
*
*/
package com.paascloud;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import java.util.Collection;
import jav... |
package tr.com.infumia.dantero.fakeplayer.nms.v1_8_R1;
import io.netty.channel.*;
import java.net.SocketAddress;
public class EmptyChannel extends AbstractChannel {
private final ChannelConfig config;
EmptyChannel(final Channel parent) {
super(parent);
this.config = new DefaultChannelConfig(... |
package org.openapi4j.parser.validation.v3;
import org.openapi4j.core.validation.ValidationResults;
import org.openapi4j.core.validation.ValidationSeverity;
import org.openapi4j.parser.model.v3.Contact;
import org.openapi4j.parser.model.v3.OpenApi3;
import org.openapi4j.parser.validation.Validator;
import static org.... |
/*
* Copyright 2010-2018 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 "lice... |
/*
* MIT License
*
* Copyright (c) 2022 MaxWainer
*
* 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... |
package exercisetwo.firstscreen.header;
import exercisetwo.firstscreen.body.BodyPresenter;
import exercisetwo.firstscreen.utils.ExerciseUtils;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
public class HeaderPresenter {
@FXML
private TextField headerInputT... |
package sort;
import java.util.Arrays;
/**
* @author kid1999
* @date 2020/9/17 22:48
* @title 快速排序
*/
public class QuickSort {
public static void main(String[] args) {
int[] nums = {5,9,3,7,6,4,2,1,8};
for (int n:nums) {
System.out.print(n + " ");
}
System.out.pri... |
package com.acgist.notify.gateway.model.dto;
import com.acgist.boot.model.EntityDto;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
/**
* 网关DTO
*
* @author acgist
*/
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
public class GatewayDto extends EntityDto {
private static fi... |
/*
* Copyright (c) 2004-2022, University of Oslo
* 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, this
* list of cond... |
/*
* Copyright 2014-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://aws.amazon.com/apache2.0
*
* or in the "licen... |
package ask.me.again.shortcut.additions.smartpaste.insertions;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.apache.velocity.anakia.AnakiaElement;
public class NormalPasteInsertions implements SmartInsertion {
@Override
public boolean isApplicable(String originalText, String text, AnActionEve... |
package com.zzq.config.datasource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
public class DynamicDataSource extends AbstractRoutingDataSource {
private static final Logger logger = LoggerFactory.getLogger(DynamicDataSourc... |
/*
* 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) Facebook, Inc. and its affiliates.
*
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.rncompressuploadvideo;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
im... |
package sdkjavaexample;
import com.fasterxml.jackson.core.type.TypeReference;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import us.kbase.auth.AuthToken;
import us.kbase.common.service.JsonClientCaller;
import us.kbase.c... |
package br.com.semanalixozero.app.schedule;
import android.support.annotation.NonNull;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.util.SparseArray;
import java.util.List;
import br.com.semanalixozero.app.event.EventsFragment;
import static br.co... |
package memoizrlabs.com.a2;
import java.util.ArrayList;
import java.util.List;
public class Ex17 {
public void perform2() {
List<String> list = new ArrayList<>();
for (String i : list) {
System.out.println(list);
}
}
public void perform3() {
List<String> list ... |
/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* 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 2011 Google Inc.
* Copyright 2014 Andreas Schildbach
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
/*
* 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 ... |
/*
* MIT License
*
* Copyright (c) 2021 MASES s.r.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, cop... |
package practise.lios.models;
/**
* @author liaiguang
*/
public class Book implements AutoCloseable{
boolean checkedOut = false;
public Book(boolean checkedOut) {
this.checkedOut = checkedOut;
}
public void checkIn() {
checkedOut = false;
}
@Override
public void close() ... |
package com.validator.warden.customize;
import java.util.Arrays;
import java.util.List;
import com.validator.warden.core.domain.WdContext;
/**
* @author DandyLuo
*/
public class CustomizeCheck {
/**
* 年龄是否合法
*/
public boolean ageValid(final Integer age) {
if(null == age){
re... |
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
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.annota... |
package me.oecapp.learn.spring.issue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class LearnSpringIssueApplication {
public static void main(String[] args) {
SpringApplication.run(LearnSpringIssueApplication... |
package com.fr.swift.structure.external.map.intpairs;
import com.fr.swift.cube.io.IOConstant;
import com.fr.swift.cube.nio.read.DoubleNIOReader;
import com.fr.swift.cube.nio.write.DoubleNIOWriter;
/**
* @author anchore
* @date 2018/1/5
*/
class Double2IntPairsExtMapIo extends BaseIntPairsExtMapIo<Double> {
Dou... |
// Copyright 2016 Google 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 by applicable... |
package nx.server.zmq;
import com.google.gson.GsonBuilder;
public class ClientRequest
{
private String service;
private String request;
public String getService()
{
return service;
}
public ClientRequest setService(String service)
{
this.service = service;
return this;
}
public S... |
import net.runelite.mapping.Export;
import net.runelite.mapping.Hook;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("jo")
@Implements("ItemComposition")
public class Item... |
package com.example.medtek.network;
import androidx.annotation.Nullable;
import com.example.medtek.constant.APIConstant;
import com.example.medtek.network.base.BaseResponse;
import com.example.medtek.network.request.JanjiRequest;
import com.example.medtek.network.request.LoginRequest;
import com.example.medtek.networ... |
package com.peralex.utilities.ui.graphs.polarGraph;
import java.awt.Color;
import java.awt.PaintContext;
import java.awt.geom.Point2D;
import java.awt.image.ColorModel;
import java.awt.image.Raster;
import java.awt.image.WritableRaster;
import com.peralex.utilities.ui.graphs.DirectionLib;
class CompassBac... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... |
package me.gabriel.astroquestions.util;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemFlag;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.inventory.meta... |
package aaron.ren.collection.consistenthash.bean;
import java.util.HashMap;
import java.util.Map;
public class Garage {
Map<Integer, Car> node = new HashMap<>();
String name;
public Garage(String name) {
this.name = name;
}
public void putObj(Car obj) {
node.put(obj.hashCode(), ... |
package com.google.ads.googleads.v9.services;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
* <pre>
* Service to fetch Google Ads Life Events.
* </pre>
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler",
comments = "Source: google/ads/googleads/v9/services/life_event_ser... |
package edu.utn.factory;
import edu.utn.enums.NinjaType;
import edu.utn.model.ninja.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class NinjaFactory {
public Ninja createNinja(int i, int j, boolean commander,int m){
NinjaPosition position... |
package com.cumulocity.opcua.gateway.model.device;
import com.cumulocity.opcua.gateway.model.core.HasGateway;
import com.cumulocity.opcua.gateway.model.gateway.Gateway;
import com.cumulocity.opcua.gateway.model.type.DeviceType;
import lombok.Data;
@Data
public class DeviceTypeAddedEvent implements HasGateway {
pr... |
package controller;
import model.PostDAO;
import model.Post;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import com.go... |
package com.takisoft.preferencex;
import android.content.Context;
import android.text.InputType;
import android.text.TextUtils;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.widget.EditText;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.col... |
package com.gw.blog.commons.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class Page implements Serializable {
/**
* 当前页
*/
private int current = 1;
/**
* 每页显示数
*/
private int size = 3;
/**
* 偏移量
*/
//private int start = (current-1)*size;
... |
/*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package com.guandao.table.array;
public class ArrayAlg {
public static void main(String[] args) {
// System.out.println(removeDuplicates2_1(new int[] {1,1,2,2,2,2,3,3,4,5,5,5,5}));
// System.out.println(removeDuplicates(new int[] {1,2,2,3}));
}
/**
* Longest Consecutive Sequence
*... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/*
* 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 br.com.rogerio.dal;
import br.com.rogerio.interfaces.Interface_ImagemAlvo;
import java.io.File;
import javax.swing.ImageIcon;
... |
package org.intermine.webservice.client.results;
/*
* Copyright (C) 2002-2015 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/co... |
package org.junit.tests;
import static org.junit.Assert.assertEquals;
import junit.framework.AssertionFailedError;
import junit.framework.TestCase;
import junit.framework.TestListener;
import org.junit.Test;
import org.junit.internal.runners.JUnit38ClassRunner;
import org.junit.runner.Result;
import org.junit.runner.n... |
package com.team.meett.controller;
import com.team.meett.dto.JwtRequest;
import com.team.meett.dto.JwtResponse;
import com.team.meett.config.JwtRequestFilter;
import com.team.meett.config.JwtTokenUtil;
import com.team.meett.model.Users;
import com.team.meett.service.JwtUserDetailService;
import com.team.meett.service.... |
package com.duan.android.androiddialogdemo.util;
import android.support.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* <pre>
* author : Duan
* time : 2019/04/08
* desc :
* version: 1.0
* </pre>
*/
public class DialogType {
/**
* normal
... |
package ca.pfv.spmf.algorithmmanager.descriptions;
import java.io.IOException;
import ca.pfv.spmf.algorithmmanager.DescriptionOfAlgorithm;
import ca.pfv.spmf.algorithmmanager.DescriptionOfParameter;
import ca.pfv.spmf.algorithms.episodes.minepiplus.AlgoMINEPIPlus;
/**
* This class describes the MINEPI+ algorithm pa... |
/**
* Copyright © 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.orhon.pa.modules.test.service;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.orhon.pa.common.service.CrudService... |
/*
* Copyright @ 2018 - present 8x8, 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 ... |
/*
* Licensed to ElasticSearch and Shay Banon 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... |
package com.google.api.ads.dfp.jaxws.v201403;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for InvalidEmailError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType n... |
package com.st.remote.controller;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
import org.junit.Be... |
/**
* This software was developed and / or modified by Raytheon Company,
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
*
* U.S. EXPORT CONTROLLED TECHNICAL DATA
* This software product contains export-restricted data whose
* export/transfer/disclosure is restricted by U.S. law. Dissemination
... |
package com.fsck.k9.ui;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProvider;
import android.arch.lifecycle.ViewModelProviders;
import android.graphics.Color;
import android.graphics.PorterDuff;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.Null... |
/*
* Copyright (c) 2018, 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... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package github.hyblocker.undertaletext.npcs.toriel;
import github.hyblocker.undertaletext.objects.NPC;
import github.hyblocker.undertaletext.util.Vector2;
public class TorielBase extends NPC {
public Vector2 position = Vector2.zero;
public TorielBase(String[] sprites, String[] dialog, Vector2 pos) {
super(spri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.