text stringlengths 7 995k |
|---|
import java.util.Map;
import java.util.TreeMap;
/**
* @author Avraham sikirov 318731478.
* Test.
*/
public class ExpressionsTest {
/**
* Test.
*
* @param args args
* @throws Exception exception
*/
public static void main(String[] args) throws Exception {
Expression test =... |
package de.adorsys.sts.common.util;
public final class EnvProperties {
public static String getEnvOrSysProp(String propName, boolean optional) {
String propValue = System.getenv(propName);
if(isBlank(propValue))propValue = System.getProperty(propName);
if(isBlank(propValue)) {
if (optional)return nul... |
/*
* Copyright (c) 2020 Logical Clocks AB
*
* 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... |
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.guing.event;
import java.util.EventObject;
/**
* This event i... |
/*
* Copyright 2016-2019 Crown Copyright
*
* 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 a... |
package com.github.mustachejava.codes;
import com.github.mustachejava.DefaultMustacheFactory;
import com.github.mustachejava.Mustache;
import com.github.mustachejava.TemplateContext;
/**
* Name a section: {{$name}}...{{/name}}
*/
public class ExtendCheckNameCode extends DefaultCode {
private boolean suppressed;
... |
package petablox.project;
import hj.runtime.wsh.WshRuntime_c;
import petablox.bddbddb.RelSign;
import petablox.project.ITask;
import petablox.project.analyses.DlogAnalysis;
import petablox.project.analyses.ProgramRel;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.... |
package com.telerikacademy.furniture.commands;
import com.telerikacademy.furniture.commands.contracts.Command;
import com.telerikacademy.furniture.core.contracts.FurnitureFactory;
import com.telerikacademy.furniture.core.contracts.FurnitureRepository;
import com.telerikacademy.furniture.models.contracts.Company;
impor... |
package generated.zcsclient.account;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for syncGalRequest complex type.
*
* <p>The following schema fragment... |
/**
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.market.option;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.coverBea... |
/*
* Copyright (c) 2010-2020 Tencent Cloud. All rights reserved.
*
* 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 ... |
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
/*
* 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 ... |
/*
Problem :: Design a data structure that supports the following two operations:
void addWord(word)
bool search(word)
search(word) can search a literal word or a regular expression string containing only letters a-z or .. A . means
it can represent any one letter.
Example:
addWord("bad")
addWord("dad")
addWord("m... |
/*
* MIT LICENSE
* Copyright 2000-2019 Simplified Logic, 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, co... |
/* Copyright (c) 2001-2020, David A. Clunie DBA Pixelmed Publishing. All rights reserved. */
package com.pixelmed.apps;
import com.pixelmed.dicom.*;
import com.pixelmed.display.*;
import java.io.*;
import java.awt.*;
import java.awt.color.*;
import java.awt.image.*;
import com.pixelmed.slf4j.Logger;
import com.pi... |
package io.github.tobiasz.cache.utils.events;
import org.reflections.Reflections;
import java.lang.reflect.InvocationTargetException;
import java.util.Set;
import java.util.stream.Collectors;
public class EventFinder {
private static Set<Class<? extends Listener>> findAllListeners(String eventPackage) {
... |
package com.liuhuiyu.scaffold.socket;
import com.liuhuiyu.scaffold.utils.BytesUtil;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.DataInputStream;
import java.io.IOException;
import java.net.Socket;
/**
* ... |
package com.avaje.tests.unitinternal;
import java.util.List;
import junit.framework.TestCase;
import com.avaje.ebeaninternal.server.core.XmlConfigLoader;
import com.avaje.ebeaninternal.server.lib.util.Dnode;
public class TestXmlConfigLoader extends TestCase {
public void test() {
XmlConfigLoad... |
// ASM: a very small and fast Java bytecode manipulation framework
// Copyright (c) 2000-2011 INRIA, France Telecom
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of ... |
/*
Copyright 2019 Ericsson AB.
For a full list of individual contributors, please see the commit history.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/l... |
package upf.edu.util;
import twitter4j.auth.OAuthAuthorization;
import twitter4j.conf.ConfigurationBuilder;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;
public class ConfigUtils {
/**
* Get a Twitter {@link OAuthAuthorization} from a Java {@link Properties} file.
... |
/*
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]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/LICEN... |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package uk.gov.hmcts.reform.em.annotation.service;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import uk.gov.hmcts.reform.em.annotation.service.dto.AnnotationDTO;
import java.util.Optional;
import java.util.UUID;
/**
* Service Interface for managing Annotation.
*/
... |
package com.alphawallet.app.widget;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.Nullable;
import com.alphawallet.app.R;
import com.alphawalle... |
/* Copyright (c) 2008, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See licens... |
package com.linecorp.sample.login.api;
import com.linecorp.sample.login.api.response.AccessToken;
import com.linecorp.sample.login.api.response.Verify;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Field;
import retrofit2.htt... |
/*
* 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 ... |
/*
* (c) Copyright Christian P. Fries, Germany. Contact: email@christian-fries.de.
*
* Created on 22.11.2009
*/
package net.finmath.montecarlo.interestrate.products.components;
import java.util.ArrayList;
import java.util.Set;
import net.finmath.exception.CalculationException;
import net.finmath.montecarlo.condit... |
package org.wso2.extension.siddhi.io.snmp.util.exceptions;
import java.io.IOException;
/**
* Agent Not found exception
*
*/
public class AgentNotFoundException extends IOException {
public AgentNotFoundException() {
super();
}
public AgentNotFoundException(String message) {
super(mes... |
package org.dllwh.cloud.feign.model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor // 生成一个无参数的构造方法
public class User {
private String userName;
private String age;
} |
/*___Generated_by_IDEA___*/
package edu.umn.d.restaurantpagingapp;
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
public final class Manifest {
} |
/*
* Sonar ESQL Plugin
* Copyright (C) 2013-2021 Thomas Pohl and EXXETA AG
* http://www.exxeta.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/lice... |
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... |
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 0.8.6
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.eve.model;
import java.... |
/*
* www.javagl.de - JglTF
*
* Copyright 2015-2016 Marco Hutter - http://www.javagl.de
*
* 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 limit... |
/*
* 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.hui.properties;
/**
* @Author: CarlChen
* @Despriction: QQ配置属性类
* @Date: Create in 21:59 2019\2\17 0017
*/
public class QQproperties extends SocialProperties {
private String providerId = "qq";
public String getProviderId() {
return providerId;
}
public void setProviderId(S... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
pa... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package mavliwala.nazmuddin.zoloassignment.profile.presenters;
import mavliwala.nazmuddin.domain.Converter;
import mavliwala.nazmuddin.domain.login.models.User;
import mavliwala.nazmuddin.zoloassignment.register.models.UserVO;
/**
* Created by nazmuddinmavliwala on 30/07/17.
*/
public class UserToUserVOConverter i... |
package com.ax.manager.dto;
public class PageRequest {
/**
* 默认页面大小
*/
public static Integer DEFAULT_PAGE_SIZE = 10;
/**
* 默认页码
*/
public static Integer DEFAULT_PAGE_NUM = 1;
private Integer pageNum;
private Integer pageSize;
public Integer getPageNum() {
ret... |
/*
* Copyright 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
public class Test{
public static void main(String args[]){
int i, j, k, l;
for(i=1; i<=10; i++)
{
for(j=1; j<=i; j++)
{
System.out.print("$");
}
for(k=i; k<=10; k++)
{
System.out.print("*");
}
for(l=10; l>=i; l--)
{
System.out.print("#");
}
System.out.println("");
}... |
package org.foreverdeepak.gwt.ui;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
/**
* Created by deepakc on 18/12/15.
*/
public class App implements EntryPoint {
@Override
public void onModuleLoad() {
Window.alert("Testing");
}
} |
/*******************************************************************************
* Copyright (c) 2002, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... |
package duelistmod.cards.pools.aqua;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.localization.CardStrings;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import dueli... |
package geometricobjects;
import java.awt.Graphics;
/**
* Interface to represent a drawable object
*
* @author Davide Tonin
* @version 1.0 2017-09-18
*/
public interface Drawable {
public void draw(Graphics g);
} |
/**
* 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 under ... |
package com.my.core.data;
import android.os.Handler;
import android.os.Looper;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
/**
* It is a state representing the checkable mode and could be subscribed to.
*/
// TODO: Save/restore state?
public class ObservableCheckableState {
privat... |
package com.yoyiyi.honglv.ui.fragment.another.week;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.FrameLayout;
import com.flyco.ta... |
package com.github.malyszaryczlowiek.cpcdb.buffer;
public enum ActionType
{
EDIT, REMOVE, INSERT
} |
/**
* generated by Xtext 2.12.0
*/
package fire.fire;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Program</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ui;
import java.awt.SystemTray;
import java.awt.TrayIcon;
/**
*
* @author eduardo
*/
public class UITray {
final TrayIcon trayIcon = null;
boolean soportado;
public UITray() {
soporta... |
/*
* 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 2013 the original author or authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
package com.mick.ntw;
/**
* Constants class for joining words, used in the conversion.
*/
public class JoiningWords {
public static final String AND = "and";
public static final String HYPHEN = "-";
public static final String SPACE = " ";
private JoiningWords() {
}
} |
package CS310;
class Node {
int key, height;
Node left, right;
Node(int d) {
key = d;
height = 1;
}
}
class AVLTree
{
Node root;
// A utility function to get the height of the tree
int height(Node N) {
if (N == null)
return 0;
r... |
/*
* 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.ervin.springbatch.Reader;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.configuration.annotation.JobBuilderFactory;
import org.springframework... |
/*
* Created by bijay
* GOFLEX :: WP2 :: foa-core
* Copyright (c) 2018.
*
* 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 r... |
/*
*/
package org.apache.taverna.server.port_description;
/*
* 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 t... |
//==============================================================================
// This software is part of the Open Standard for Unattended Sensors (OSUS)
// reference implementation (OSUS-R).
//
// To the extent possible under law, the author(s) have dedicated all copyright
// and related and neighboring rights to t... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.friendeditor.rest;
import java.util.List;
import java.util.Map;
import javax.websocket.server.PathParam;
import org.spri... |
/*
* Copyright (C) 2012-2021 DuyHai DOAN
*
* 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 agree... |
package org.infinispan.counter.configuration;
import static org.infinispan.counter.logging.Log.CONTAINER;
import org.infinispan.commons.configuration.attributes.Attribute;
import org.infinispan.commons.configuration.attributes.AttributeSet;
import org.infinispan.counter.api.Storage;
/**
* Base counter configuration... |
package com.amee.platform.resource;
import java.util.HashSet;
import java.util.Set;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.validation.DataBinder;
import org.springfram... |
package com.aquaman.security.admin.entity.domain;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
/**
* <p>
*
* </p>
*
* @author wei... |
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
package io.github.mmm.marshall.snakeyaml;
import java.math.BigDecimal;
import org.assertj.core.data.Offset;
import org.junit.jupiter.api.Test;
import io.github.mmm.marshall.StructuredTextF... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_8419 {
} |
package com.nr.agent.instrumentation.r2dbc;
import com.newrelic.agent.bridge.NoOpTransaction;
import com.newrelic.agent.bridge.datastore.DatastoreVendor;
import com.newrelic.agent.bridge.datastore.JdbcHelper;
import com.newrelic.agent.bridge.datastore.R2dbcObfuscator;
import com.newrelic.agent.bridge.datastore.R2dbcOp... |
package org.monarchinitiative.omop.analysis;
import java.util.Objects;
public class ChrPosition {
private final String chromosome;
private final int start;
private final int end;
public ChrPosition(String chr, int start, int end) {
this.chromosome = chr;
this.start = start;
th... |
package com.bakdata.conquery.models.events.generation;
import static org.assertj.core.api.Assertions.assertThat;
import java.io.IOException;
import java.util.Collection;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import com.bakdata.conquery.io.cps.CPSTy... |
/*
* 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 under 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 writing, software distributed under 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 writing, software
* distributed u... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package all_problems;
import java.util.Arrays;
public class P1727_LargestSubmatrixWithRearrangements {
public int largestSubmatrix(int[][] matrix) {
for (int i = 1; i < matrix.length; i++) {
for (int j = 0; j < matrix[i].length; j++) {
if (matrix[i][j] != 0) {
... |
/*
* Copyright (c) 2015-2019 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* Unless required by applicable law or agreed to in writing, software
* distri... |
/*
* Copyright (C) 2020 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.github.fhtw.swp.tutorium.reflection.impl;
import com.github.fhtw.swp.tutorium.reflection.ClassInstanceFactory;
import com.github.fhtw.swp.tutorium.reflection.ComplexThing;
import com.github.fhtw.swp.tutorium.reflection.SimpleThing;
import com.github.fhtw.swp.tutorium.reflection.Thing;
import org.junit.Asse... |
package com.llb.mall.order.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.llb.common.utils.PageUtils;
import com.llb.mall.order.entity.OrderReturnReasonEntity;
import java.util.Map;
/**
* 退货原因
*
* @author liulebin
* @email liulebinn@163.com
* @date 2021-04-10 22:48:10
*/
public... |
package com.baeldung.commons.lang3;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNotSame;
import static org.junit.Assert.assertNull;
import st... |
/* license: https://mit-license.org
*
* Star Trek: Interstellar Transport
*
* Written in 2020 by Moky <albert.moky@gmail.com>
*
* ==============================================================================
* The MIT License (MIT)
*
* Copyright (c) 2020 Albert Moky
*
* Permi... |
/*
* Copyright 2016 Naver 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 by applicable law or agreed to ... |
/*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... |
package ru.shakurov.hateoas.hateoas_example.repositories;
import org.springframework.data.jpa.repository.JpaRepository;
import ru.shakurov.hateoas.hateoas_example.domain.Account;
public interface AccountRepository extends JpaRepository<Account, Long> {
} |
package Lab7_P2;
/**
* Created by ZaidK on 15-03-21.
*/
//********************************************************************
// Hourly.java
//
// Represents an employee that gets paid by the hour.
//********************************************************************
public class Hourly extends Employee
{
p... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.RepaymentRecords;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.ecapiprod.drawndn.repaymentrecord.query response... |
package org.esupportail.esupsignature;
import org.hibernate.Session;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.tool.hbm2ddl.SchemaVali... |
package com.jmoore.wpa2hasher;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Androi... |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... |
/*
* 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 ... |
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("jh")
public class class278 extends CacheableNode {
@ObfuscatedName("g")
@ObfuscatedSignature(
signature = "Ljr;"
)
static IndexDataBase field3549... |
/*
* $Id: UIAction.java 3471 2009-08-27 13:10:39Z kleopatra $
*
* Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
* Santa Clara, California 95054, U.S.A. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
package me.dragonflyer.minimetro;
import me.dragonflyer.minimetro.gui.controller.Controller;
import me.dragonflyer.minimetro.gui.model.Model;
public class Main {
public static void main(String[] args) {
Model model = new Model();
Controller controller = new Controller(model);
controller.s... |
package com.hendisantika.springbootoauth2.model;
import com.fasterxml.jackson.annotation.JsonBackReference;
import lombok.Data;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
impo... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.