text
stringlengths
7
995k
package eu.rtakacs.locks; import java.util.concurrent.locks.ReentrantReadWriteLock; public class ReentrantReadWriteLockExample { private static final ReentrantReadWriteLock lock = new ReentrantReadWriteLock(true); private static String message = "a"; public static void main(String[] args) throws InterruptedExc...
package com.yyxnb.what.application; import android.annotation.SuppressLint; import android.app.Activity; import android.app.Application; import android.content.pm.ApplicationInfo; import android.os.Bundle; import android.util.Log; import java.lang.reflect.Field; import java.lang.reflect.ParameterizedType; /** * ===...
package io.fabric8.kubernetes.api.model; import java.util.HashMap; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fast...
/** * Copyright 2010-2016 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. * You may obtain a copy of the License at: * * http://aws.amazon.com/apache2.0 * * This fi...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.network.v2020_05_01; import com.microsoft.azure....
/***************************************************************************** * public class IVLCVout.java ***************************************************************************** * Copyright © 2015 VLC authors, VideoLAN and VideoLabs * * This program is free software; you can redistribute it and/or modify i...
/******************************************************************************* * Copyright (c) 2018 Giulianini Luca * * 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...
package com.github.anilople.javajvm.instructions.control; import com.github.anilople.javajvm.instructions.BytecodeReader; import com.github.anilople.javajvm.instructions.Instruction; import com.github.anilople.javajvm.runtimedataarea.Frame; import com.github.anilople.javajvm.runtimedataarea.JvmThread; /** * Operatio...
package bd.ac.bauet.csebauet; import android.content.Context; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import uk.co.chrisjenx.calligraphy.CalligraphyConfig; import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper; public class Sabbir extends AppCompatActivity { @Override ...
package edu.iu.terracotta.repository; import edu.iu.terracotta.model.app.AnswerMc; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.transaction.annotation.Transactiona...
/* * 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...
package net.atos.services; import javax.annotation.Resource; import javax.jws.HandlerChain; import javax.jws.WebService; import javax.xml.ws.WebServiceContext; @WebService(name="echo", endpointInterface="net.atos.services.DummyService", targetNamespace = "http://net.atos", wsdlLoca...
/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
/* * Copyright (c) 2015 Sfera Labs LLC. 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 source code must retain the above copyright notice, * this list of conditions...
package HackerRank.src.Tracks.Tutorials.ThirtyDaysOfCode.D8_DictionariesAndMaps.Java; import java.util.*; class Solution{ public static void main(String [] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); Map<String, Integer> phoneMap = new HashMap<String, Integer>(); ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__long_max_postinc_54e.java Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-54e.tmpl.java */ /* * @description * CWE: 190 Integer Overflow * BadSource: max Set data to the max value for long * GoodSource: A ha...
/* * Copyright 2014 Bernd Vogt 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/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this...
package org.mtransit.parser.ca_cowichan_valley_transit_system_bus; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.parser.CleanUtils; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.MTLog; import org.mtransit.parser.StringUtils; import ...
package com.uname.blescanner.util; import android.util.Log; /** * Created by apache on 4/23/2015. */ public class LogUtil { public static final int VERBOSE = 1; public static final int DEBUG = 2; public static final int INFO = 3; public static final int WARN = 4; public static final int ERROR =...
// This is a generated file. Not intended for manual editing. package fr.ensimag.deca.intellijplugin.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface DecaParam extends PsiElement { @NotNull DecaIdent getIdent(); @NotNull DecaReturnType getR...
/** * Binary encoders. */ @ml.alternet.misc.InfoClass package ml.alternet.encode;
package ru.job4j.pseudo; /** * Класс Triangle. * * @author Alexandra Yazopova (mailto:alexandra.yaz@gmail.com) * @version 1 * @since 03.10.2018 */ public class Triangle implements Shape { @Override public String draw() { StringBuilder pic = new StringBuilder(); pic.append(" + "); ...
package pl.org.opi.grammatik.model; import pl.org.opi.grammatik.model.expression.ExpressionSeq; import pl.org.opi.grammatik.model.output.Text; import pl.org.opi.grammatik.utils.RandomUtils; import java.util.ArrayList; import java.util.List; public class GroupNode implements Node { private final String name; ...
package com.example.jnidemo.view; import android.animation.Animator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.TypedArray; import android.graphics.BlurMaskFilter; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import...
/* * Copyright @ 2018 - Present, 8x8 Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
package com.salaboy.knative.knativehelloworld; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class KnativeHelloWorldApplicationTests { @Test void contextLoads() { } }
package com.huaweicloud.sdk.as.v1.model; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import java.util.ArrayList; import java.util.List; import java.u...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.appservice.v2019_08_01.implementation; import co...
package com.codepath.flickster.models; import org.json.JSONException; import org.json.JSONObject; /** * Created by vidhya on 9/16/17. */ public class Video { String key; String site; String type; public String getKey() { return key; } public void setKey(String key) { this...
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ package org.odpi.openmetadata.userinterface.uichassis.springboot.beans; import java.util.List; public class Graph { private List<Node> nodes; private List<Edge> edges; public Graph(List<Node> nodes, List<Ed...
package com.afeng.web.module.admin.aspectj.lang.annotation; import com.afeng.web.module.admin.aspectj.lang.enums.BusinessType; import com.afeng.web.module.admin.aspectj.lang.enums.OperatorType; import java.lang.annotation.*; /** * 自定义操作日志记录注解 * * @author ruoyi */ @Target({ElementType.PARAMETER, ElementType.METHO...
/***************************************************************************** * This file is part of the Prolog Development Tool (PDT) * * Author: Andreas (among others) * WWW: http://sewiki.iai.uni-bonn.de/research/pdt/start * Mail: pdt@lists.iai.uni-bonn.de * Copyright (C): 2014, CS Dept. III, University of B...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Copyright (C) 2015 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 main; import java.awt.Dimension; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import logic.EA; import logic.Fitness; public class Main { public static void main(String[] args) throws InterruptedException{ try { ...
/* * Copyright 2011 Rapleaf * * 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 1999-2101 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.taskana.task.internal.jobs; import java.time.Duration; import java.time.Instant; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pro.taskana.common.api.Bas...
/* * Copyright 2017-present Facebook, 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...
/* * Copyright &copy 2014-2016 NetApp, 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 require...
package com.minkov.springintroapp; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class CarsConfig { @Bean public String[] cars() { return new String[] { "bqla", "zelena"}; } }
package io.gatekeeper.cli.command; import io.gatekeeper.cli.AbstractCommand; import io.gatekeeper.cli.AbstractCommandWithConfiguration; import io.gatekeeper.cli.Input; import io.gatekeeper.cli.Output; import io.gatekeeper.configuration.Configuration; import io.gatekeeper.configuration.data.backend.LocalBackendConfigur...
package com.robot.channel.worker.utils; import java.security.spec.KeySpec; import java.util.logging.Level; import java.util.logging.Logger; import javax.crypto.Cipher; import javax.crypto.SecretKeyFactory; import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.SecretKeySpec; /** * @version V1.0 * @desc AES ...
package io.quarkus.ts.openshift.common.config; import java.util.Map; import java.util.stream.Collectors; /** * Simple configuration mechanism for the test suite. * It currently only reads system properties, and only those that have a prefix of {@code ts.}. * In the future, it could possibly read other sources of d...
/* * Copyright 2006-2014 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...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/datacatalog/v1beta1/policytagmanager.proto package com.google.cloud.datacatalog.v1beta1; /** * <pre> * Request message for * [DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag]. * </pre> * * Prot...
package com.github.alfasgd.salem; public interface MafiaSupport extends MafiaNonKilling { @Override public default RoleAlignment getFullAlignment() { return RoleAlignment.MafiaSupport; } }
/** * File Created by Joshua Zierman on Oct 4, 2018 */ package project2.args; /** * command-line argument for a port * * @author Joshua Zierman [py1422xs@metrostate.edu] * */ public abstract class PortArg extends Arg<Integer> { /** * Constructs an instance of this class * * @param flag * ...
package org.starrier.sky.ladder.basic.security; /** * @author starrier * @date 2020/12/28 */ public class HexUtils { private static final char[] HEXES = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; /** * byte数组...
package com.onnoa.shop.demo.video.dto; import lombok.Data; /** * @author onnoA * @Description 七牛文件Dto * @date 2021/7/6 23:20 */ @Data public class QiniuFileDto { /** * 文件名 */ private String fileName; /** * 文件大小 */ private Long fsize; /** * 文件key */ private Str...
package stubidp.saml.extensions.extensions.impl; import stubidp.saml.extensions.extensions.UPRN; public class UPRNImpl extends StringValueSamlObjectImpl implements UPRN { protected UPRNImpl(String namespaceURI, String elementLocalName, String namespacePrefix) { super(namespaceURI, elementLocalName, names...
package com.appallure.miny.util; import android.annotation.SuppressLint; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.util.Log; import android.widget.Toast; public class PackageIntentListener extends Broadc...
package grafosPratica1; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class GrafoNOLA{ private Map<Integer, List<Integer>> vertices; public GrafoNOLA() { vertices = new HashMap(); } public boolean existeVertice(Integer v){ r...
/* * 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 view; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; ...
/** * 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 edu.javacourse.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import java.util.List; /** * Пример работы с версионной системой * * @author ASaburov */ public class HibernateSimple { public static void main(String[] args) { ...
package census.query.dto.internal; import census.anatomy.Collection; import census.query.dto.CensusCollectionImpl; import census.query.dto.util.Regions; public class Map extends CensusCollectionImpl { private String zoneId; private Regions regions; public Map() { super(Collection.MAP); } public String get...
/** * Copyright (c) 2015, biezhi 王爵 (biezhi.me@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 appli...
/** * 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 org.appsec.securityRAT.security; import org.pac4j.cas.client.CasClient; import org.pac4j.core.client.Clients; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class ...
class mgkbjsu { public int[] e_RAG8wzoB (boolean cf2kZCAATSa2xd, int[] lnrpF7ZN46A8, int G0R6OXN, wZ6zy02jOHio[] FJhyy, int b7hPnjmOg3v25u) { AfpYN d; ; ; while ( !VTru[ !--true[ !!iAAAuSKw.g7QmpX4UQV]]) ; int[][] xGukjQVv0 = -473654.AT3kezedVKV = !this.t(); tzEz[]...
package com.xiaojinzi.component; /** * time : 2018/07/26 * * @author : xiaojinzi */ public class ComponentUtil { private ComponentUtil() { } /** * 1.这是注解驱动器生成类的时候的目录 * 2.这也是一些写好的实现类的包名字,不要轻易更改,如果要更改,请仔细比对 * ComponentApiImpl 模块的实现类的位置 */ public static final String IMPL_OUTPUT...
/*<listing chapter="5" number="3">*/ /** * Class that solves problem of counting abnormal cells. * @author Koffman and Wolfgang **/ public class Blob implements GridColors { /** The grid */ private TwoDimGrid grid; /** Constructors */ public Blob(TwoDimGrid grid) { this.grid = grid; ...
/* * 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-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package hex.glm; import hex.*; import hex.ModelMetrics.MetricBuilder; import hex.ModelMetricsBinomial.MetricBuilderBinomial; import hex.ModelMetricsBinomialGLM.ModelMetricsMultinomialGLM; import hex.ModelMetricsBinomialGLM.ModelMetricsOrdinalGLM; import hex.ModelMetricsHGLM.MetricBuilderHGLM; import hex.ModelMetricsMu...
package org.openstreetmap.atlas.geography.atlas.change; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; import org.junit.Assert; import org.junit.Test; import org.openstreetmap.atlas.exception.change.FeatureChangeMergeException; import org.openstreetmap.atlas.exception.change.MergeF...
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.heeexy.example.dao; import com.alibaba.fastjson.JSONObject; import org.apache.ibatis.annotations.Param; /** * @author: hxy * @description: 登录相关dao * @date: 2017/10/24 11:02 */ public interface LoginDao { /** * 根据用户名和密码查询对应的用户 * * @param username 用户名 * @param password 密码 * ...
package dev.slimevr.gui; import java.awt.event.MouseEvent; import java.util.HashMap; import java.util.Map; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JLabel; import javax.swing.event.MouseInputAdapter; import dev.slimevr.VRServer; import dev.slimevr.gui.swing.ButtonTimer; import dev...
package com.lichkin.application.apis.api50000.P.n00; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import com.lichkin.framework.defines.LKFrameworkStatics; import com.lichkin....
package net.minecraft.init; import net.minecraft.dispenser.BehaviorProjectileDispense; import net.minecraft.dispenser.IPosition; import net.minecraft.entity.IProjectile; import net.minecraft.entity.item.EntityExpBottle; import net.minecraft.world.World; final class Bootstrap$4 extends BehaviorProjectileDispense { ...
package com.toavina.WebFramework.tool; import com.toavina.WebFramework.annotation.Controller; import com.toavina.WebFramework.annotation.UrlMapping; import com.toavina.WebFramework.annotation.UrlMappingModel; import javax.servlet.ServletContext; import java.io.File; import java.io.IOException; import java.lang.annota...
package xyz.doikki.videoplayer.ijk; import android.content.ContentResolver; import android.content.Context; import android.content.res.AssetFileDescriptor; import android.media.AudioManager; import android.net.Uri; import android.os.Bundle; import android.text.TextUtils; import android.view.Surface; import android.vie...
import java.io.*; /* ID: soldier7 LANG: JAVA TASK: subset */ public class subset { public static void main(String[] args) throws IOException { // Use BufferedReader rather than RandomAccessFile; it's much faster BufferedReader f = new BufferedReader(new FileReader("subset.in")); // input fi...
package com.sesign.pattern.creational.factory.color; public interface Color { void fill(); }
/* * ============================================================================ * (c) Copyright 2004 Nokia * This material, including documentation and any related computer programs, * is protected by copyright controlled by Nokia and its licensors. * All rights are reserved. * * These materials have been co...
package net.md_5.bungee.jni.cipher; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import java.security.GeneralSecurityException; import javax.crypto.SecretKey; /** * Class to expose cipher methods from either native or fallback Java cipher. */ public interface BungeeCipher { vo...
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package fr.thesmyler.terramap.maps.imp; import fr.thesmyler.terramap.maps.CachingRasterTiledMap; import fr.thesmyler.terramap.maps.TiledMapProvider; import fr.thesmyler.terramap.maps.utils.TilePosUnmutable; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TextComponentString; public class...
/** * * Problem Statement- * [Cut the sticks](https://www.hackerrank.com/challenges/cut-the-sticks/problem) * */ package com.javaaid.hackerrank.solutions.generalprogramming.basicprogramming; import java.util.Scanner; /** * @author Kanahaiya Gupta * */ public class CutTheSticks { public static void main(Str...
/* * Copyright 2013 MovingBlocks * * 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...
package pl.comp.view; import java.io.FileInputStream; import java.io.IOException; import java.util.Locale; import java.util.ResourceBundle; import java.util.logging.LogManager; import java.util.logging.Logger; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javaf...
/* * Copyright © 2022 DATAMART 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright 2018-present HiveMQ and the HiveMQ Community * * 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 ...
package com.twu.biblioteca; public class Book { public String[] bookName = new String[10]; public String[] authors = new String[10]; public String[] pubDates = new String[10]; public String[] borrowReaders = new String[10]; public Book() { { int i = 0; while (i < bo...
package mariculture; import mariculture.core.Core; import mariculture.core.config.Machines.Client; import mariculture.core.lib.MachineRenderedMeta; import mariculture.core.lib.MachineRenderedMultiMeta; import mariculture.core.lib.Modules; import mariculture.core.lib.RenderIds; import mariculture.core.lib.TankMeta; imp...
package com.sromku.simple.fb.example; import com.facebook.SessionDefaultAudience; import com.sromku.simple.fb.Permissions; import com.sromku.simple.fb.SimpleFacebook; import com.sromku.simple.fb.SimpleFacebookConfiguration; import com.sromku.simple.fb.utils.Logger; import android.app.Application; public class Sample...
package aoj; import java.io.PrintWriter; import java.util.Scanner; public class P1161 { static Scanner cin = new Scanner(System.in); static PrintWriter cout = new PrintWriter(System.out); static { } public static void main(String[] args) { cout.println(cin.nextInt() + cin.nextInt()); ...
package sg.nus.iss.portal; import java.util.Arrays; import java.util.HashSet; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.ModelAttribute; import org....
package com.fmtech.fmlive.presenter; import com.fmtech.fmlive.base.BaseView; import com.fmtech.fmlive.presenter.ipresenter.ILoginPresenter; /** * ================================================================== * Copyright (C) 2017 MTel Limited All Rights Reserved. * * @author Drew.Chiang * @version v1.0.0 * ...
package org.sitoolkit.ad.archetype.tips.infrastructure.search; import static org.hamcrest.Matchers.contains; import static org.hamcrest.Matchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; public class PaginationDoTest { /** * 実際のユースケースに即したケースです。 以下の設定値、入力値をプロパティに設定し、期待する演算結果が得られる...
/** * Copyright (c) 1995 - 2019 Cycorp, Inc. All rights reserved. */ package com.cyc.cycjava.cycl.thesaurus; import static com.cyc.tool.subl.jrtl.nativeCode.subLisp.Characters.CHAR_greater; import static com.cyc.tool.subl.jrtl.nativeCode.subLisp.Characters.CHAR_quotation; import static com.cyc.tool.subl.jrtl.nativ...
package weixin.popular.bean.datacube.article; import java.util.List; public class ArticlesummaryResult { private List<Articlesummary> list; public List<Articlesummary> getList() { return list; } public void setList(List<Articlesummary> list) { this.list = list; } }
/* * 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...
package org.nwapw.abacus.exception; public class AbacusException extends RuntimeException { public AbacusException(String baseMessage, String description){ super(baseMessage + ((description.equals("")) ? "." : (": " + description))); } }
package org.sakaiproject.site.util; /** * Inner class to put certain type of link into UI, that could be enabled or disabled by user actions * @author zqian * */ public class ActionLinkItem { private String id = ""; public String getId() { return id; } public void setId(String id) { this.id = id; } pri...