text stringlengths 7 995k |
|---|
package graphics.Doctor;
import graphics.ChangePass;
import java.awt.CardLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.concurrent.Callable;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swi... |
package com.github.panpf.bintray.publish.sample.jvm;
public class Sample {
/**
* showMessage for test
* @throws IllegalArgumentException
* @throws Exception
*/
public static void showMessage() throws IllegalArgumentException, Exception {
System.out.println("Bintray publish sample jv... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.uiDesigner.designSurface;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.ui.popup.PopupOwner;... |
package com.bumptech.glide.load.model;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import com.bumptech.glide.Priority;
import com.bumptech.glide.load.DataSource;
import com.bumptech.glide.load.Options;
import... |
package model;
/**
*
* @author natalia.fsilva11
*/
public class Tipo {
private int idTipo;
private String tipo;
public Tipo() {
}
public Tipo(int idTipo, String tipo) {
this.idTipo = idTipo;
this.tipo = tipo;
}
public int getIdTipo() {
return idTipo;
}
... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
package com.aws.greengrass.ggq;
import java.util.*;
import java.util.function.*;
public class DeployedComponent {
public String name, version, state, configuration;
private DeployedComponent(Str... |
package org.liquibase.maven.plugins;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import liquibase.Liquibase;
import liquibase.database.Database;
import liquibase.diff.output.DiffOutputControl;
import liquibase.diff.output.StandardObjectChangeFilter;
import liquibase.exception.L... |
/*
* Copyright 1999-2017 Alibaba Group Holding 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 applica... |
package pro.haichuang.framework.base.exception;
/**
* 枚举非法论证异常
*
* <p>主要用于自定义枚举转换时发生的异常
*
* @author JiYinchuan
* @since 1.1.0.211021
*/
public class EnumIllegalArgumentException extends IllegalArgumentException {
private static final long serialVersionUID = -6738594844611626333L;
public EnumIllegalArgu... |
/*
* 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... |
/*
Tilda V1.0 template application class.
*/
package tilda.data;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import tilda.db.*;
/**
This is the application class <B>Data_FORMULARESULT</B> mapped to the table <B>TILDA.FORMULARESULT</B>.
@see tilda.data._Tilda.TILDA__FORMULARE... |
/*
* Copyright © 2018-2019 Apple Inc. and the ServiceTalk project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
package com.annimon.stream.function;
import com.annimon.stream.Objects;
/**
* Represents a function which produces result from two input arguments.
*
* @param <T> the type of the first argument
* @param <U> the type of the second argument
* @param <R> the type of the result of the function
*/
public interface B... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package com.avaje.ebeaninternal.server.expression;
import com.avaje.ebean.search.TextCommonTerms;
import java.io.IOException;
/**
* Full text common terms expression.
*/
class TextCommonTermsExpression extends AbstractTextExpression {
private final String search;
private final TextCommonTerms options;
pub... |
/*
* Copyright © 2021 Tobias Erdle (tobi.erdle@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
// ============================================================================
//
// Copyright (C) 2006-2019 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
//
// You should have receiv... |
begin_unit|revision:0.9.5;language:Java;cregit-version:0.0.1
begin_comment
comment|// Copyright (C) 2014 The Android Open Source Project
end_comment
begin_comment
comment|//
end_comment
begin_comment
comment|// Licensed under the Apache License, Version 2.0 (the "License");
end_comment
begin_comment
comment|// you m... |
package com.axiomalaska.crks.constant;
import com.axiomalaska.crks.util.HibernateUtil;
import com.axiomalaska.crks.vo.LayerSubtype;
public enum LayerSubtypeConstant {
COVERAGE_SATURATED( 1 )
,COVERAGE_UNSATURATED( 4 )
,POLYGON_LARGE( 5 )
,POLYGON_MEDIUM( 6 )
,POLYGON_SMALL( 7 )
,LINE_THICK( 8 )
,LINE_MEDIUM( ... |
/*
* Copyright 2010-2011 Ning, Inc.
*
* Ning 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/licenses/LICENSE-2.0
*
* Unless required by a... |
/* */ package com.elcuk.jaxb;
/* */
/* */ import java.math.BigInteger;
/* */ import javax.xml.bind.annotation.XmlAccessType;
/* */ import javax.xml.bind.annotation.XmlAccessorType;
/* */ import javax.xml.bind.annotation.XmlElement;
/* */ import javax.xml.bind.annotation.XmlRootElement;
/* ... |
package org.dataloader;
import org.dataloader.stats.Statistics;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
/**
* This allows data loaders to be registered together into a single place so
* t... |
package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_in... |
package com.osomapps.pt;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import org.junit.Test;
public class UnauthorizedExceptionTest {
@Test
public void create() {
final UnauthorizedException excep... |
/*
* Copyright (c) 2009-2013 Panxiaobo
*
* 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... |
package solutions;
import org.junit.Assert;
import org.junit.Test;
import structures.TreeNode;
public class MaximumDifferenceBetweenNodeAndAncestorTests {
@Test
public void testExample1(){
// arrange
var solution = new MaximumDifferenceBetweenNodeAndAncestor();
TreeNode root = new T... |
package hudson.plugins.promoted_builds.conditions;
import hudson.AbortException;
import hudson.Extension;
import hudson.FilePath;
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.BuildListener;
import hudson.model.Result;
import hudson.tasks.BuildStepD... |
package org.batfish.question.loop;
import static org.batfish.datamodel.transformation.Transformation.always;
import static org.batfish.datamodel.transformation.TransformationStep.assignSourceIp;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSortedMap;
import com.google.comm... |
package crazypants.enderio.base.item.darksteel;
import java.util.Iterator;
import java.util.List;
import java.util.UUID;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import com.enderio.core.api.client.gui.IAdvancedTooltipProvider;
import com.enderio.core.client.handlers.SpecialTooltipHandler;
i... |
package mjg;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
public class GroovyImplJavaTest {
private UtilityMethods impl = new GroovyUtilityMethods();
@Test
public void testGetPositives() {
... |
/**
*
*/
package sample2.app;
import com.google.inject.Singleton;
/**
* @author polga
*
*/
@Singleton
public class CalculatorImpl implements Calculator{
@Override
public int add(int a, int b) {
return a + b;
}
@Override
public int subtract(int a, int b) {
return a - b;
}
@Override
public int mult... |
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openal;
/**
* Native bindings to the <a target="_blank" href="https://openal-soft.org/openal-extensions/SOFT_MSADPCM.txt">SOFT_MSADPCM</a> extension.
*
* <p>This ... |
/*
* (c) Copyright 2018 Palantir Technologies 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 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation.directconnectivity;
import com.azure.cosmos.implementation.GoneException;
import com.azure.cosmos.implementation.RxDocumentServiceRequest;
import com.azure.cosmos.implementation.Stri... |
package com.mymeteo.meteo;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for releve complex type.
*
* <p>The following schema fragment specifies the expec... |
package org.darbots.darbotsftclib.libcore.sensors.servos.motor_powered_servos;
import com.qualcomm.robotcore.hardware.TouchSensor;
import org.darbots.darbotsftclib.libcore.sensors.motors.RobotMotorController;
public class RobotServoUsingMotor_WithLimitSwitch extends RobotServoUsingMotor {
private TouchSensor m_M... |
/*******************************************************************************
* Copyright (c) 2018, TechEmpower, 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:
* * Redistributio... |
/**
* 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 moe.eloli.tuzi.ui.topics;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import moe.eloli.tuzi.R;
import moe.eloli.tuzi.data.network.model.adjusted.TopicListItem;
import moe.eloli.tuzi.ui.topic_detail.TopicDetailActivity;
import moe.el... |
package com.tw.workshop;
public class CalculatorNeha {
public int number1 ;
public int number2 ;
public static int result ;
public int sum(int number1, int number2) {
this.number1 =number1 ;
this.number2= number2;
return result = number1+number2 ;
}
public int subtract(i... |
package com.ukefu.webim.web.handler.apps.service;
import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.ster... |
/*
* 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) 2011-2018 Nexmo Inc
*
* 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, publ... |
/*
* Copyright (c) 2019 Villu Ruusmann
*
* This file is part of JPMML-Evaluator
*
* JPMML-Evaluator is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your... |
/***************************************************************************
* Copyright 2018 Kieker Project (http://kieker-monitoring.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... |
package senntyou.sbs.admin.service.impl;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;
impor... |
/*
* Ref-Finder
* Copyright (C) <2015> <PLSE_UCLA>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.... |
/**
* The MIT License
* Copyright © 2017 DTLS
*
* 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, mer... |
package cz.tvrzna.wireable.test;
import org.junit.jupiter.api.Assertions;
import cz.tvrzna.wireable.annotations.OnCreate;
import cz.tvrzna.wireable.annotations.OnStartup;
import cz.tvrzna.wireable.annotations.Wired;
public class TestWireObjectsClass
{
@Wired
private TestWireableClass test;
@OnCreate
private voi... |
/*
* Copyright 2005-2017 Dozer 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 law or ag... |
package technology.mainthread.apps.isitup.util;
import android.content.Context;
import com.facebook.stetho.Stetho;
import com.facebook.stetho.okhttp.StethoInterceptor;
import com.squareup.okhttp.OkHttpClient;
/**
* Extracted into util so we don't have to include stetho in release builds
*/
public class StethoUtil ... |
package minpiler.model.x0;
import java.util.*;
import minpiler.model.*;
public class NegInstruction extends X86Instruction {
private Argument _dest;
public NegInstruction(Argument dest) {
super(Arrays.asList(dest));
_dest = dest;
}
public Argument getDest() {
return _dest;
... |
package com.hhua.android.producthunt.helpers;
import android.text.format.DateUtils;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Locale;
public class TimeHelper {
// getRelativeTimeAgo("Mon Apr 01 21:16:23 +0000 2014");
public static String getRelativeTimeAgo(String ra... |
package edu.ncsu.csc326.coffeemaker;
import edu.ncsu.csc326.coffeemaker.exceptions.InventoryException;
/**
* @author Sarah Heckman
*
* Inventory for the coffee maker
*/
public class Inventory {
private static int coffee;
private static int milk;
private static int sugar;
private static int ch... |
/*
* 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 ... |
/* ----------------------------------------------------------------------------
* JBarcode - https://github.com/borisklug/jbarcode
*
* Written by Boris Klug, https://klg.de/
* Licensed under the Apache License Version 2.0
* ---------------------------------------------------------------------------- */
package de.... |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... |
/*
* 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 org.easybatch.core.job;
import org.easybatch.core.reader.RecordReader;
import org.easybatch.core.record.Record;
import java.util.concurrent.Callable;
/**
* Wrapper of record reading code in a {@link Callable} to be able to use it in a {@link org.easybatch.core.retry.RetryTemplate}.
*
* @author Mahmoud Ben... |
/*
* Copyright (C) 2012 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 under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
package com.example.dildil.my_page.view;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.databinding.DataBindingUtil;
import androidx.lifecycle.Observer;
import com.blankj.utilcode.util.ActivityUtils... |
/**
* Various utility classes used by the calibration library.
* @author W. Burger
*/
package imagingbook.calibration.zhang.util; |
package com.android.lib.textinlineimage;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.support.v7.widget.AppCompatTextView;
import android.text.Spannable;
import android.text.Spanned;
import android.text.style.ImageSpan;
import android.... |
package com.mobileminiproject.wilsondaniel.groupme;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.wi... |
/*
* Copyright (c) Numerical Method Inc.
* http://www.numericalmethod.com/
*
* THIS SOFTWARE IS LICENSED, NOT SOLD.
*
* YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE.
* IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE,
* DO NOT USE THIS SOFTWARE.
*
* THE SOFTWARE IS PROV... |
/*LC252:Meeting Rooms
https://leetcode.com/problems/meeting-rooms/
Given an array of meeting time intervals
consisting of start and end times
[[s1,e1],[s2,e2],...] (si < ei),
determine if a person could attend all meetings.
Example 1:
Input: [[0,30],[5,10],[15,20]]
Output: false
Example 2:
Input: [[7,10],[2,4]]
Output... |
/*
* Copyright 2006-2017 ICEsoft Technologies Canada Corp.
*
* 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 b... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.webpubsub.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.... |
package org.aprestos.labs.spring.microservices.fsstore;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
@SpringBootApplication
@Configuration
public class TestConfig {
} |
/*
* Copyright 2020 Micro Focus International plc.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.hp.autonomy.frontend.find.idol.users;
import com.hp.autonomy.types.idol.responses.User;
import lombok.AllArgsConstructor;
import lombo... |
/*
* Copyright © 2014-2015 CodeBrig, LLC.
* http://www.codebrig.com/
*
* Beam - Client/Server & P2P Networking Library
*
* ====
*
* 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 wit... |
/*
* 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 models;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
@Document(collection = "floors")
@JsonSerialize
public class Floor extend... |
package Conexion;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Fernando
*/
public class Conexion {
public static Conexion instancia;
private Connection cnn;
private Conexion... |
package com.alex.popularmovies.app.data;
import com.alex.popularmovies.app.data.exception.DataException;
import com.alex.popularmovies.app.data.model.BaseModel;
/**
* Created by Alex on 17/12/2017.
*/
public interface CRUD<ModelType extends BaseModel> {
ModelType create(ModelType model) throws DataException;
M... |
package edu.ucla.cs.wis.bigdatalog.database.cursor;
import edu.ucla.cs.wis.bigdatalog.database.AddressedTuple;
import edu.ucla.cs.wis.bigdatalog.database.relation.Relation;
import edu.ucla.cs.wis.bigdatalog.database.store.tuple.AddressedTupleStore;
import edu.ucla.cs.wis.bigdatalog.database.type.DbTypeBase;
import edu... |
package de.jcm.helpy;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.UUID;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Box extends EntityInfo
{
public GeoLocation location;
public UUID operator;
public BoxEquipment[] equipment;
public static class BoxEquipment
{
public Stri... |
package com.byteblogs.common.validator.group;
/**
* @author: byteblogs
* @date: 2019/9/30 19:13
*/
public interface Update {
} |
package net.wisedragoon.bonk.procedures;
import net.wisedragoon.bonk.init.BonkModItems;
import net.wisedragoon.bonk.init.BonkModEnchantments;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraft.world.level.LevelAccessor;
import net.minecraft.world.level.Level;
import net.minecraft.world.item.I... |
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... |
// Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
class DataWithGetter {
private int x;
private int y;
private final String z;
@java.beans.ConstructorProperties({"z"})
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public DataWithGetter(final String z) {
this.z = z;
}
@ja... |
package com.sly.demo.thinkinjava.chapter10.parcel10;
/**
*
* @author sly
* @time 2019年5月30日
*/
public abstract class Base {
public Base(int i) {
System.out.println("Base Constructor i = " + i);
}
abstract void f();
} |
/*
* Copyright (C) 2011 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* 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 ... |
/*
* Fabric3
* Copyright (c) 2009-2015 Metaform Systems
*
* 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.tduck.cloud.account.request;
import lombok.Data;
import javax.validation.constraints.NotBlank;
/**
* @author : smalljop
* @description : 账号登录请求
* @create : 2020-11-10 18:17
**/
@Data
public class AccountLoginRequest {
@NotBlank(message = "请填写账号")
private String account;
@NotBlank(message... |
/*
* Copyright 2021 crunchycookie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package com.example.juan.mynotes.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.juan.mynotes.R;
/**
* A simple {@link Fragment} subclass.
*/
public class LoginFragment exte... |
/*
* 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 ma... |
package com.google.zxing.client.result;
public final class ProductParsedResult extends ParsedResult {
private final String normalizedProductID;
private final String productID;
ProductParsedResult(String productID) {
this(productID, productID);
}
ProductParsedResult(String productID, Strin... |
package com.revature.models;
public enum ReimbursementType {
// values declared within enums are constants and are comma separated
LODGING("Lodging"),
TRAVEL("Travel"),
FOOD("Food"),
OTHER("Other");
private String reimbursementType;
// enum constructors are implicitly private
Reimburs... |
package org.jboss.as.quickstarts.datagrid.spring.session.configuration;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.infinispan.spring.embedded.provider.SpringEmbeddedCacheManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.sp... |
/*
* (c) LibriCore
*
* Created on 17-nov-2004
*
* T_ADR_PROV_TRTRY_STATE.java
*/
package org.folio.marccat.dao.persistence;
/**
* @author Maite
* @version $Revision: 1.1 $, $Date: 2005/07/25 13:09:24 $
* @since 1.0
*/
public class T_ADR_PROV_TRTRY_STATE extends T_SINGLE_LONGCHAR {
} |
package br.com.smsc.Service;
import br.com.smsc.Entity.Informacoes;
import org.junit.Assert;
import org.junit.Test;
import java.util.*;
/**
* Created by danielamorais on 3/5/16.
*/
public class DataReaderTest {
@Test
public void testGetCSVContent_successConceicaoCoqueluche() throws Exception {
Map... |
/**
* Copyright (C) 2016 Hyphenate 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 appli... |
/*
* Copyright 2017 HugeGraph Authors
*
* 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, Ve... |
package com.pixelplex.pixelmvi;
import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* ... |
package org.firstinspires.ftc.teamcode.drive;
import androidx.annotation.NonNull;
import com.acmerobotics.dashboard.config.Config;
import com.acmerobotics.roadrunner.geometry.Pose2d;
import com.acmerobotics.roadrunner.localization.ThreeTrackingWheelLocalizer;
import com.qualcomm.robotcore.hardware.DcMotorEx;
import c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.