text stringlengths 7 995k |
|---|
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package edu.kit.ss17.chatsys.team1.client.GUI.View.Form;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.util.ResourceBundle;
/**
*
*/
@SuppressWarnings("AbstractClassWithoutAbstractMethods") // direc... |
/*
* Copyright 2012-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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package io.github.maseev.alpaca.api.util;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Documented
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.FIELD, E... |
package com.kiselev.instagram.model.min;
import lombok.Data;
@Data
public class InstagramCommentaryMin {
private Long pk;
private Long userId;
private Long mediaId;
private Integer type;
private String text;
private String timestamp;
private Integer commentLikeCount;
private St... |
package com.fighter.common;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.channels.FileChannel;
import androidx.annotation.NonNull;
/**
* Created by fighter_lee on 19/07/18.
*/... |
package t14;
import java.awt.*;
public class demo1 {
public static void main(String[] args) {
Frame frame = new Frame("测试");
frame.setVisible(true);
frame.setLocation(0,0);
frame.setSize(1920,1080);
}
} |
package io.subutai.core.messenger.impl.entity;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CollectionTable;
import javax.persistence.Column;
import javax.persistence.ElementCollection;
import jav... |
package com.ezoneproject.flatmessage.internal;
import com.ezoneproject.flatmessage.annotation.FieldDataType;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.math.BigDecimal;
import java.nio.charset.StandardCharsets;
class ConversionUtilTest {
private static... |
/*
* 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 net.cromulence.imgur.apiv3.datamodel.subreddit;
import net.cromulence.imgur.apiv3.datamodel.Image;
public interface SubredditImage extends SubredditEntry<Image> {
} |
package net.corda.cdapps.example.contracts;
import net.corda.cdapps.example.states.TradeState;
import net.corda.testing.node.MockServices;
import org.junit.Test;
public class StateTests {
private final MockServices ledgerServices = new MockServices();
@Test
public void hasAmountFieldOfCorrectType() throw... |
package org.echocat.kata.java.part1.repository;
import org.echocat.kata.java.part1.domain.Magazine;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
@Component
public class MagazineCSVRepository implements MagazineRepository {
... |
package com.yugabyte.yw.common;
import com.google.inject.Singleton;
import com.yugabyte.yw.commissioner.Common;
import com.yugabyte.yw.common.concurrent.KeyLock;
import com.yugabyte.yw.forms.UniverseDefinitionTaskParams;
import com.yugabyte.yw.forms.UniverseDefinitionTaskParams.Cluster;
import com.yugabyte.yw.forms.Un... |
package at.tugraz.ist.swe.cheatapp;
import android.bluetooth.BluetoothServerSocket;
import android.bluetooth.BluetoothSocket;
import android.util.Log;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.LinkedList;
import java.util.... |
/**
* 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.shiny_forest_31513;
import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
impor... |
//package com.lzb.mpmt.service.multiwrapper.util.json.fastjson.config;
//
//import com.alibaba.fastjson.serializer.JSONSerializer;
//import com.alibaba.fastjson.serializer.ObjectSerializer;
//import com.alibaba.fastjson.serializer.SerializeConfig;
//import com.lzb.mpmt.service.multiwrapper.enums.MultiConst.IMultiEnum;
... |
import com.google.common.base.Joiner;
import java.util.HashMap;
import java.util.Map;
/**
* Interactive calculator.
* @author asemenov
* @since 28.09.2019
* @version 1
*/
public class InteractCalc {
protected final String LN = System.getProperty("line.separator");
private final Calculator calculator;
... |
package org.endeavourhealth.imapi.model.ui;
import org.endeavourhealth.imapi.model.tripletree.*;
import org.endeavourhealth.imapi.vocabulary.OWL;
import org.endeavourhealth.imapi.vocabulary.RDF;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.*;
import static org.endeavou... |
package com.dwarfeng.projwiz.raefrm.model.struct;
/**
* 文件管理器工具包。
*
* @author DwArFeng
* @since 0.0.3-alpha
*/
public interface FileProcToolkit extends ModuleToolkit {
} |
package eu.domaindriven.ddq.config;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
import java.util.OptionalLong;
@ConfigGroup
public class EventSource {
/**
* Defines the foreign event source.
*
* Valid notations are only the hostname, the ho... |
/*
* 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 net.minecraft.network;
import com.google.common.base.Charsets;
import com.google.common.collect.Lists;
import io.netty.buffer.Unpooled;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import net.canarymod.Canary;
import net.canarymod.ToolBox;
import net.canarymod.... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
package com.atguigu.gmall.sms.mapper;
import com.atguigu.gmall.sms.entity.MemberPriceEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 商品会员价格
*
* @author ruige
* @email wxrcz@qq.com
* @date 2021-01-31 14:23:41
*/
@Mapper
public interface MemberPr... |
/************************************************************************
* Copyright (c) 2014 IoT-Solutions e.U.
*
* 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.apac... |
/**
* TODO
*
*/
package com.rabbitmq.lihongjie.routing;
/**
* @author hushuang
*
*/
import com.rabbitmq.client.*;
import java.io.IOException;
public class ReceiveLogsDirect2 {
// ����������
private static final String EXCHANGE_NAME = "direct_logs";
// ·�ɹؼ���
private static final String[] routingKeys = ne... |
package net.hyper_pigeon.eldritch_mobs.mixin;
import dev.onyxstudios.cca.api.v3.component.ComponentProvider;
import net.hyper_pigeon.eldritch_mobs.EldritchMobsMod;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.effect.StatusEffects;
import net.minecraft.entity.mob.CreeperEntity;
import net.minecra... |
package com.github.dahaka934.jhocon.annotations;
import com.github.dahaka934.jhocon.JHReflectTypeAdapterFactory;
import com.github.dahaka934.jhocon.fieldlhandler.FieldHandlerValidator;
import com.github.dahaka934.jhocon.fieldlhandler.validator.FieldValidator;
import com.github.dahaka934.jhocon.fieldlhandler.validator.... |
package opwvhk.intellij.avro_idl.naming;
import opwvhk.intellij.avro_idl.psi.AvroIdlEnumDeclaration;
public class AvroIdlEnumNamingConvention extends AvroIdlNamingConvention {
public AvroIdlEnumNamingConvention() {
super(AvroIdlEnumDeclaration.class, 3, 32, IDENTIFIER_START_UPPERCASE);
}
@Override
public Strin... |
package com.orvdroid.gui.adapters;
import android.view.MenuInflater;
import android.view.View;
import android.widget.TextView;
import com.orvdroid.gui.R;
import com.orvdroid.gui.fragments.StateHolder;
public class DeviceMultipleStatusHolder extends GenericViewHolder<StateHolder> {
private TextView statusTXV;
... |
/*
* Copyright 2013-2016, Kasra Faghihi
*
* 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... |
/*
* 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 de.uni_mannheim.informatik.dws.melt.matching_base.external.seals;
import de.uni_mannheim.informatik.dws.melt.matching_base.FileUtil;
import de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile;
import de.uni_mannheim.informatik.dws.melt.matching_base.MatchingException;
import de.uni_mannheim.informati... |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package es.roboticafacil.facilino.common;
import org.json.JSONObject;
/**
* Cal... |
/**
*
* Copyright 2020 paolo mococci
*
* 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.example.mooderation.auth;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ProgressBar;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.rule.ActivityTest... |
/*
* 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) 2010, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
package org.hl7.fhir.r5.model.codesystems;
/*
* #%L
* org.hl7.fhir.r5
* %%
* Copyright (C) 2014 - 2019 Health Level 7
* %%
* 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
*
* h... |
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.assetcatalog.server.spring;
import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.odpi.openmetadata.accessservi... |
package com.goldze.mvvmhabit.ui.login;
import android.arch.lifecycle.Observer;
import android.arch.lifecycle.ViewModelProviders;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.text.method.HideReturnsTransformationMethod;
import android.text.method.PasswordTransformationMethod;
im... |
/*
* 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 ... |
/*
* Simbad - Robot Simulator
* Copyright (C) 2004 Louis Hugues
*
* 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 2 of the License, or
* (at your option) any later ve... |
/*
* Copyright 2012 AT&T
*
* 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... |
/**
* 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 alien4cloud.json.deserializer;
import java.util.Map;
import alien4cloud.topology.task.AbstractTask;
import alien4cloud.topology.task.LocationPolicyTask;
import alien4cloud.topology.task.NodeFiltersTask;
import alien4cloud.topology.task.PropertiesTask;
import alien4cloud.topology.task.RequirementsTask;
import ... |
/*
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 JavaCode.contest.weekly.n0_200.n149;
import java.util.ArrayList;
import java.util.List;
public class N3 {
public int maxRepOpt1(String text) {
char[] s = text.toCharArray();
int[] book=new int[s.length];
int[] cnt=new int[26];
int start=0;
int count=0;
List<... |
package Business;
public class CorredorSemArmazenamento extends Localizacao {
/**
* Construtor da classe CorredorSemArmazenamento. Cria um corredor sem armazenamento.
* @param numero número do corredor a criar
*/
public CorredorSemArmazenamento(int numero) {
super(numero);
}
@O... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.guo.common.exception.user;
/**
* 用户密码不正确或不符合规范异常类
*
* @author guo
*/
public class UserPasswordNotMatchException extends UserException
{
private static final long serialVersionUID = 1L;
public UserPasswordNotMatchException()
{
super("user.password.not.match", null);
}
} |
package com.leetcode.easy;
import java.util.HashMap;
import java.util.Stack;
/**
* Created by Sri on 4/3/2019.
*
* https://leetcode.com/problems/valid-parentheses/
* Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
An input string is valid if... |
/**
* 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
... |
/*
* 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 com.myhailov.mykola.fishpay.api.results;
import android.os.Parcel;
import android.os.Parcelable;
import android.text.TextUtils;
import com.google.gson.annotations.SerializedName;
/**
* Created by Mykola Myhailov on 06.06.18.
*/
public class MemberDetails implements Parcelable{
@SerializedName("id")
... |
package gov.cms.qpp.conversion.encode;
import gov.cms.qpp.conversion.Context;
import gov.cms.qpp.conversion.decode.ClinicalDocumentDecoder;
import gov.cms.qpp.conversion.decode.ReportingParametersActDecoder;
import gov.cms.qpp.conversion.model.Node;
import gov.cms.qpp.conversion.model.TemplateId;
import gov.cms.qpp.co... |
package models.Factories;
import models.AreaEffect.AreaEffect;
import models.AreaEffect.HealthAreaEffect;
import views.Assets;
/**
* Created by The Alex on 7/17/2016.
*/
public class AreaEffectFactory {
/* Methods */
public static HealthAreaEffect getDamageHealthEffect(double modifier){
modifier =... |
/**
* FINCLOUD_APACHE_NO_VERSION
*/
package com.fincloud.vpc.models;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
/**
* Defines values for SubnetStatusCode.
*/
public final class SubnetStatusCode extends ExpandableStringEnum<Sub... |
package www.bwsensing.com.common.tdengine.common;
import lombok.extern.slf4j.Slf4j;
import org.springframework.jdbc.core.JdbcTemplate;
import www.bwsensing.com.common.tdengine.datasource.TDengineSource;
/**
* TDengin 通用模板加载
* @author macos-zyj
*/
@Slf4j
public class BaseMapper {
protected static JdbcTemplate j... |
/*
* 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 2015 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... |
package com.example.gungde.reminder_medicine;
import android.util.Log;
import com.androidnetworking.AndroidNetworking;
import com.androidnetworking.common.Priority;
import com.androidnetworking.error.ANError;
import com.androidnetworking.interfaces.ParsedRequestListener;
import com.example.gungde.reminder_medicine.mo... |
/**
* Copyright (c) 2019 EclipseSource and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0, or the MIT License which is
* available at https://opensource.org/licenses/MIT... |
package com.microsoft.bingads.v13.customermanagement;
import java.math.BigDecimal;
import java.util.Calendar;
import java.util.Collection;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.bind.annotation.adapters.XmlJavaT... |
/*
* Copyright 2004-2010 the Seasar Foundation and the Others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
/*
* Copyright 2014-2017 Rudy De Busscher (www.c4j.be)
*
* 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... |
package com.example.instagram;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import androidx.core.content.ContextCompat;
/*
* This class demonstrates how to extend ErrorFragment
*/
public class ErrorFragment extends androidx.leanback.app.ErrorSupportFragment {
private static fina... |
package Model;
import java.io.File;
import java.util.Objects;
public class ContactData {
//Переменные ContactData - данные, которые есть у контактов
private int id = Integer.MAX_VALUE;
private String firstName;
private String middleName;
private String lastName;
private String nickName;
... |
/**
* Package to hold builders common for SQL modification clauses ({@code INSERT}, {@code UPDATE}, and {@code DELETE}).
*/
package org.sql.generation.api.grammar.builders.modification; |
package io.github.gasparbarancelli;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.commons.lang3.SerializationUtils;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.*;
public class NativeQueryCache {
private static final Map<NativeQueryInfoKey, NativeQuery... |
/*
* Copyright (c) 2020-2021 DumbDogDiner <dumbdogdiner.com>. All rights reserved.
* Licensed under the MIT license, see LICENSE for more information...
*/
package com.dumbdogdiner.stickyapi.bukkit.util;
import com.dumbdogdiner.stickyapi.common.util.MathUtil;
import org.bukkit.Bukkit;
import org.bukkit.GameMode;
im... |
package us.ihmc.jMonkeyEngineToolkit.camera;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import javax.swing.JFrame;
import javax.swing.JPanel;
import us.ihmc.euclid.tuple3D.Point3D;
import us.ihmc.euclid.tuple3D.interfaces.Point3DReadOnly;
i... |
/*
* Copyright 2019 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
/*
* This file is part of dependency-check-utils.
*
* 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... |
/*
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
* Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
package cz.pfreiberg.knparser.parser;
import cz.pfreiberg.knparser.domain.prvkykatastralnimapy.SouradniceObrazu;
import cz.pfreiberg.knparser.util.VfkUtil;
public class SouradniceObrazuParser {
public static SouradniceObrazu parse(String[] tokens) {
int i = 0;
SouradniceObrazu souradniceObrazu = new Souradnice... |
import java.util.ArrayList;
import java.util.Arrays;
/**
* Created by xdc on 16-1-19.
*/
/*
......|<-last_blank->|<-last_range->|
| |
v v
from_id from_id+next_index
*/
public class Message_compress {
public s... |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2020 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... |
/*
* Copyright 1&1 Internet AG, https://github.com/1and1/
*
* 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 L07Inheritance.ex04FragileBaseClass;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class Animal {
protected List<Food> foodEaten;
public Animal() {
this.foodEaten = new ArrayList<>();
}
public final void eat(Food food) {
foodEaten.add(food... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.mode.access_token;
import android.content.SharedPreferences;
import com.example.hu.accesstoken.ApplicationRunTime;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
/**
* Created by hu on 14/10/27.
*/
public class AccessToken {
... |
/*
* Program LICHeE for multi-sample cancer phylogeny reconstruction
* by Victoria Popic (viq@stanford.edu) 2014
*
* MIT License
*
* Copyright (c) 2014 Victoria Popic.
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the "Softw... |
package org.lightadmin.demo.model;
import org.springframework.format.annotation.NumberFormat;
import org.springframework.util.Assert;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Date;
import java.util.... |
package io.ebeaninternal.server.deploy.generatedproperty;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.deploy.BeanProperty;
/**
* Support java.time types as GeneratedProperty.
*/
final class GeneratedInsertJavaTime {
static abstract class Base implements GeneratedProperty, GeneratedWhenCreated... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
package dev.aquashdw.community.model;
public class MediaDescriptorDto {
private Integer status;
private String message;
private String originalName;
private String resourcePath;
public MediaDescriptorDto() {
}
public MediaDescriptorDto(Integer status, String message, String originalName, ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2018 Playtika
*
* 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, modif... |
package com.bazaarvoice.maven.plugin.s3repo.create;
import org.apache.maven.plugin.MojoExecutionException;
public class RepoStatistics {
static RepoStatistics createRepoStatisticsFromCreateOrUpdateContext(CreateOrUpdateContext context) throws MojoExecutionException {
if (context.getLocalYumRepo().isRepoD... |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... |
package activities.quests;
import activities.activity.Activity;
import activities.banking.Bank;
import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.api.map.Position;
import org.osbot.rs07.api.ui.Tab;
import util.Sleep;
public class RuneMysteries extends QuestActivity {
private final DialogueCompleter dukeHo... |
package com.hust.baseweb.applications.shippingorder.model;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class CreateShippingOrderInputModel {
private String senderName;
private String senderPhoneNumber;
private String senderAddress;
private String senderCommuneId;
private ... |
package com.funtest.core.util;
import java.util.List;
import java.util.Map;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
/**
*
* 类JsonUtil.java的实现描述:TODO 类实现描述
*
* @author fanjiangqi@myhexin.com 2016年1月18日 下午1:53:12
*/
public class JsonUtil {
public static String getJSONSt... |
/*
* 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 edu.virginia.vcgr.genii.ui.plugins.queue.jobs;
import javax.swing.table.TableColumn;
import org.morgan.util.gui.table.AbstractRowTableColumnDefinition;
import edu.virginia.vcgr.genii.client.queue.JobInformation;
class CredentialsColumn extends AbstractRowTableColumnDefinition<JobInformation, CredentialBundl... |
/*
* This file is part of TicTaaC.
*
* 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 ... |
/*
* 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 SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... |
package com.dreamliner.jcenter.sample.lib;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... |
/*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.